diff --git a/src/app.css b/src/app.css index 22e4e1e..716e1ef 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,19 @@ +/* + * Theme tokens — single source of truth for colours is src/lib/theme.ts. + * These custom properties mirror its `cssVars` map; keep the two in sync. + */ +:root { + --color-gold: #ffd700; + --color-experience: #4ecdc4; + --color-projects: #ff6b6b; + --color-skills: #f9a825; + --color-education: #dda0dd; + --bg-space: #05050a; + --panel-from: #1a1a2e; + --panel-to: #0f0f1a; + --text-muted: #a8a8b8; +} + *, *::before, *::after { @@ -13,5 +29,5 @@ body { margin: 0; padding: 0; overflow: hidden; - background: #05050a; + background: var(--bg-space); } diff --git a/src/lib/components/SkillTree.svelte b/src/lib/components/SkillTree.svelte index 1ac47f3..635a04f 100644 --- a/src/lib/components/SkillTree.svelte +++ b/src/lib/components/SkillTree.svelte @@ -1480,7 +1480,7 @@