From 2c07ea0dd8392b4a80ed04df7f5d87268a29a42b Mon Sep 17 00:00:00 2001 From: MyPrototypeWhat Date: Fri, 31 Oct 2025 16:25:11 +0800 Subject: [PATCH] chore: update Tailwind CSS imports and adjust source paths - Replaced the import of `theme.css` with `tailwindcss` for improved styling management. - Adjusted the source path to include components specifically, enhancing clarity in file structure. - Retained the import of `tw-animate-css` for animation support. --- src/renderer/src/assets/styles/tailwind.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/assets/styles/tailwind.css b/src/renderer/src/assets/styles/tailwind.css index 2b90f9d0fb..4f978bbb81 100644 --- a/src/renderer/src/assets/styles/tailwind.css +++ b/src/renderer/src/assets/styles/tailwind.css @@ -1,10 +1,12 @@ -@import '../../../../../packages/ui/src/styles/theme.css'; +@import 'tailwindcss'; @import 'tw-animate-css'; +@import '../../../../../packages/ui/src/styles/theme.css'; + /* TODO heroui 迁移完成后即可删除 */ /* heroui */ /* @plugin '../../hero.ts'; */ -/* @source '../../../../../packages/ui/src*.{js,ts,jsx,tsx}'; */ +@source '../../../../../packages/ui/src/components/**/*.{js,ts,jsx,tsx}'; @custom-variant dark (&:is(.dark *));