Introduction
LinkedIn Brand Colors.
Installation
npm install @brandcolors/linkedin
Usage
Styles
The styles will create custom properties in :root {...}
. If you want this custom properties anywhere else, use the
public mixin custom-properties
.
@use "@brandcolors/linkedin/styles";
Theming
@use "@brandcolors/linkedin";
.foo {
color: linkedin.$primary;
color: linkedin.$primary-rgb;
}
API
Variables
Variable | Value |
---|
$primary | Return #... . |
$primary-rgb | Return rgb(...) . |
Mixins
Mixin | Description |
---|
custom-properties | Create custom property for each variables register. Ex. --bc-linkedin-primary: #1da1f2 |