@intility/tailwind-plugin-bifrost
v1.2.1
Published
A [Tailwindcss](https://tailwindcss.com/) that adds [Intility Bifrost's](https://bifrost.intility.no/) colors, spacing and box shadows.
Downloads
69
Keywords
Readme
Bifrost Tailwindcss plugin
A Tailwindcss that adds Intility Bifrost's colors, spacing and box shadows.
Installation
# yarn
yarn add @intility/tailwind-plugin-bifrost
# npm
npm install @intility/tailwind-plugin-bifrost
Configuration & Usage
// tailwind.config.js
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [require("@intility/tailwind-plugin-bifrost")],
}
// MyComponent.tsx
export default function MyComponent() {
return <div className="text-bfc-theme">Hello Bifrost!</div>
}