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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user