mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-09 20:39:25 -03:00
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:
@@ -22,6 +22,10 @@
|
||||
--shadow-toast: var(--shadow-xl);
|
||||
--shadow-header: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
--shadow-dark-lg: 0 4px 24px rgba(0, 0, 0, 0.4);
|
||||
--shadow-side: 2px 0 8px rgba(0, 0, 0, 0.1);
|
||||
--shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
--shadow-dialog: 0 10px 24px rgba(0, 0, 0, 0.25);
|
||||
--shadow-inset-top: 0 -2px 8px rgba(0, 0, 0, 0.1);
|
||||
|
||||
--transition-fast: 150ms ease;
|
||||
--transition-base: 200ms ease;
|
||||
@@ -46,4 +50,8 @@
|
||||
--shadow-toast: var(--shadow-xl);
|
||||
--shadow-header: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
--shadow-dark-lg: 0 4px 24px rgba(0, 0, 0, 0.6);
|
||||
--shadow-side: 2px 0 8px rgba(0, 0, 0, 0.3);
|
||||
--shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.35);
|
||||
--shadow-dialog: 0 10px 24px rgba(0, 0, 0, 0.45);
|
||||
--shadow-inset-top: 0 -2px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user