Licence
MIT
Version
0.6.2
Deps
1
Size
75 kB
Vulns
0
Weekly
0
tailwind-helpers-sugar
Helper functions for use in Sugar, SingleStone's sweet design system
Installation
Inside the Sugar monorepo, install it with a dev dependency like so:
{
"devDependencies": {
"@singlestone/tailwind-helpers-sugar": "workspace:^"
}
}
Outside the monorepo, install it with an actual version instead of workspace:^.
Usage
import {
hslWithOpacity,
rgbWithOpacity,
} from "@singlestone/tailwind-preset-sugar";