From b48d9986d1957f8c8aefc02f4d9b2f33f1f47662 Mon Sep 17 00:00:00 2001 From: Mathieu Schimmerling Date: Wed, 5 Jul 2023 05:24:25 +0700 Subject: [PATCH] ux: add sticky snippet titles --- index.html | 6 +++++- src/App.svelte | 13 ++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index cd81ce1..91978d8 100644 --- a/index.html +++ b/index.html @@ -53,10 +53,14 @@ font-display: swap; } + :root { + --bg-color: rgb(17 24 39); + } + html { font-family: "Mona Sans" !important; /* bg-gray-900 */ - background-color: rgb(17 24 39); + background-color: var(--bg-color); color: #fff; } diff --git a/src/App.svelte b/src/App.svelte index 8cfc7e0..b2fa8bb 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -128,7 +128,7 @@