From 4802b55124942b1d25fccdb4ad8e02d649d5a45a Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Thu, 17 Aug 2023 17:31:20 +0200 Subject: [PATCH] BUGFIX: we cannot dynamically create classes --- src/routes/+layout.svelte | 17 +++++++++++++++-- src/routes/+page.svelte | 12 +++--------- src/routes/account/+layout.svelte | 16 +++++++++++++--- src/routes/account/login/Login.svelte | 4 ++-- 4 files changed, 33 insertions(+), 16 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a31296a..f817c8d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,7 +2,7 @@ // The ordering of these imports is critical to your app working properly import '@skeletonlabs/skeleton/themes/theme-skeleton.css'; // If you have source.organizeImports set to true in VSCode, then it will auto change this ordering - import '@skeletonlabs/skeleton/styles/all.css'; + import '@skeletonlabs/skeleton/styles/skeleton.css'; import '$lib/scss/icons.scss' // Most of your app wide CSS should be put in this file import '../app.postcss'; @@ -27,10 +27,23 @@ globalvars = value; }); + {@html ``} {#if typeof globalvars.user !== 'undefined' } {#each alertsvar as alert, i} -