Skip to content

Commit

Permalink
dark button fix + background fix
Browse files Browse the repository at this point in the history
  • Loading branch information
icanc0 committed Feb 10, 2024
1 parent 6199cdf commit 99f1be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script lang="ts">
import NavBar from "$lib/NavBar.svelte";
import Footer from '$lib/Footer.svelte';
import {DarkMode} from "$lib/States";
import { DarkMode } from "$lib/States";
import { base } from '$app/paths';
let background = 'url(' + base + '/sketchTile.svg)';
Expand All @@ -18,7 +18,7 @@

<div class:dark={$DarkMode}>
<NavBar></NavBar>
<div class="bg-repeat" style="background-image: url({background});">
<div class="bg-repeat" style="background-image: {background};">
<slot></slot>
</div>
<Footer></Footer>
Expand Down

0 comments on commit 99f1be8

Please sign in to comment.