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
@@ -369,16 +369,16 @@
}
.FormativeCardScore__PercentageSpan-sc-p5mc30-1 {
&[style*="rgba(32, 213, 171, 0.2)"] {
background: fade(@green, 50) !important;
background: fade(@green, 50%) !important;
}
&[style*="rgba(255, 222, 51, 0.2)"] {
background: fade(@yellow, 50) !important;
background: fade(@yellow, 50%) !important;
}
&[style*="rgba(0, 165, 251, 0.2)"] {
background: fade(@blue, 50) !important;
background: fade(@blue, 50%) !important;
}
&[style*="rgba(255, 76, 77, 0.2)"] {
background: fade(@red, 50) !important;
background: fade(@red, 50%) !important;
}
}
@@ -483,7 +483,7 @@
}
}
.Modal__Overlay-sc-1uf7odj-0 {
background: fade(@crust, 80);
background: fade(@crust, 80%);
}
.Modal__Content-sc-1uf7odj-1 {
background: @base;
@@ -519,7 +519,7 @@
}
}
.ReactModal__Overlay {
background: fade(@crust, 80);
background: fade(@crust, 80%);
.ReactModal__ActualContent {
background: @base !important;
.ModalBody-sc-1lg094f-0 > * {
@@ -1064,7 +1064,7 @@
}
math-field {
--caret-color: @accent-color;
--selection-background-color: fade(@accent-color, 50);
--selection-background-color: fade(@accent-color, 50%);
--selection-color: @text;
--correct-color: @text;
--incorrect-color: @red;
@@ -1495,7 +1495,7 @@
.MatchingSessionSummary__SessionDiv-sc-d3unim-13 {
border-color: @overlay0;
&.highlight {
background: fade(@yellow, 25);
background: fade(@yellow, 25%);
}
}
}