Skip to content

The color utility contains helper classes for the color CSS property.

License

Notifications You must be signed in to change notification settings

iotacss/utilities.color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iotaCSS is now a monorepo and all individual repositories are part of it. Please open issues or PRs here: https://github.com/iotacss/iotacss.

Color Utility

The color utility contains helper classes for the color CSS property.

Installation

npm install --save iotacss-utils-color

Options

$iota-utils-color-namespace : 'color-' !default;

$iota-utils-color-names     : () !default;

Example

$iota-color-names: (
  white: #FFFFFF,
  black: #000000
);

It will generate:

.u-color-white {
  color: #FFFFFF !important;
}

.u-color-black {
  color: #000000 !important;
}

About

The color utility contains helper classes for the color CSS property.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages