added theme deletion

This commit is contained in:
SethBurkart123
2023-11-02 21:49:49 +11:00
parent 80ceb28923
commit 5a299d1c16
5 changed files with 101 additions and 54 deletions
+11 -1
View File
@@ -49,4 +49,14 @@ export const disableTheme = async () => {
type: 'currentTab',
info: 'DisableTheme',
});
};
};
export const deleteTheme = async (themeName: string) => {
await chrome.runtime.sendMessage({
type: 'currentTab',
info: 'DeleteTheme',
body: {
themeName: themeName
}
});
}