fixes
All checks were successful
deploy to production / deploy (push) Successful in 45s

This commit is contained in:
2023-09-27 15:06:42 +00:00
parent d7d9c21dcc
commit bc40572e27
3 changed files with 18 additions and 18 deletions

View File

@@ -25,6 +25,22 @@
fill="var(--normal-font-color)"></path>
</svg>
</a>
<button
class="darklight"
on:click="{() => {
const body = document.querySelector('body')
if (body) {
body.classList.toggle('darkTheme')
}
$darkMode = !$darkMode
}}"
>
{#if !$darkMode}
<img src="/media/dark.svg" alt="darkmode" />
{:else}
<img src="/media/light.svg" alt="lightmode" />
{/if}
</button>
</div>
</div>
<div class="services">
@@ -36,22 +52,6 @@
>
{/each}
</div>
<button
class="darklight"
on:click="{() => {
const body = document.querySelector('body')
if (body) {
body.classList.toggle('darkTheme')
}
$darkMode = !$darkMode
}}"
>
{#if !$darkMode}
<img src="/media/dark.svg" alt="darkmode" />
{:else}
<img src="/media/light.svg" alt="lightmode" />
{/if}
</button>
</div>
<style lang="less">

View File

@@ -114,7 +114,7 @@
.container {
width: 100%;
display: flex;
justify-content: center;
justify-content: flex-start;
--fds-solid-background-quarternary: var(--background-color);
--fds-text-primary: var(--normal-font-color);
--fds-text-secondary: var(--normal-font-color-80);