diff --git a/interface/src/assets/929098bd-40b9-46a5-bd6f-8b9e7d5e648b.webp b/interface/src/assets/929098bd-40b9-46a5-bd6f-8b9e7d5e648b.webp new file mode 100644 index 00000000..68958506 Binary files /dev/null and b/interface/src/assets/929098bd-40b9-46a5-bd6f-8b9e7d5e648b.webp differ diff --git a/interface/src/assets/themes.tsx b/interface/src/assets/themes.tsx index f1ec6b92..2872e64a 100644 --- a/interface/src/assets/themes.tsx +++ b/interface/src/assets/themes.tsx @@ -1,8 +1,10 @@ +import test from './929098bd-40b9-46a5-bd6f-8b9e7d5e648b.webp'; + const themes = [ { name: "Dark", url: "https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/themes/dark.json", - coverImage: , + coverImage: , }, { name: "Light", diff --git a/interface/src/components/ThemeSelector.tsx b/interface/src/components/ThemeSelector.tsx index 97c37895..5a5d2a3e 100644 --- a/interface/src/components/ThemeSelector.tsx +++ b/interface/src/components/ThemeSelector.tsx @@ -105,23 +105,24 @@ const ThemeSelector = () => { {themes.map((theme) => ( handleThemeAction(theme.name, theme.url)} disabled={theme.isLoading} > - {/* Position the cover image absolutely so that it doesn't affect the button's content layout */} + + + { theme.isDownloaded || theme.isLoading ? '' : ''} + + + { theme.isLoading && + + Loading... + } + + {theme.coverImage} - - {/* Content */} - {theme.isLoading ? ( - - Loading... - - ) : ( - {theme.name} - )} ))}