Component library inspired by IBM Carbon Design System
Install it:
npm i carbon-fiber
# or
yarn add carbon-fiber
# or
pnpm add carbon-fiber
To use the Carbon Fiber color palette in your project, add the plugin to your tailwind.config.js
:
module.exports = {
content: [
// Rest of your content
// ...
"./node_modules/carbon-fiber/dist/**/*.{js,ts,jsx,tsx}"
],
theme: {
extend: {
colors: {
"background": "#111111",
"text": "#eeeeee",
"primary": "#0e0e0e",
"secondary": "#191919"
}
}
}
}
Use it:
import { Button } from 'carbon-fiber'