UNPKG

stylelint

Version:
50 lines (33 loc) 598 B
# color-hex-case Specify lowercase or uppercase for hex colors. ```css a { color: #fff } /** ↑ * These hex colors */ ``` ## Options `string`: `"lower"|"upper"` ### `"lower"` The following patterns are considered warnings: ```css a { color: #FFF; } ``` The following patterns are *not* considered warnings: ```css a { color: #000; } ``` ```css a { color: #fff; } ``` ### `"upper"` The following patterns are considered warnings: ```css a { color: #fff; } ``` The following patterns are *not* considered warnings: ```css a { color: #000; } ``` ```css a { color: #FFF; } ```