Add settings for custom backgrounds and allow users to set image and video backgrounds

This commit is contained in:
SethBurkart123
2024-04-05 10:21:28 +11:00
parent a94cccc4ab
commit a66f5775a6
6 changed files with 35 additions and 15 deletions
-5
View File
@@ -1,11 +1,6 @@
import browser from 'webextension-polyfill';
import { SettingsState } from '../../types/storage';
export async function appendBackgroundToUI() {
const settings = await browser.storage.local.get() as SettingsState;
if (settings.theme == '') return;
const parent = document.getElementById('container');
// embed background.html