Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CSS Syntax highlight (support for SCSS) #5

Merged
merged 19 commits into from
Oct 14, 2023
Merged

Conversation

eenaree
Copy link
Owner

@eenaree eenaree commented Oct 14, 2023

Changed

SCSS Syntax highlight

  • comment (Dark theme)
  • mixin at-rule and mixin's name
  • interpolation
  • placeholder selector
  • suffix for parent selector
  • In for, each, media at rules, keyword.control.operator ex) each - in / for - from, to / media - only, and, etc...
  • key of map
  • variables

Common Syntax highlight

  • In Light theme, supported property value
  • language code of pseudo class lang ex) en, fr, de
  • constant keyword of pseudo class starting with :nth ex) even, odd
  • attribute name of attribute selector
  • unquoted attribute name of attribute selector
  • parameter value of css value functions
  • css @keyframes identifier
  • make vendor prefix property name the same as normal property name
  • differentiate color when defining css custom property and when using them (only In CSS)
  • If VSCode editor's textmate is invalid, make token red color

@eenaree eenaree changed the title Improve CSS token color (support for SCSS) Improve CSS Syntax highlight (support for SCSS) Oct 14, 2023
@eenaree eenaree added the enhancement New feature or request label Oct 14, 2023
@eenaree eenaree merged commit 145d036 into main Oct 14, 2023
@eenaree eenaree deleted the dev/css_token branch October 14, 2023 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant