feat: 重构前端架构并添加主题支持
删除旧的示例代码和资源文件 添加新的主题样式和全局CSS配置 更新Tauri窗口配置和权限 引入SolidJS路由并优化入口文件
This commit is contained in:
16
src/index.css
Normal file
16
src/index.css
Normal file
@@ -0,0 +1,16 @@
|
||||
@import 'tailwindcss';
|
||||
@import './theme.css';
|
||||
|
||||
@layer base {
|
||||
html,
|
||||
body {
|
||||
@apply scheme-dark size-full bg-surface text-on-surface select-none overflow-hidden;
|
||||
&[data-scheme='dark'] {
|
||||
@apply scheme-dark;
|
||||
}
|
||||
}
|
||||
|
||||
#root {
|
||||
@apply size-full overflow-hidden;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user