Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 749 Bytes

File metadata and controls

34 lines (23 loc) · 749 Bytes

Tailwind theme for Prodeko

This tailwind plugin provides Prodeko brand colors and fonts.

Installation

Install from Prodeko github package registry.

Usage

Add the plugin to your tailwind.config.js. Notice that you have to invoke the plugin factory.

//tailwind.config.js

const prodeko_tailwind = require('@prodeko/tailwind-theme')

export default {
  plugins: [
    prodeko_tailwind(),
  ],
}

Usage with shadcn

The plugin defines a shadcn theme. To use the theme, simply install shadcn and put the following in your globals.css. No need to add separate theme variables.

# globals.css
@import "tailwindcss";
@import "tw-animate-css";
@plugin "@prodeko/tailwind-theme"