1. Install the package
npm install @technologyadvice/components
2. Setup Tailwind
Tailwind v3
Add the following to your tailwind.config.mjs
import colors from "@technologyadvice/components/tailwind/colors.v3.json"
export default {
theme: {
extend: {
colors,
},
},
}
Import the stylesheet in your primary layout
import "@technologyadvice/components/tailwind/variables.v3.css"
Tailwind v4
Import the stylesheet in your primary layout
import "@technologyadvice/components/tailwind/variables.v4.css"