1.0.3 • Published 2 years ago

@ceol/varna-tailwind v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CEOL's Varṇa Tailwind

A color scheme library for tailwind to populate colors in extended themes.

A seed value in hsl will be taken as input and the Hue determines the color and lightness determines the tones in the palette.

The saturation helps in generating colors to light and dark modes differently.

Usage

/** @type {import('tailwindcss').Config} */

const colors = require('@ceol/varna')

export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {
      // Just one line of code to be added. HSL values
      colors: colors(205,24,40)
    }
  },
  plugins: [],
}
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.1.0

2 years ago