diff --git a/fclauncher/frontend/src/App.svelte b/fclauncher/frontend/src/App.svelte index aac6c06..c590c28 100644 --- a/fclauncher/frontend/src/App.svelte +++ b/fclauncher/frontend/src/App.svelte @@ -53,8 +53,8 @@ font-size: 16px; --text-primary: #b6b6b6; --text-secondary: #ececec; - --bg-primary: #23232e; - --bg-secondary: #141418; + --bg-secondary: #2c2c33; + --bg-primary: #141418; --navMargin: 5rem; background-color: var(--bg-secondary); } diff --git a/fclauncher/frontend/src/Instancepage.svelte b/fclauncher/frontend/src/Instancepage.svelte index e7312ef..b974525 100644 --- a/fclauncher/frontend/src/Instancepage.svelte +++ b/fclauncher/frontend/src/Instancepage.svelte @@ -9,6 +9,15 @@ import {onMount} from 'svelte' let instance: string let radio: string = ""; let marginScale: string= $navMargin + "rem"; + var r = document.querySelector('main'); + + onMount(() => { + r.style.setProperty('--accent-color', 'purple'); + }) + + function setcolor(){ + r.style.setProperty('--accent-color', 'green'); + } @@ -28,7 +37,7 @@ import {onMount} from 'svelte'