Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 687 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 687 Bytes

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