Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
__tests__
README.md
index.js

README.md

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; }