feat: 重构前端架构并添加主题支持

删除旧的示例代码和资源文件
添加新的主题样式和全局CSS配置
更新Tauri窗口配置和权限
引入SolidJS路由并优化入口文件
This commit is contained in:
Vixalie
2025-07-21 22:50:20 +08:00
parent 5f59735e94
commit 3dde386be8
12 changed files with 315 additions and 184 deletions

View File

@@ -1,5 +1,9 @@
/* @refresh reload */
import { render } from "solid-js/web";
import App from "./App";
// Load global styles first.
import './index.css';
render(() => <App />, document.getElementById("root") as HTMLElement);
// Load components.
import { Router } from '@solidjs/router';
import { render } from 'solid-js/web';
render(() => <Router />, document.getElementById('root') as HTMLElement);