a new theme
This commit is contained in:
Nif 2024-03-10 18:02:16 +00:00
parent 3152cb8968
commit 23e3094b13

View file

@ -1,5 +1,5 @@
// ************ Themes ************
var themes = ["default", "aqua"]
var themes = ["default", "aqua", "verdant"]
var colors = {
default: {
@ -22,6 +22,16 @@ var colors = {
background: "#001f3f",
background_tooltip: "rgba(0, 15, 31, 0.75)",
},
verdant: {
1: "#ceffbd",
2: "#8fd376",
3: "#6e965f",
color: "#ceffbd",
points: "#edf3eb",
locked: "#c4a7b3",
background: "#102012",
background_tooltip: "rgba(0, 22, 3, 0.75)",
},
}
function changeTheme() {
@ -44,7 +54,6 @@ function switchTheme() {
else {
index ++;
options.theme = themes[index];
options.theme = themes[1];
}
changeTheme();
resizeCanvas();