0.6.2 • Published 1 year ago

@singlestone/tailwind-helpers-sugar v0.6.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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";