refactor(frontend): fix undefined --danger-color, dedup formatDate & require2FAOptions, drop double plan.css import

- base.css: var(--danger-color) (undefined, no fallback -> inherited color) -> var(--danger)
- attendanceHelpers: re-export formatDate from formatters instead of a byte-identical copy
- dashboard.ts: remove dead duplicate require2FAOptions (canonical copy is in settings.ts)
- settings.ts: remove unused @deprecated systemSettingsOptions alias
- PlanWork: drop redundant per-page plan.css import (loaded globally in AdminApp)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-06-06 02:22:51 +02:00
parent c5f986adc1
commit 522afefc80
5 changed files with 7 additions and 16 deletions

View File

@@ -265,7 +265,7 @@ img {
border-radius: var(--border-radius-sm);
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
color: var(--danger-color);
color: var(--danger);
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.5;