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

@@ -483,7 +483,7 @@
color: var(--text-color);
cursor: pointer;
font-size: 0.95em;
transition: all 0.2s;
transition: var(--transition-base);
opacity: 0.7;
position: relative;
}
@@ -893,7 +893,7 @@
border-radius: var(--border-radius-sm);
max-width: fit-content;
cursor: pointer;
transition: all 0.2s;
transition: var(--transition-base);
}
[data-theme="dark"] .creator-info,
@@ -965,7 +965,7 @@
cursor: pointer;
font-weight: 500;
font-size: 0.9em;
transition: all 0.2s;
transition: var(--transition-base);
}
.civitai-view i {
@@ -988,7 +988,7 @@
cursor: pointer;
font-weight: 500;
font-size: 0.9em;
transition: all 0.2s;
transition: var(--transition-base);
}
[data-theme="dark"] .modal-send-btn {