Skip to content

Commit

Permalink
Allow the usage of currentColor (#15)
Browse files Browse the repository at this point in the history
alexander-schranz authored Oct 21, 2022
1 parent 2dbda98 commit feabf10
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -71,7 +71,12 @@ module.exports = {
],
"font-weight-notation": "numeric",
"string-quotes": "single",
"value-keyword-case": "lower",
"value-keyword-case": [
"lower",
{
camelCaseSvgKeywords: true,
}
],
"declaration-empty-line-before": "never",
"selector-attribute-quotes": "always",
"selector-class-pattern": "^[a-z][a-z-A-Z_0-9]*$",
3 changes: 3 additions & 0 deletions test/current-color.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
color: currentColor;
}

0 comments on commit feabf10

Please sign in to comment.