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

Sass !default flags are not recognized #246

Closed
ryon opened this issue Apr 26, 2014 · 3 comments
Closed

Sass !default flags are not recognized #246

ryon opened this issue Apr 26, 2014 · 3 comments

Comments

@ryon
Copy link

ryon commented Apr 26, 2014

At least I don't think so. They're getting a .token.statement class, which seems generic to me. !default has a special meaning in Sass, and is used like !important, as documented here.

/cc @themightychris

@LeaVerou
Copy link
Member

Good point, thanks! What kind of token do you think they should be?

@ryon
Copy link
Author

ryon commented Apr 27, 2014

Maybe flag? That is accurate for both !optional and !default, and doesn't sound as generic as statement.

@Golmote
Copy link
Contributor

Golmote commented Jul 5, 2016

I closed this issue by adding a alias. I know there is still a naming problem... but it's not specific to SCSS. Prism has a general naming problem that would need to be fixed at some point.
For now, those flags are highlighted as keywords. And indeed, they are keywords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants