Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 598 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 598 Bytes

color-hex-case

Specify lowercase or uppercase for hex colors.

a { color: #fff }
/**        ↑
 * These hex colors */

Options

string: "lower"|"upper"

"lower"

The following patterns are considered warnings:

a { color: #FFF; }

The following patterns are not considered warnings:

a { color: #000; }
a { color: #fff; }

"upper"

The following patterns are considered warnings:

a { color: #fff; }

The following patterns are not considered warnings:

a { color: #000; }
a { color: #FFF; }