mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
Downloading themes @SethBurkart123 please check
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import type { Theme } from '@/svelte-interface/types/Theme'
|
||||
import ThemeCard from './ThemeCard.svelte';
|
||||
import ThemeModal from './ThemeModal.svelte';
|
||||
import { StoreDownloadTheme } from '@/seqta/ui/themes/downloadTheme'
|
||||
|
||||
let { themes, searchTerm } = $props<{ themes: Theme[]; searchTerm: string }>();
|
||||
let displayTheme = $state<Theme | null>();
|
||||
@@ -36,5 +37,7 @@
|
||||
</div>
|
||||
|
||||
{#if displayTheme}
|
||||
<ThemeModal theme={displayTheme} onClose={() => displayTheme = null} onInstall={() => {}} onRemove={() => {}} />
|
||||
<ThemeModal theme={displayTheme} onClose={() => displayTheme = null} onInstall={() => {
|
||||
StoreDownloadTheme({themeContent: displayTheme as Theme});
|
||||
}} onRemove={() => {}} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user