mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
feat(ThemePage): add edit mode button
This commit is contained in:
@@ -16,6 +16,14 @@
|
|||||||
class="w-full px-4 py-2 mb-4 text-[13px] dark:text-white transition rounded-xl bg-zinc-200 dark:bg-zinc-700/50">
|
class="w-full px-4 py-2 mb-4 text-[13px] dark:text-white transition rounded-xl bg-zinc-200 dark:bg-zinc-700/50">
|
||||||
{ clearTheme ? 'Clear Theme' : 'Select a Theme' }
|
{ clearTheme ? 'Clear Theme' : 'Select a Theme' }
|
||||||
</button>
|
</button>
|
||||||
<BackgroundSelector isEditMode={editMode} bind:selectedBackground={selectedBackground} bind:selectNoBackground={selectNoBackground} />
|
<div class="relative w-full">
|
||||||
<ThemeSelector isEditMode={editMode} />
|
<!-- edit button -->
|
||||||
|
|
||||||
|
<button
|
||||||
|
onclick={() => editMode = !editMode}
|
||||||
|
class="absolute top-0 right-0 z-10 w-8 h-8 text-lg rounded-xl font-IconFamily bg-zinc-100 dark:bg-zinc-700">{editMode ? '\ue9e4' : '\uec38'}</button>
|
||||||
|
<!-- edit button -->
|
||||||
|
<BackgroundSelector isEditMode={editMode} bind:selectedBackground={selectedBackground} bind:selectNoBackground={selectNoBackground} />
|
||||||
|
<ThemeSelector isEditMode={editMode} />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user