Skip to content

Commit 8721f43

Browse files
committed
fix(stylelint): disable hue-degree-notation rule and update OKLCH color syntax
1 parent d805b9d commit 8721f43

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/dialtone-documentation/docs/.vuepress/theme/assets/less/dialtone-docs.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ code {
601601

602602
&:hover,
603603
.dialtone-icon-card[data-selected='yes'] & {
604-
background-color: oklch(0.934 0 0deg / 0.4);
604+
background-color: oklch(0.934 0 0 / 0.4);
605605
}
606606

607607
.dialtone-icon-card__name {

stylelint.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
'no-descending-specificity': null, // turn off for now, descending cases could be fixed on the last refactoring
4040
'function-calc-no-unspaced-operator': null, // otherwise it will be an error during build
4141
'alpha-value-notation': 'number',
42+
'hue-degree-notation': null,
4243

4344
// override stylelint-config-standard rules
4445
'color-function-notation': null,

0 commit comments

Comments
 (0)