diff --git a/postcss.config.js b/postcss.config.js index 07d5d790..ebc8d671 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,7 @@ +// 最小化 PostCSS 配置 +// Tailwind 由 Hero UI 内部处理,我们只需要 autoprefixer module.exports = { plugins: [ - require('tailwindcss'), require('autoprefixer'), ], } diff --git a/src/styles/brainwave.css b/src/styles/brainwave.css index 90123d28..e1655ef1 100644 --- a/src/styles/brainwave.css +++ b/src/styles/brainwave.css @@ -1,32 +1,5 @@ -@import "tailwindcss"; - -/* Hero UI 源码扫描(Tailwind v4 语法) */ -@source "../node_modules/@heroui/theme"; -@source "../node_modules/@heroui/react"; - -/* 自定义主题配置(Tailwind v4 语法) */ -@theme { - /* Brainwave 中性色系 */ - --color-n-1: #FFFFFF; - --color-n-2: #CAC6DD; - --color-n-3: #ADA8C3; - --color-n-4: #757185; - --color-n-5: #3F3A52; - --color-n-6: #252134; - --color-n-7: #15131D; - --color-n-8: #0E0C15; - - /* Brainwave 主题色 */ - --color-1: #AC6AFF; - --color-2: #FFC876; - --color-3: #FF776F; - --color-4: #7ADB78; - --color-5: #858DFF; - --color-6: #FF98E2; - - /* 描边色 */ - --color-stroke-1: #26242C; -} +/* Brainwave 样式文件 */ +/* Tailwind 由 Hero UI 内部处理,这里只保留自定义样式 */ body { }