fix: 修复3个问题

1. 对比度: --text-muted 从 #94a3b8 改为 #c8d6e5 (文字更亮)
2. 登录: auth.py 从 .env 文件读取密码,解决后台进程环境变量丢失
3. 实例创建: 同步 instances.py 的 db import (之前缺 import db)
This commit is contained in:
Your Name
2026-07-16 18:35:03 +08:00
parent cea6c54e78
commit c8230f0d16
4 changed files with 22 additions and 6 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
/* ── 全局 ─────────────────────────────────────────────────────── */
:root {
--bg-primary:#0b0e14; --bg-secondary:#161922; --bg-tertiary:#1e2235;
--border:#1f2335; --text:#e2e8f0; --text-muted:#94a3b8;
--border:#1f2335; --text:#e2e8f0; --text-muted:#c8d6e5;
--accent:#818cf8; --accent-hover:#6366f1;
--green:#10b981; --red:#ef4444; --yellow:#f59e0b; --gray:#6b7280;
--card-bg:#161922; --input-bg:#0b0e14;
@@ -19,7 +19,7 @@
* { box-sizing:border-box; }
body { background:var(--bg-primary); color:var(--text);
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
font-size:14px; line-height:1.6; }
font-size:16px; line-height:1.7; }
a { color:var(--accent); text-decoration:none; }
a:hover { color:var(--accent-hover); }