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

+3 -3
View File
@@ -80,7 +80,7 @@
--ig-primary-icon: #rgbify(@text) [];
--web-always-white: #rgbify(@light-color) [];
--always-white: #rgbify(@light-color) [];
--overlay-alpha-80: fadeout(@dark-color, 50);
--overlay-alpha-80: fadeout(@dark-color, 50%);
--grey-9: #rgbify(@crust) [];
--ig-primary-background: #rgbify(@base) [];
--ig-secondary-background: #rgbify(@surface0) [];
@@ -89,11 +89,11 @@
--ig-elevated-background: #rgbify(@crust) [];
--ig-elevated-highlight-background: #rgbify(@surface0) [];
--ig-hover-overlay: #rgbify(@text) [], 0.1;
--hover-overlay: fadeout(@surface0, 80);
--hover-overlay: fadeout(@surface0, 80%);
--ig-text-on-color: #rgbify(@crust) [];
--ig-badge: #rgbify(@accent-color) [];
--ig-primary-button: #rgbify(@accent-color) [];
--ig-primary-button-hover: fadeout(@accent-color, 20);
--ig-primary-button-hover: fadeout(@accent-color, 20%);
--ig-secondary-button-background: #rgbify(@surface0) [];
--ig-secondary-button-hover: #rgbify(@surface1) [];
--ig-secondary-button: #rgbify(@text) [];