mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 13:36:36 +00:00
chore: update css rules, add hct plugin
This commit is contained in:
@@ -21,12 +21,12 @@ export default {
|
||||
// leading "--", so the regex must NOT start with --.
|
||||
// Regex: either an exact brand token or a prefixed token:
|
||||
// ^(brand-main|brand-alt)$ — brand exceptions
|
||||
// |^(color|space|text|radius|bp|font)- — prefixed
|
||||
// |^(color|space|size|text|radius|bp|font)- — prefixed
|
||||
"custom-property-pattern": [
|
||||
"^(brand-main|brand-alt)$|^(color|space|text|radius|bp|font)-",
|
||||
"^(brand-main|brand-alt)$|^(color|space|size|text|radius|bp|font)-",
|
||||
{
|
||||
message:
|
||||
'"%s" must be prefixed: --color-*, --space-*, --text-*, --radius-*, --bp-*, --font-*; brand: only --brand-main/--brand-alt',
|
||||
'"%s" must be prefixed: --color-*, --space-*, --size-*, --text-*, --radius-*, --bp-*, --font-*; brand: only --brand-main/--brand-alt',
|
||||
},
|
||||
],
|
||||
// Rule: !important is banned in CSS files. Overriding a look must happen
|
||||
|
||||
Reference in New Issue
Block a user