update vintage theme

This commit is contained in:
evanpelle
2024-08-24 11:32:19 -07:00
parent 4a409c3578
commit a9785741b7
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ export class GameRenderer {
this.scale /= zoomFactor;
// Clamp the scale to prevent extreme zooming
this.scale = Math.max(0.1, Math.min(15, this.scale));
this.scale = Math.max(0.5, Math.min(20, this.scale));
const canvasRect = this.canvas.getBoundingClientRect();
const canvasX = event.x - canvasRect.left;
+3 -3
View File
@@ -4,9 +4,9 @@ import {Theme} from "./Config";
export const vintageTheme = new class implements Theme {
private background = colord({r: 210, g: 200, b: 180});
private land = colord({r: 190, g: 170, b: 150})
private shore = colord({r: 220, g: 200, b: 190}); // Brighter beige for shore
private background = colord({r: 150, g: 140, b: 120});
private land = colord({r: 195, g: 175, b: 155})
private shore = colord({r: 210, g: 190, b: 170}); // Brighter beige for shore
private water = colord({r: 160, g: 180, b: 200})
private shorelineWater = colord({r: 200, g: 200, b: 205}); // Slightly lighter muted blue for shoreline water