Skip to content

Commit

Permalink
Move to float in oklch() since calc() in relative colors has problem …
Browse files Browse the repository at this point in the history
…with %
  • Loading branch information
ai committed Jul 20, 2024
1 parent 9fd702c commit 2cb84f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
'alpha-value-notation': 'number',
'function-url-quotes': null,
'hue-degree-notation': 'number',
'lightness-notation': 'number',
'at-rule-no-unknown': [
true,
{
Expand Down
2 changes: 1 addition & 1 deletion test/example.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.block_element.is-mod {
display: block;
background: oklch(0% 0 0);
background: oklch(0 0 0);
animation: --rotating 1s linear infinite;
}

Expand Down

0 comments on commit 2cb84f8

Please sign in to comment.