feat(treewide): add require-color-op-func-percentage stylelint rule (#1461)

This commit is contained in:
uncenter authored and GitHub committed 2024-11-20 17:16:22 -05:00
1 parent 2c7e8029bd
commit a5935c6d09
19 files changed
+415 -326

No files matched your search

+8 -8
View File
@@ -86,11 +86,11 @@
}
.panel-error {
background-color: fadeout(@red, 0.2);
background-color: fadeout(@red, 20%);
}
.highlight {
background-color: fadeout(@yellow, 0.2);
background-color: fadeout(@yellow, 20%);
}
.gloss {
@@ -165,16 +165,16 @@
.reading-table tr:nth-of-type(2n) {
& when (@lookup ="latte") {
background: fadeout(@surface0, 0.5);
background: fadeout(@surface0, 50%);
}
background: fadeout(@surface1, 0.5);
background: fadeout(@surface1, 50%);
}
table.kanji-match tr:nth-of-type(2n) {
& when (@lookup ="latte") {
background: fadeout(@surface0, 0.5);
background: fadeout(@surface0, 50%);
}
background: fadeout(@surface1, 0.5);
background: fadeout(@surface1, 50%);
}
.kanji-big a {
@@ -345,9 +345,9 @@
table tr.alt,
table tr:nth-of-type(2n) {
& when (@lookup ="latte") {
background: fadeout(@surface0, 0.5);
background: fadeout(@surface0, 50%);
}
background: fadeout(@surface1, 0.5);
background: fadeout(@surface1, 50%);
}
.reading-table tr ~ tr > td {