add eventlistners jsfile

This commit is contained in:
SethBurkart123
2023-09-22 13:33:15 +10:00
parent 0d9a9fc930
commit ce6fbcbb75
6 changed files with 5 additions and 21 deletions
+5
View File
@@ -0,0 +1,5 @@
export function StorageListner() {
chrome.storage.onChanged.addListener(function (changes) {
}
}
-9
View File
@@ -1,9 +0,0 @@
import { Color } from "color";
export function convertColor(inputColor, outputMode) {
console.log(`Converting to ${outputMode}`);
// Convert color to desired output mode
let convertedColor = Color[outputMode]().string();
return convertedColor;
}