mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 22:51:57 +00:00
Merge pull request #53 from NewHappyRabbit/darkmode
Made the water color around islands to be lighter instead of darker
This commit is contained in:
@@ -287,9 +287,9 @@ export const pastelThemeDark = new (class implements Theme {
|
||||
}
|
||||
if (gm.magnitude(tile) < 10) {
|
||||
return colord({
|
||||
r: Math.max(w.r - 10 + mag, 0),
|
||||
g: Math.max(w.g - 10 + mag, 0),
|
||||
b: Math.max(w.b - 10 + mag, 0),
|
||||
r: Math.max(w.r + 9 - mag, 0),
|
||||
g: Math.max(w.g + 9 - mag, 0),
|
||||
b: Math.max(w.b + 9 - mag, 0),
|
||||
});
|
||||
}
|
||||
return this.water;
|
||||
|
||||
Reference in New Issue
Block a user