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:
@@ -20,12 +20,12 @@
|
||||
border: 1px solid var(--lora-border);
|
||||
background-color: var(--lora-surface);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: var(--transition-base);
|
||||
}
|
||||
|
||||
.example-option-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: var(--shadow-md);
|
||||
border-color: var(--lora-accent);
|
||||
}
|
||||
|
||||
@@ -68,5 +68,5 @@
|
||||
|
||||
/* Dark theme adjustments */
|
||||
[data-theme="dark"] .example-option-btn:hover {
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
|
||||
box-shadow: var(--shadow-elevated);
|
||||
}
|
||||
Reference in New Issue
Block a user