From f9b7ff7d0e161d928464c3e4912ebd9352681fe2 Mon Sep 17 00:00:00 2001 From: MyPrototypeWhat Date: Mon, 3 Nov 2025 11:30:58 +0800 Subject: [PATCH] refactor: comment out unused CSS imports and styles - Commented out the import of color.css in index.css. - Commented out the universal selector in tailwind.css to prevent unintended styling, with a note for future removal after migration. --- src/renderer/src/assets/styles/index.css | 2 +- src/renderer/src/assets/styles/tailwind.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/assets/styles/index.css b/src/renderer/src/assets/styles/index.css index 321fa5fc5e..ee3d267db6 100644 --- a/src/renderer/src/assets/styles/index.css +++ b/src/renderer/src/assets/styles/index.css @@ -1,4 +1,4 @@ -@import './color.css'; +/* @import './color.css'; */ @import './font.css'; @import './markdown.css'; @import './scrollbar.css'; diff --git a/src/renderer/src/assets/styles/tailwind.css b/src/renderer/src/assets/styles/tailwind.css index 4f978bbb81..38b23bddef 100644 --- a/src/renderer/src/assets/styles/tailwind.css +++ b/src/renderer/src/assets/styles/tailwind.css @@ -60,13 +60,13 @@ } @layer base { - * { + /* * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; - } - + } */ + /* TODO: 迁移完成后删除 */ /* To disable drag title bar on toast. tailwind css doesn't provide such class name. */ .hero-toast { -webkit-app-region: no-drag;