This commit is contained in:
parent
fc36802567
commit
3bc40382d6
16 changed files with 396 additions and 64 deletions
15
test.ts
Normal file
15
test.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { getTheme } from "./src/back/utilities/themer";
|
||||
|
||||
//console.log(getTheme("#ffddc4"));
|
||||
|
||||
const colorMap = {
|
||||
online: "#00ff00",
|
||||
idle: "#ffff00",
|
||||
dnd: "#ff0000",
|
||||
offline: "",
|
||||
streaming: "#ff00ff",
|
||||
};
|
||||
|
||||
Object.entries(colorMap).forEach(([key, value]) => {
|
||||
console.log(key, getTheme(value), "\n\n");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue