🚀svg dark mode

This commit is contained in:
platane
2021-01-12 00:56:50 +01:00
parent a3f79b9ca4
commit 1ebe73cf90
7 changed files with 61 additions and 29 deletions

View File

@@ -12,10 +12,13 @@ export const drawOptions = {
2: "#40c463",
3: "#30a14e",
4: "#216e39",
5: "orange",
},
colorEmpty: "#ebedf0",
colorSnake: "purple",
dark: {
colorEmpty: "#161b22",
colorDots: { 1: "#01311f", 2: "#034525", 3: "#0f6d31", 4: "#00c647" },
},
};
const getPointedCell = (canvas: HTMLCanvasElement) => ({