From 16b0c6cd034ac20f466d83eae2e4c89db0b55111 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Thu, 30 Jun 2022 00:20:46 +0200 Subject: [PATCH] dark mode styling --- server/prisma/dev.db | Bin 815104 -> 815104 bytes webapp/src/app.html | 6 +++--- webapp/src/lib/components/Callout.svelte | 5 ++++- webapp/src/lib/components/Footer.svelte | 6 ++++-- .../lib/components/MarkdownRenderer.svelte | 2 +- .../src/lib/components/navbar/NavBar.svelte | 13 +++++-------- .../lib/components/navbar/NavBarLink.svelte | 2 +- .../lib/marked/renderers/Blockquote.svelte | 2 +- .../lib/marked/renderers/InternalEmbed.svelte | 6 +++--- .../lib/marked/renderers/InternalLink.svelte | 2 +- webapp/src/lib/marked/renderers/Link.svelte | 2 +- webapp/src/lib/marked/renderers/Tag.svelte | 2 +- webapp/src/routes/__error.svelte | 2 +- webapp/src/routes/__layout.svelte | 8 ++++---- webapp/src/routes/note/[id].svelte | 5 +++-- webapp/tailwind.config.cjs | 3 +++ 16 files changed, 36 insertions(+), 30 deletions(-) diff --git a/server/prisma/dev.db b/server/prisma/dev.db index 82933cbc6f7488187f0cdd7ad43ddc9c50e6c02a..e5a42cf141d15b52721719323b31f16de579376e 100644 GIT binary patch delta 11114 zcmZ{qxzEI0n$^2!_?m|4VMNF#ApsJSLEg6j81H4fyf0OD!g$|Z-nXQhAs~gQGem$O zU=twJECFOAA_z&42u32|4?rTp4MHM-;J&JoUzN9epXZ$4xj+9e@X!AX{5Su^Z~luP z{pd%(caJ}GkAM8P{yh2PfALR$=kI@i_(%8GU;g!<{rqqI?B_qe$FJSv*YEKMe)+SX z|M1`c!%zRnZ~g20AAa<&e(^K&Cx86ce(PWV0y2N{yTABt^Cv(3Q97U|1-bwUw`ojf9EIMANbi1_b2mre)6|}`QLu$C;#IQ|Ms8y^}q7tq{Sh; zswN7;VG@RxEy^?atk&Ys{hy;~HRcF}AaI2(TXtNZPn{rt_E$%L@elsqZ~U>p@!RcB z?(qlj@zZ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TV>9U{XrpvYSncw+%2*jys+zPvXp5|UXe79kEe*ll_ z0f7amARFrU_IM&Wx%C$ZNH6AiGRv!-GbO zM3TCU8=(|Tdt^k~k^%vxR^bHY*+IA9wrz&`C<3WW7~ab6M}ofo)+(~z$R zrPzAY7Wb~cchzFzDLn7x!Xpg?GAB?1 wg|h_C;2ch)jG&1;Mxlhdb!&{}d740Z4q*fg(OE)M$^FPu^6&kf-}sOJ6ZIr{NdN!< delta 305 zcmZp8VA$}$aDp`NW(Ed^<3P*_#2Y7Sm@{tPn6SK_bpw#QtC^>vou`2jh?#(x8Hic7 z^E9yjIM2b$zaOZ8VfS>N05+-V1_5kM(;WiXxVCQ!VB_FtHOR_Lx1GK}p3Rk6kw-p4Jcm82 z@e diff --git a/webapp/src/app.html b/webapp/src/app.html index 2f8e356..843cdaa 100644 --- a/webapp/src/app.html +++ b/webapp/src/app.html @@ -1,5 +1,5 @@ - + @@ -21,7 +21,7 @@ }; - -
%sveltekit.body%
+ +
%sveltekit.body%
diff --git a/webapp/src/lib/components/Callout.svelte b/webapp/src/lib/components/Callout.svelte index 31ea8fe..a25f225 100644 --- a/webapp/src/lib/components/Callout.svelte +++ b/webapp/src/lib/components/Callout.svelte @@ -32,7 +32,10 @@ } -
+
{title} diff --git a/webapp/src/lib/components/Footer.svelte b/webapp/src/lib/components/Footer.svelte index 1ac8806..0776fa2 100644 --- a/webapp/src/lib/components/Footer.svelte +++ b/webapp/src/lib/components/Footer.svelte @@ -1,6 +1,8 @@ -
+
-