Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 756 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 756 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.

Background Color Utility

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

Installation

npm install --save iotacss-utils-bgcolor

Options

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

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

Example

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

It will generate:

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

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