0.2.0 • Published 4 months ago

tailwind-cssgg v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

npm GitHub

Use css.gg icons in tailwindcss

usage

Add tailwind-csgg plugin in tailwindcss.config.js plugins fields

const { cssgg } = require('tailwind-cssgg')

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./src/**/*.{js,ts,jsx,tsx}'],
  plugins: [cssgg],
}

Then you can use the icons in your HTML:

<!-- pattern: gg-[iconname] -->
<i className="gg-vercel" />

<!-- pattern: gg-[iconname]/scale, will apply transform: scale(0.5) -->
<i className="gg-vercel/0.5" />

install

pnpm i tailwind-cssgg css.gg

development

  • Setup - pnpm i
  • Build - pnpm build

built with ❤️ by 😼

0.2.0

4 months ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago