fix: resolve design token violations and locale bug

- Add --color-warning-translucent and --color-soon tokens to tokens.css
- Replace hardcoded font-size 1.4rem with var(--text-xl) in dashboard.css
- Replace hardcoded rgba color with var(--color-warning-translucent)
- Remove duplicate .task-item__meta--overdue rule
- Fix hardcoded 'de-DE' locale: use formatTime() from i18n.js
- Fix formatDueDate: don't show time (23:59) when no due_time is set

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas Kalayci
2026-04-21 23:38:56 +02:00
parent d9be970e9d
commit 7b04d5a48a
3 changed files with 7 additions and 10 deletions
+3 -1
View File
@@ -220,7 +220,9 @@
--color-glass: rgba(255, 255, 255, 0.18);
--color-glass-hover: rgba(255, 255, 255, 0.3);
--color-glass-border: rgba(255, 255, 255, 0.15);
--color-danger-translucent: rgba(255, 59, 48, 0.35);
--color-danger-translucent: rgba(255, 59, 48, 0.35);
--color-warning-translucent: rgba(245, 158, 11, 0.28);
--color-soon: var(--color-warning);
/* --------------------------------------------------------
* 8. Schatten