fix(design): replace hardcoded values with design tokens

Audit found ~35 violations against the token system. Fixed:
- Hardcoded shadows in layout.css replaced with --shadow-sm/md
- 8 rgba colors extracted to new glass tokens (--color-glass-*)
- border-radius: 50% replaced with var(--radius-full)
- ~25 off-grid spacing values (5px, 6px, 7px, 14px, 15px, 22px,
  26px, 34px) aligned to 4px grid using space tokens
This commit is contained in:
Ulas
2026-04-04 06:50:19 +02:00
parent 364d029950
commit d92f7ca446
7 changed files with 55 additions and 49 deletions
+6 -6
View File
@@ -110,7 +110,7 @@
background-color: var(--color-surface);
color: var(--color-text-secondary);
transition: all var(--transition-fast);
min-height: 34px;
min-height: 32px;
}
.filter-chip:hover:not(.filter-chip--active) {
@@ -227,8 +227,8 @@
/* Status-Checkbox */
.task-status-btn {
width: 22px;
height: 22px;
width: var(--space-5);
height: var(--space-5);
border-radius: var(--radius-full);
border: 2px solid var(--color-border);
background: none;
@@ -315,8 +315,8 @@
.priority-badge--urgent { color: var(--color-priority-urgent); background-color: var(--color-priority-urgent-bg); }
.priority-dot {
width: 6px;
height: 6px;
width: var(--space-1);
height: var(--space-1);
border-radius: var(--radius-full);
flex-shrink: 0;
}
@@ -332,7 +332,7 @@
color: var(--color-text-secondary);
display: flex;
align-items: center;
gap: 3px;
gap: var(--space-1);
}
.due-date--overdue { color: var(--color-danger); font-weight: var(--font-weight-semibold); }