refactor(theme): DRY hardcoded violet values into CSS custom properties

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-08 12:19:38 -04:00
parent 7e81e50e3e
commit 2ac894b5d1
16 changed files with 55 additions and 55 deletions
+5 -5
View File
@@ -676,17 +676,17 @@ async function confirmDelete() {
align-items: center;
gap: 0.35rem;
padding: 0.45rem 1rem;
background: linear-gradient(135deg, #7c3aed, #5b21b6);
background: var(--gradient-cta);
color: #fff;
border: none;
border-radius: var(--radius-sm);
font-size: 0.875rem;
font-weight: 600;
text-decoration: none;
box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);
box-shadow: var(--glow-cta);
transition: box-shadow 0.15s, opacity 0.15s;
}
.btn-workspace:hover { box-shadow: 0 4px 14px rgba(124, 58, 237, 0.42); opacity: 0.95; color: #fff; }
.btn-workspace:hover { box-shadow: var(--glow-cta-hover); opacity: 0.95; color: #fff; }
.btn-share {
padding: 0.4rem 0.8rem;
@@ -857,7 +857,7 @@ async function confirmDelete() {
.btn-save-panel {
padding: 0.45rem 0.9rem;
background: linear-gradient(135deg, #7c3aed, #5b21b6);
background: var(--gradient-cta);
color: #fff;
border: none;
border-radius: var(--radius-sm);
@@ -866,7 +866,7 @@ async function confirmDelete() {
font-weight: 600;
font-family: inherit;
width: 100%;
box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
box-shadow: var(--glow-soft);
transition: box-shadow 0.15s, opacity 0.15s;
}
.btn-save-panel:hover:not(:disabled) { box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4); opacity: 0.95; }