Update 2025-04-13_16:25:39

This commit is contained in:
root
2025-04-13 16:25:41 +02:00
commit 4c711360d3
2979 changed files with 666585 additions and 0 deletions

21
static/color.js Normal file
View File

@ -0,0 +1,21 @@
export const COLORS = [
"red",
"blue",
"green",
"yellow",
"orange",
"purple",
"pink",
"cyan",
"red",
"black"
];
export function colorToClass(color) {
return `color-${color}`;
}
export function applyColor(element, color) {
element.classList.add(colorToClass(color));
}