mirror of
https://github.com/stackrender/stackrender.git
synced 2026-09-10 19:25:44 +00:00
66 lines
1.9 KiB
JavaScript
66 lines
1.9 KiB
JavaScript
import { colors, heroui } from "@heroui/theme";
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
|
|
"./node_modules/@heroui/theme/dist/components/(button|code|dropdown|input|kbd|link|navbar|snippet|toggle|popover|ripple|spinner|menu|divider|form|modal|toast).js",
|
|
|
|
],
|
|
darkMode: "class",
|
|
plugins: [heroui({
|
|
themes: {
|
|
dark: {
|
|
colors: {
|
|
primary: {
|
|
DEFAULT: "#9822ff",
|
|
50: '#9822ff0D', // 5% opacity
|
|
100: '#9822ff1A', // 10% opacity
|
|
200: '#9822ff33', // 20% opacity
|
|
300: '#9822ff4D', // 30% opacity
|
|
400: '#9822ff66', // 40% opacity
|
|
500: '#9822ff80', // 50% opacity
|
|
600: '#9822ff99', // 60% opacity
|
|
700: '#9822ffB3', // 70% opacity
|
|
800: '#961FFFCC', // 80% opacity
|
|
900: '#9822ffE6', // 90% opacity
|
|
},
|
|
}
|
|
},
|
|
light: {
|
|
colors: {
|
|
sidebar: {
|
|
DEFAULT: 'hsl(0 0% 98%)',
|
|
foreground: 'hsl(240 5.3% 26.1%)',
|
|
},
|
|
|
|
default: {
|
|
DEFAULT: 'hsl(210 40% 96.1%)',
|
|
foreground: 'hsl(222.2 47.4% 11.2%)'
|
|
},
|
|
|
|
icon: {
|
|
DEFAULT: "hsl(215.4 16.3% 46.9%)"
|
|
},
|
|
|
|
primary: {
|
|
DEFAULT: "#9822ff",
|
|
50: '#9822ff0D', // 5% opacity
|
|
100: '#9822ff1A', // 10% opacity
|
|
200: '#9822ff33', // 20% opacity
|
|
300: '#9822ff4D', // 30% opacity
|
|
400: '#9822ff66', // 40% opacity
|
|
500: '#9822ff80', // 50% opacity
|
|
600: '#9822ff99', // 60% opacity
|
|
700: '#9822ffB3', // 70% opacity
|
|
800: '#961FFFCC', // 80% opacity
|
|
900: '#9822ffE6', // 90% opacity
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}),],
|
|
};
|