Skip to content

Commit

Permalink
Retain currentColor
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Nov 15, 2023
1 parent c617986 commit d048099
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"no-descending-specificity": null,
"color-function-notation": null,
"number-max-precision": 5,
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
],
"selector-class-pattern": [
"^[A-Za-z0-9_-]+(__[A-Za-z0-9_-]+)?(--[A-Za-z0-9-]+)?$",
{
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/styles/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ $decorations: underline, overline, line-through, no-underline;
}

.decoration-current {
text-decoration-color: currentcolor;
text-decoration-color: currentColor;
}

.decoration-transparent {
Expand Down Expand Up @@ -448,7 +448,7 @@ $decorations: underline, overline, line-through, no-underline;
}

.text-current {
color: currentcolor;
color: currentColor;
}

@each $name, $hex in $colors {
Expand Down

0 comments on commit d048099

Please sign in to comment.