@lendi-ui/color
The information for color
remains here for reference but is now deprecated
For ALL cases the themed colour function getColour
in @lendi-ui/commons/colours
must be used
Color style with bg
(background color), fg
(font color) and color
(every CSS property relate to color).
Installation
yarn add @lendi-ui/color
Usage
color
for styling every CSS porperty relate to color.
import { color } from '@lendi-ui/color';
const Circle = styled.div`
width: 0;
border-radius: 1em;
border: 1em solid ${color('primary.500')};
`;