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
+3 -3
View File
@@ -350,17 +350,17 @@ async function convertToTask() {
padding: 0.45rem 1.1rem;
border: none;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, #7c3aed, #5b21b6);
background: var(--gradient-cta);
color: #fff;
text-decoration: none;
cursor: pointer;
font-size: 0.875rem;
font-weight: 600;
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-edit:hover {
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.42);
box-shadow: var(--glow-cta-hover);
opacity: 0.95;
color: #fff;
}