fix(styles): resolve design system audit violations
- Replace off-grid spacing (3px, 5px) with space tokens (--space-0h, --space-1) - Replace below-minimum font-size 9px with var(--text-xs) in calendar, dashboard, notes - Replace hardcoded 2.5rem with var(--text-4xl) in weather widget - Replace hardcoded box-shadow with var(--shadow-sm) in toggle thumb - Replace 0.85em and #666 with type/color tokens in print styles
This commit is contained in:
@@ -1034,7 +1034,7 @@
|
||||
height: 20px;
|
||||
background: #fff;
|
||||
border-radius: var(--radius-full);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition: transform 0.2s var(--ease-out);
|
||||
}
|
||||
|
||||
@@ -1540,8 +1540,8 @@
|
||||
|
||||
a[href]::after {
|
||||
content: " (" attr(href) ")";
|
||||
font-size: 0.85em;
|
||||
color: #666;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.nav-item,
|
||||
|
||||
Reference in New Issue
Block a user