@windplug/theme-system
TypeScript icon, indicating that this package has built-in type declarations

1.1.21 • Public • Published

@windplug/theme-system

An headless Tailwind Theme System strongly based on CSS Custom Properties.

Variables

Colors

Base colors have scale variations:

I.e., for primary: primary: { DEFAULT: dynamicHsl('--wpt-primary'), 100: dynamicHsl('--wpt-primary', 25), 200: dynamicHsl('--wpt-primary', 20), 300: dynamicHsl('--wpt-primary', 15), 400: dynamicHsl('--wpt-primary', 5), 500: dynamicHsl('--wpt-primary'), 600: dynamicHsl('--wpt-primary', -5), 700: dynamicHsl('--wpt-primary', -10), 800: dynamicHsl('--wpt-primary', -15), 900: dynamicHsl('--wpt-primary', -20) },

Colors with hover/focus/content pairs:

'primary', 'secondary', 'accent', 'neutral', 'disabled',

'info', 'success', 'warning', 'danger',

Colors with only content pairs:

'body', 'card', 'code'

Dependents (0)

Package Sidebar

Install

npm i @windplug/theme-system

Weekly Downloads

1

Version

1.1.21

License

none

Unpacked Size

151 kB

Total Files

15

Last publish

Collaborators

  • damianof