From 515059a0dc6a24903b13557941f0d7c5dc1d26d0 Mon Sep 17 00:00:00 2001 From: Steel <mael.acier@ensiie.fr> Date: Wed, 28 Aug 2024 14:56:12 +0200 Subject: [PATCH] chore: Update font and styling for app.html and +layout.svelte --- src/app.html | 2 +- src/routes/quiz/+layout.svelte | 2 -- tailwind.config.ts | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app.html b/src/app.html index e3461df..0e11c0a 100644 --- a/src/app.html +++ b/src/app.html @@ -6,7 +6,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> %sveltekit.head% </head> - <body data-sveltekit-preload-data="hover" class="h-full"> + <body data-sveltekit-preload-data="hover" class="h-full font-game text-zinc-800"> <div style="display: contents">%sveltekit.body%</div> </body> </html> diff --git a/src/routes/quiz/+layout.svelte b/src/routes/quiz/+layout.svelte index 7afeea5..3616541 100644 --- a/src/routes/quiz/+layout.svelte +++ b/src/routes/quiz/+layout.svelte @@ -3,9 +3,7 @@ <style> :global(body) { background-color: #f65a52; - font-family: 'Londrina Solid', monospace; font-size: 16px; line-height: 1.875em; - color: #333; } </style> diff --git a/tailwind.config.ts b/tailwind.config.ts index 72a0909..f12d001 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -5,6 +5,9 @@ export default { theme: { extend: { + fontFamily: { + game: ['Londrina Solid', 'monospace'] + }, borderWidth: { 6: '6px' } -- GitLab