chore: update css lint rules, remove unused files

This commit is contained in:
2026-09-08 06:20:25 +05:00
parent 6f1771cb07
commit 5a4fbe7ac6
22 changed files with 89 additions and 909 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ export default {
// ^(brand-main|brand-alt)$ — brand exceptions
// |^(color|space|size|text|radius|bp|font)- — prefixed
"custom-property-pattern": [
"^(brand-main|brand-alt)$|^(color|space|size|text|radius|bp|font)-",
"^(brand-main|brand-alt)$|^(color|space|size|text|radius|bp|font|duration|ease|z)-",
{
message:
'"%s" must be prefixed: --color-*, --space-*, --size-*, --text-*, --radius-*, --bp-*, --font-*; brand: only --brand-main/--brand-alt',
'"%s" must be prefixed: --color-*, --space-*, --size-*, --text-*, --radius-*, --bp-*, --font-*, --duration-*, --ease-*, --z-*; brand: only --brand-main/--brand-alt',
},
],
// Rule: !important is banned in CSS files. Overriding a look must happen