style: 移除未使用的 CSS 变量并添加 workspace 样式

移除 theme.css 中未使用的 --text-* 变量
在 index.css 中添加 workspace 组件的样式定义
This commit is contained in:
Vixalie
2025-07-22 14:45:43 +08:00
parent 1a599f9c7c
commit 5ea982b9e9
2 changed files with 6 additions and 1 deletions

View File

@@ -14,3 +14,9 @@
@apply size-full overflow-hidden; @apply size-full overflow-hidden;
} }
} }
@layer components {
.workspace {
@apply size-full overflow-hidden flex items-stretch gap-2 rounded-sm;
}
}

View File

@@ -182,7 +182,6 @@
--font-serif: 'Noto Serif CJK', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif; --font-serif: 'Noto Serif CJK', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
--base-font-size: 16px; --base-font-size: 16px;
--text-*: initial;
--text-display-lg: 3.5625rem; --text-display-lg: 3.5625rem;
--text-display-lg--line-height: 4rem; --text-display-lg--line-height: 4rem;
--text-display-lg--font-weight: 400; --text-display-lg--font-weight: 400;