Update SEQTA and BackgroundSelector components

This commit is contained in:
SethBurkart123
2024-02-04 18:27:48 +11:00
parent e4dc4df04b
commit 6f1457faf3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -59,12 +59,12 @@ document.addEventListener(
IsSEQTAPage = true IsSEQTAPage = true
console.log('[BetterSEQTA+] Verified SEQTA Page') console.log('[BetterSEQTA+] Verified SEQTA Page')
import('./css/documentload.scss') import('./css/documentload.scss')
enableCurrentTheme() enableCurrentTheme()
try { try {
const items = await browser.storage.local.get() as SettingsState const items = await browser.storage.local.get() as SettingsState
if (items.onoff) { if (items.onoff) {
import('./css/injected.scss') import('./css/injected.scss')
} }
@@ -112,7 +112,7 @@ export default function BackgroundSelector({ selectedType, setSelectedType, isEd
{selectedBackground == null ? 'No Background' : 'Remove Background'} {selectedBackground == null ? 'No Background' : 'Remove Background'}
</button> </button>
<div className="relative"> <div className="relative">
<h2 className="pb-2 text-lg font-bold">Images</h2> <h2 className="pb-2 text-lg font-bold">Background Images</h2>
<div className="flex flex-wrap gap-4"> <div className="flex flex-wrap gap-4">
{/* Image uploader swatch */} {/* Image uploader swatch */}
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900"> <div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900">
@@ -160,7 +160,7 @@ export default function BackgroundSelector({ selectedType, setSelectedType, isEd
))} ))}
</div> </div>
<h2 className="py-2 text-lg font-bold">Videos</h2> <h2 className="py-2 text-lg font-bold">Background Videos</h2>
<div className="flex flex-wrap gap-4"> <div className="flex flex-wrap gap-4">
{/* Video uploader swatch */} {/* Video uploader swatch */}
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900"> <div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900">