From 970e7fd041ac084d64f84e3145df72143aa9d309 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 26 Jul 2024 11:45:43 -0400 Subject: Fix bug with style sheet loading --- scripts/theme.js | 6 +++--- styles/style.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/theme.js b/scripts/theme.js index 06d6811..ffe01cf 100644 --- a/scripts/theme.js +++ b/scripts/theme.js @@ -1,8 +1,8 @@ 'use strict'; const BASE_THEMES = [[ - "styles/themes/colors-base.css", - "styles/themes/colors-dark.css" + "/styles/themes/colors-base.css", + "/styles/themes/colors-dark.css" ], [ "Light", @@ -70,4 +70,4 @@ class Theme{ window.Theme = Theme; -window.Theme.init(); \ No newline at end of file +window.Theme.init(); diff --git a/styles/style.css b/styles/style.css index bceeb87..8af8c73 100644 --- a/styles/style.css +++ b/styles/style.css @@ -54,7 +54,7 @@ span.end::before { button#light-dark { position: fixed; - bottom: 10px; + top: 10px; right:10px; font-size: 20px; background-color: var(--link-color); -- cgit v1.2.3