refactor: 优化主题样式和全局样式引入

This commit is contained in:
Hooray
2025-06-12 02:08:40 +08:00
parent 7ee93b0ccb
commit 094ee89c6c
3 changed files with 74 additions and 66 deletions
-4
View File
@@ -53,7 +53,6 @@
* {
scrollbar-color: hsl(var(--border)) transparent;
scrollbar-width: thin;
border-color: hsl(var(--border));
}
html,
@@ -64,9 +63,6 @@ body {
body {
box-sizing: border-box;
margin: 0;
font-family: var(--font-family);
color: hsl(var(--foreground));
background: hsl(var(--background));
-webkit-tap-highlight-color: transparent;
}
+2 -1
View File
@@ -13,8 +13,9 @@ import '@/utils/systemCopyright'
// 加载 svg 图标
import 'virtual:svg-icons-register'
import 'virtual:uno.css'
// UnoCSS
import '@unocss/reset/tailwind-compat.css'
import 'virtual:uno.css'
// 全局样式
import '@/assets/styles/globals.css'