You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have two conflicting stylelint rules that prevent usage of currentcolor/currentColor:
Example 1
color: currentColor;
Results in this error: Expected "currentColor" to be "currentcolor" (value-keyword-case)
Example 2
color: currentcolor;
Error: Expected variable, function or keyword for "currentcolor" of "color" (scale-unlimited/declaration-strict-value)
This is because scale-unlimited/declaration-strict-value only allows currentColor, see here.
To fix this, we should change currentColor to currentcolor in the stylelint-config:
Describe the bug
We currently have two conflicting stylelint rules that prevent usage of
currentcolor
/currentColor
:Example 1
Results in this error:
Expected "currentColor" to be "currentcolor" (value-keyword-case)
Example 2
Error:
Expected variable, function or keyword for "currentcolor" of "color" (scale-unlimited/declaration-strict-value)
This is because
scale-unlimited/declaration-strict-value
only allowscurrentColor
, see here.To fix this, we should change
currentColor
tocurrentcolor
in the stylelint-config:10up-toolkit/packages/stylelint-config/index.js
Line 7 in aa19110
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: