Skip to content

inturn/inturn-color-no-hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inturn-color-no-hex

Forked from stylelint no-color-hex

Disallow hex colors.

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

Options

true

The following patterns are considered violations:

a { color: #000; }
a { color: #fff1aa; }
a { color: #123456aa; }

Hex values that are not valid also cause violations:

a { color: #foobar; }
a { color: #0000000000000000; }

The following patterns are not considered violations:

a { color: black; }
a { color: rgb(0, 0, 0); }
a { color: rgba(0, 0, 0, 1); }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published