0.0.0 • Published 11 months ago

@agiflowai/frontend-web-theme v0.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@agiflowai/frontend-web-theme Package

This package includes AGIFlow's tailwind and storybook theming configuration.

Features

  • Tailwind configuration based on AGIFlow brand guide
  • Storybook theming

Installation

Install the package using npm or yarn:

npm install @agiflowai/frontend-web-theme

Usage

tailwind.config.js

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require('@agiflowai/frontend-web-theme/tailwind').preset],
  content: ['./src/**/*.{js,ts,jsx,tsx}'],
};

NOTE: the configuration support shadecn/ui theming.

.storybook/theme.ts

import { create } from '@storybook/theming';

import { storybookTheme } from '@agiflowai/frontend-web-theme';

export default create(storybookTheme);

License

This package is licensed under the MIT License - see the LICENSE file for details.