carbon-fiber
TypeScript icon, indicating that this package has built-in type declarations

0.0.31 • Public • Published

Carbon Fiber

Carbon Fiber

pnpm

Component library inspired by IBM Carbon Design System

Quick start

Install it:

npm i carbon-fiber
# or
yarn add carbon-fiber
# or
pnpm add carbon-fiber

Tailwind Setup

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'

Readme

Keywords

Package Sidebar

Install

npm i carbon-fiber

Weekly Downloads

0

Version

0.0.31

License

MIT

Unpacked Size

142 kB

Total Files

8

Last publish

Collaborators

  • emirsassan