From 5ea982b9e92ec3657f46202f309534831319e0d0 Mon Sep 17 00:00:00 2001 From: Vixalie Date: Tue, 22 Jul 2025 14:45:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20CSS=20=E5=8F=98=E9=87=8F=E5=B9=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20workspace=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除 theme.css 中未使用的 --text-* 变量 在 index.css 中添加 workspace 组件的样式定义 --- src/index.css | 6 ++++++ src/theme.css | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 1d0b498..751c63c 100644 --- a/src/index.css +++ b/src/index.css @@ -14,3 +14,9 @@ @apply size-full overflow-hidden; } } + +@layer components { + .workspace { + @apply size-full overflow-hidden flex items-stretch gap-2 rounded-sm; + } +} diff --git a/src/theme.css b/src/theme.css index 5726533..b8530ce 100644 --- a/src/theme.css +++ b/src/theme.css @@ -182,7 +182,6 @@ --font-serif: 'Noto Serif CJK', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif; --base-font-size: 16px; - --text-*: initial; --text-display-lg: 3.5625rem; --text-display-lg--line-height: 4rem; --text-display-lg--font-weight: 400;