From 38a2c97339ba580c73d931525d9daff2cf60e76d Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Thu, 30 Jun 2022 00:56:53 +0200 Subject: [PATCH] dark mode toggl --- server/prisma/dev.db | Bin 815104 -> 815104 bytes webapp/src/app.html | 2 +- webapp/src/lib/components/Footer.svelte | 2 +- .../lib/components/MarkdownRenderer.svelte | 2 +- .../src/lib/components/navbar/NavBar.svelte | 4 +- .../lib/components/navbar/NavBarLink.svelte | 2 +- .../lib/components/navbar/ThemeToggle.svelte | 25 ++++++ .../lib/marked/renderers/Blockquote.svelte | 4 +- webapp/src/routes/__layout.svelte | 72 ++++++++++++------ 9 files changed, 83 insertions(+), 30 deletions(-) create mode 100644 webapp/src/lib/components/navbar/ThemeToggle.svelte diff --git a/server/prisma/dev.db b/server/prisma/dev.db index e5a42cf141d15b52721719323b31f16de579376e..88220eab946516f816e3f5da3f221f33c1f2672e 100644 GIT binary patch delta 4871 zcmZ{oISU0@T86vr=~?U<&`?wuLNe)YTG{L5ed z;OE~Lf90Eh`R?`e@1NiN&ToJ9hhN4G4iWp*ED%h?8?|gFO4fTewLkm6r+@jMfBMaD z{Mq-K?|<}zkAC>kkG}g}^Q-^!U+>RqUljZUHUn|i28AO_GuBUrDl1bW5PdF=+MHe( z!d@@1sH3N;rgoIriEqSGYu>k18bKs1MGD*H8eTjAc7<;3@zFk_RdGc?G!jsr>&}$W zKoDK0$!|FX&?w%s>lD9*plX_Fb~L`=XKf5+GINa%ORS=}Igz*)U|!k>2KH=;%-Z_A zfw~YuB5f#c{SD^Xb&8sU!)+IB|v1xXChY~+wy^b}wr#1P#;ZrGOzJ)= zOjM=(O$#Grs}L`{s_}KkAhr3^BXR>b8affTAZnVnHQ@F-Xbu0VJQ&@sg#FIHc3bgR z=}qz^zw4wv8`aL!R7T~S<^oM9*g8@S+e;Vkd73#J<*PfO&T3FXWyVFXbnJo6-Td?{ zAQ|a{kb^WCKbzkG22?3^ z(r;w1htdn7H;xY%c(tCs58WC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X7!ji%AoN>(LM&`&{lN%t{9&H_iog*aV@U>uDUyb1 z7-a;Og$W+PNS0+}n*20E=orD^PY9A^h^9#b(I|!DG@W4?K|{$ehi|_3Yrp!{SHJk; zhrjjpzkl_MfB5yE{?%9SzyAH7{qPUJ{`#MP@<%`Uf3F_C{G-4Bo4@_1FaKEm+4zq( za+?#;sXdt5806Z=Q4HMlt<rlk}i$PrjZ9|&Qdm0-(}Wb%|z8F zQn)Xb*YZ^3g>;uYn?r7NXByYol54*CLO-M{WmKQ<1uuVtwWvYN{%f?KKrZ*hc4v$|M& zmIL_d$}Q`_Ng?E3pE8PRYm>c4o@ZQlFD_{+?_L-v1R>;b4gJjj0F^hK9fi}L25ge@ xr~FB4Mz+2Esa61P(dp^b^S$<>9C7hY9WqkPM0idou`2jh?#(x8Hic7 z^E9yjxX-N2{d_um0-O8vfCRRA+utOx-Q{9oU|=zye%6{pl2t{P*`9Iw`&Mqrc9tAA zAZ7<*4j|^-&XU9R=kqiNR<`YI8#vP0IO90%S&f(2Hu6qqOl6Z~V{Baaa?0)Lj;tJV l+c&$h`f_e7;ARovU}Am3z#+r>WV4{c4c6^XTDfIj0RWD%JMI7g diff --git a/webapp/src/app.html b/webapp/src/app.html index 843cdaa..b19f80e 100644 --- a/webapp/src/app.html +++ b/webapp/src/app.html @@ -21,7 +21,7 @@ }; - +
%sveltekit.body%
diff --git a/webapp/src/lib/components/Footer.svelte b/webapp/src/lib/components/Footer.svelte index 0776fa2..146f05b 100644 --- a/webapp/src/lib/components/Footer.svelte +++ b/webapp/src/lib/components/Footer.svelte @@ -1,4 +1,4 @@ -
+