We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alpha-values
<number>
Rule config: "scales/alpha-values": [0, 50, 100]
"scales/alpha-values": [0, 50, 100]
Input:
.foo { opacity: 0.5; }
I expected that autofix will not be applied, since it's a numeric value, not percentage
Output:
.foo { opacity: 0; }
The text was updated successfully, but these errors were encountered:
If I enable "alpha-value-notation": "percentage", alpha-values fixer applies first, and I still end up with an invalid value:
"alpha-value-notation": "percentage"
.foo { opacity: 0%; }
Sorry, something went wrong.
@EvgenyOrekhov Thanks for the report. Fixed in 3.1.1.
3.1.1
Successfully merging a pull request may close this issue.
What steps are needed to reproduce the bug?
Rule config:
"scales/alpha-values": [0, 50, 100]
Input:
What did you expect to happen?
I expected that autofix will not be applied, since it's a numeric value, not percentage
What actually happened?
Output:
The text was updated successfully, but these errors were encountered: