fix(v1.9.5): 修复 asg/ticket/summary 文字在暗色变深、亮色变浅
- 根因:v1.9.2 重构时新增的 --ink-2 等色板变量与旧样式里的同名文字变量冲突,导致打手条、票签、订阅摘要继承到背景色当作文字色 - 为 .asg / .ticket / .summary 及其子元素显式指定文字色:亮色用 --ink-ink,暗色用 #dff5ea - 到期状态单独取值:正常绿、临期橙、逾期红,暗色下同步提亮 - 版本 1.9.4 → 1.9.5;仅前端样式
This commit is contained in:
@@ -1402,4 +1402,25 @@ a:hover { color: var(--ink-green-3); }
|
|||||||
[data-bs-theme="dark"] .table thead th, [data-theme="dark"] .table thead th { color: var(--ink-muted) !important; }
|
[data-bs-theme="dark"] .table thead th, [data-theme="dark"] .table thead th { color: var(--ink-muted) !important; }
|
||||||
.task-meta, .task-sub, .task-note { color: #55705f !important; }
|
.task-meta, .task-sub, .task-note { color: #55705f !important; }
|
||||||
[data-bs-theme="dark"] .task-meta, [data-theme="dark"] .task-meta,
|
[data-bs-theme="dark"] .task-meta, [data-theme="dark"] .task-meta,
|
||||||
[data-bs-theme="dark"] .task-sub, [data-theme="dark"] .task-sub { color: #9dbbac !important; }
|
[data-bs-theme="dark"] .task-sub, [data-theme="dark"] .task-sub { color: #9dbbac !important; }
|
||||||
|
/* ---------- v1.9.5:修复 asg / ticket / summary 文字反色 ---------- */
|
||||||
|
.asg, .asg-name, .asg b, .asg span,
|
||||||
|
.ticket, .ticket b, .ticket span, .ticket em,
|
||||||
|
.summary, .summary b, .summary span, .summary em,
|
||||||
|
.summary .due, .summary .due-ok, .summary .due-soon {
|
||||||
|
color: var(--ink-ink) !important;
|
||||||
|
}
|
||||||
|
.asg i, .asg .dot { border-color: var(--ink-line) !important; }
|
||||||
|
.summary .due-ok { color: var(--bs-success) !important; font-weight: 700; }
|
||||||
|
.summary .due-soon { color: #b8792a !important; }
|
||||||
|
.summary .due-late { color: #c4453d !important; }
|
||||||
|
.ticket { background: var(--ink-grad-soft) !important; border: 1px solid var(--ink-line); }
|
||||||
|
[data-theme="dark"] .asg, [data-theme="dark"] .asg-name, [data-theme="dark"] .asg b, [data-theme="dark"] .asg span,
|
||||||
|
[data-theme="dark"] .ticket, [data-theme="dark"] .ticket b, [data-theme="dark"] .ticket span, [data-theme="dark"] .ticket em,
|
||||||
|
[data-theme="dark"] .summary, [data-theme="dark"] .summary b, [data-theme="dark"] .summary span, [data-theme="dark"] .summary em,
|
||||||
|
[data-bs-theme="dark"] .asg, [data-bs-theme="dark"] .asg-name, [data-bs-theme="dark"] .asg b, [data-bs-theme="dark"] .asg span,
|
||||||
|
[data-bs-theme="dark"] .ticket, [data-bs-theme="dark"] .ticket b, [data-bs-theme="dark"] .ticket span, [data-bs-theme="dark"] .ticket em,
|
||||||
|
[data-bs-theme="dark"] .summary, [data-bs-theme="dark"] .summary b, [data-bs-theme="dark"] .summary span, [data-bs-theme="dark"] .summary em {
|
||||||
|
color: #dff5ea !important;
|
||||||
|
}
|
||||||
|
[data-theme="dark"] .summary .due-ok, [data-bs-theme="dark"] .summary .due-ok { color: #63d6ad !important; }
|
||||||
@@ -26,7 +26,7 @@ import (
|
|||||||
"daili/internal/web"
|
"daili/internal/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "1.9.4"
|
const version = "1.9.5"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cfgFlag := flag.String("config", "", "配置文件路径(默认:exe 同级的 "+config.FileName+")")
|
cfgFlag := flag.String("config", "", "配置文件路径(默认:exe 同级的 "+config.FileName+")")
|
||||||
|
|||||||
Reference in New Issue
Block a user