diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-09-06 18:59:36 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-09-06 18:59:52 +0800 |
| commit | f62ab62e72698c57b4775792a0986f12de950750 (patch) | |
| tree | cf41eb5d701b112f5d1ba0aa1a7ac5b12a9e2b1f /src/index.css | |
| parent | a0df82a3e4b42334793a6c3d7139c9f24ee22e0d (diff) | |
新增全局设置抽屉与亮暗主题切换
- 在基础布局顶栏右侧添加网站设置按钮,桌面使用右侧抽屉,移动端使用全宽抽屉
- 提供亮色、暗色、跟随系统三种外观模式,默认跟随系统并通过 Mantine 自动保存选择
- 设置即时生效,切换系统主题时同步更新页面外观
- 使用查询参数管理抽屉状态,支持浏览器返回关闭和直接访问设置链接
- 使用 CSS Modules 配置触控间距及移动端安全区域
验证:构建、lint 和空白检查通过。
浏览器验证通过:主题切换、本地保存、刷新恢复、跟随系统、返回关闭、移动端宽度、Escape 关闭、焦点恢复与直接设置链接关闭。
Diffstat (limited to 'src/index.css')
0 files changed, 0 insertions, 0 deletions
