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 incorrectly parses #RRGGBBAA codes #360

Closed
michaelkolber opened this issue Jun 18, 2018 · 1 comment
Closed

Sass incorrectly parses #RRGGBBAA codes #360

michaelkolber opened this issue Jun 18, 2018 · 1 comment

Comments

@michaelkolber
Copy link

When writing something such as

box-shadow: #0000006e 0 3px 5px 0px;

Sass outputs

box-shadow: #000000 6e 0 3px 5px 0px;

which breaks the property.

nex3 added a commit that referenced this issue Jun 20, 2018
Also support unambiguous hex alpha colors.

Closes #360
See sass/sass#2179
@nex3
Copy link
Contributor

nex3 commented Jun 21, 2018

Well this is definitely incorrect--in no world should the token #0000006e be parsed as a color followed by an identifier. This also reminds me that Dart Sass should be emitting deprecation warnings for hex colors that are ambiguous with IDs, a la sass/sass#2179, so that we can eventually support parsing them as colors.

nex3 added a commit that referenced this issue Jun 22, 2018
Also support unambiguous hex alpha colors.

Closes #360
See sass/sass#2179
@nex3 nex3 closed this as completed in #367 Jun 22, 2018
nex3 added a commit that referenced this issue Jun 22, 2018
Also support unambiguous hex alpha colors.

Closes #360
See sass/sass#2179
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

No branches or pull requests

2 participants