Introduction
Brand Colors Collection.
Installation
npm install @brandcolors/collection
Usage
Styles
The styles will create all custom properties in CSS root
.
@use "@brandcolors/collection/styles";
Theming
@use "@brandcolors/collection" as brandcolors;
.foo {
color: brandcolors.$twitter-primary;
// color: #1da1f2;
color: brandcolors.$twitter-primary-rgb;
// color: rgb(29, 161, 242);
}