aboutsummaryrefslogtreecommitdiffstats
path: root/apps/portal/src/app/pages/_layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'apps/portal/src/app/pages/_layout.svelte')
-rw-r--r--apps/portal/src/app/pages/_layout.svelte9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/portal/src/app/pages/_layout.svelte b/apps/portal/src/app/pages/_layout.svelte
index 713a430..ec4bd11 100644
--- a/apps/portal/src/app/pages/_layout.svelte
+++ b/apps/portal/src/app/pages/_layout.svelte
@@ -1,5 +1,6 @@
<script>
import Button from "$shared/components/button.svelte";
+ import Tile from "$shared/components/tile.svelte";
import {switch_theme} from "$shared/lib/helpers";
</script>
@@ -30,9 +31,11 @@
<main class="container-fluid padding-x-xs padding-x-xxl@xs padding-y-md padding-y-lg@md max-width-sm">
<slot/>
- <Button on:click={() => switch_theme()}
- text="Switch theme"
- variant="secondary"/>
+ <Tile class="margin-top-sm">
+ <Button on:click={() => switch_theme()}
+ text="Switch theme"
+ variant="secondary"/>
+ </Tile>
<figure id="decoration"
aria-hidden="true">