]> Stephen's Gitweb - donsol-js.git/commitdiff
Add Forest Lawn theme
authorStephen Jianu <stephen@stephenjianu.com>
Thu, 18 Jan 2024 01:16:49 +0000 (19:16 -0600)
committerStephen Jianu <stephen@stephenjianu.com>
Thu, 18 Jan 2024 01:16:49 +0000 (19:16 -0600)
sources/scripts/donsol.js
sources/scripts/player.js
sources/scripts/settings.js

index b6e8ca3952377cef1bcb938e35f73507cf5ee829..a73556a574ba89ba47035803064a284ba89eb598 100644 (file)
@@ -106,6 +106,17 @@ function Donsol () {
     b_low: '#b0b2ff',
     b_inv: '#ffffff'
   }
+  this.forestlawnTheme = {
+    background: '#cd853f',
+    f_high: '#000000',
+    f_med: '#8b0000',
+    f_low: '#8b4513',
+    f_inv: '#00ced1',
+    b_high: '#90ee90',
+    b_med: '#32cd32',
+    b_low: '#9acd32',
+    b_inv: '#000000'
+  }
   this.gameboyTheme = {
     background: '#9BBC0F',
     f_high: '#0F380F',
index c218d2c5b7db56c0196a24bfcf68cf102167cf09..4321ee76dfb2fea2e7e79cf76b8ac302e84721c4 100644 (file)
@@ -176,6 +176,9 @@ function Player () {
     if (theme_value.localeCompare('commodore') === 0) {
       new_theme = donsol.commodoreTheme
     }
+    if (theme_value.localeCompare('forestlawn') === 0) {
+      new_theme = donsol.forestlawnTheme
+    }
     if (theme_value.localeCompare('gameboy') === 0) {
       new_theme = donsol.gameboyTheme
     }
index 249772120d8366973e0091ea7cfeedffa49020c2..d2e2f9252e71fac449a39ad872572e14569e5d43 100644 (file)
@@ -19,6 +19,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"coal\">Coal</option>'
     this.theme_button.innerHTML += '<option value=\"cobalt\">Cobalt</option>'
     this.theme_button.innerHTML += '<option value=\"commodore\">Commodore</option>'
+    this.theme_button.innerHTML += '<option value=\"forestlawn\">Forest Lawn</option>'
     this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>'
     this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
     this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'