1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 18:21:51 +00:00
tobspr_shapez.io/mod_examples/modify_theme.js

20 lines
500 B
JavaScript
Raw Normal View History

2022-01-17 11:15:57 +00:00
// @ts-nocheck
2022-01-16 16:05:13 +00:00
const METADATA = {
website: "https://tobspr.io",
author: "tobspr",
name: "Mod Example: Modify Builtin Themes",
version: "1",
id: "modify-theme",
description: "Shows how to modify builtin themes",
};
2022-01-15 12:59:38 +00:00
2022-01-16 16:05:13 +00:00
class Mod extends shapez.Mod {
init() {
shapez.THEMES.light.map.background = "#eee";
shapez.THEMES.light.items.outline = "#000";
2022-01-15 12:59:38 +00:00
2022-01-16 16:05:13 +00:00
shapez.THEMES.dark.map.background = "#245";
shapez.THEMES.dark.items.outline = "#fff";
}
}