|
|
519c0ae3a9
|
feat(admin): 后台迁移至 paper-* 主题变量对齐前台
将 /admin 路由下硬编码的 Tailwind gray + hex 配色统一迁移到
input.css 定义的 paper-* 主题变量系统,使后台视觉完全对齐前台:
- 底色:bg-white → bg-paper-theme(米白,与前台一致)
- 卡片/表格:bg-white dark:bg-[#2e2e33] → bg-paper-entry
- 主操作按钮(写文章/保存/分页):bg-gray-900 黑 → bg-paper-accent 鼠尾草绿
- 文字/边框/hover:gray-* + dark:hex → text-paper-*/border-paper-*
- 清理 trash 页散落的 #5c7a5e/#7da97f/#e8f0e8 等 hex,路由到变量
- 骨架占位统一复用 ADMIN_* 常量与 SkeletonBox
保留 green/amber/red 状态语义色(通过/待审/删除)与 toggle 白色滑块。
统一采用 bg-paper-* 工具类语法,与 header/post_card 主流写法一致。
dx check + clippy + 402 tests 全通过。
|
2026-06-25 14:33:48 +08:00 |
|
|
|
c43da3676f
|
docs(components): 补充中文注释
|
2026-06-12 19:42:42 +08:00 |
|
|
|
294d60afab
|
style: format rust code
CI / build (push) Has been cancelled
CI / check (push) Has been cancelled
|
2026-06-12 17:14:31 +08:00 |
|
|
|
1830fc9f2e
|
cleanup: remove dead code, debug prints, and unused dead_code allow attributes
|
2026-06-04 16:20:43 +08:00 |
|
|
|
4fbc938422
|
refactor: migrate tags_skeleton and admin_skeleton to SkeletonBox
|
2026-06-04 15:47:21 +08:00 |
|
|
|
9c834ba1df
|
添加骨架屏组件,优化 admin 路由切换和编辑器初始化体验
- AdminLayout 使用骨架屏替代简单"加载中"文字,保持布局结构一致避免闪烁
- WritePage 添加编辑器初始化骨架屏和就绪状态轮询
- 新增 admin_skeleton.rs 和 write_skeleton.rs 组件
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-27 09:25:26 +08:00 |
|