Skip to content

Conversation

@CsCherrYY
Copy link
Contributor

fix #872

The current imports on ttf files will cause some errors.

SassError: Can't find stylesheet to import

The root cause might be the import statement from sass supports only css files, see https://sass-lang.com/documentation/at-rules/import#plain-css-imports. The ttf imports are likely redundant, and removing them brings no change to the existing pages.

@Eskibear
Copy link
Member

Eskibear commented Jan 7, 2022

It makes sense because .ttf is already referenced by .css file. Please double check if codicon icons are correctly rendered (e.g. pencil/edit icon in Configure Java Runtime Page) before get it merged.

Copy link
Member

@Eskibear Eskibear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@CsCherrYY
Copy link
Contributor Author

image

looks like it works as expect.

@Eskibear Eskibear merged commit 78fcf33 into main Jan 9, 2022
@Eskibear Eskibear deleted the cs-sass branch January 9, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

migrate node-sass to dart-sass

3 participants