From aaef2272f17b5f907bb6e4dfeddbeb9173a04b40 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Sun, 23 Nov 2025 00:24:05 +0800 Subject: [PATCH] update pay function --- package.json | 1 - src/styles/heroui.css | 28 +++------------------------- 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 5b577e65..6a33b14d 100755 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "@fullcalendar/react": "^6.1.19", "@heroui/react": "^3.0.0-beta.2", "@heroui/styles": "^3.0.0-beta.2", - "@heroui/theme": "^3.0.0-beta.2", "@reduxjs/toolkit": "^2.9.2", "@splidejs/react-splide": "^0.7.12", "@tanstack/react-virtual": "^3.13.12", diff --git a/src/styles/heroui.css b/src/styles/heroui.css index db59e8b4..7fc60ad7 100644 --- a/src/styles/heroui.css +++ b/src/styles/heroui.css @@ -1,32 +1,10 @@ /** * HeroUI v3 + Tailwind CSS v4 配置 - * 参考文档: https://v3.heroui.com/llms-full.txt + * 参考文档: https://v3.heroui.com/docs/quick-start * - * 重要:导入顺序很重要!必须先导入 tailwindcss,再导入 @heroui/styles + * 重要提示:导入顺序很重要!必须先导入 tailwindcss,再导入 @heroui/styles + * Import order matters. Always import `tailwindcss` first. */ -/* 1. 导入 Tailwind CSS v4 */ @import "tailwindcss"; - -/** - * 2. 配置内容扫描路径 - * @source 指令告诉 Tailwind v4 扫描 HeroUI 组件库中的类名 - * 路径相对于此 CSS 文件(src/styles/heroui.css) - */ -@source "../../node_modules/@heroui/theme/dist"; - -/** - * 3. 配置深色模式变体 - * 支持 HeroUI 的 .dark 类名深色模式 - */ -@custom-variant dark (&:is(.dark *)); - -/* 4. 导入 HeroUI v3 样式 */ @import "@heroui/styles"; - -/** - * 自定义样式 - */ -.dark { - color-scheme: dark; -}