refactor(phase-4): standardize remaining transitions and box-shadows

- Replace all remaining 'transition: all' with specific token-based transitions
- Replace 80+ hardcoded box-shadow rgba values with semantic tokens
- Add new tokens: --shadow-side, --shadow-elevated, --shadow-dialog, --shadow-inset-top
- Update dark theme overrides for new shadow tokens
- 32 files changed, net +8 lines (more consistent, less duplication)
This commit is contained in:
Will Miao
2026-06-09 14:27:53 +08:00
parent 5797ce9408
commit 18577fa336
32 changed files with 177 additions and 169 deletions

View File

@@ -46,7 +46,7 @@
flex-direction: column;
gap: 6px;
align-items: center;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
box-shadow: var(--shadow-side);
max-height: 80vh;
overflow-y: auto;
scrollbar-width: thin;
@@ -75,7 +75,7 @@
width: 20px;
height: 40px;
align-self: center;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
box-shadow: var(--shadow-side);
}
.toggle-alphabet-bar:hover {
@@ -99,7 +99,7 @@
min-width: 24px;
text-align: center;
font-size: 0.85em;
transition: all 0.2s ease;
transition: var(--transition-base);
border: 1px solid var(--border-color);
}