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

index d78f7bc39e9f919c4d6dcb0cc6033e002fca351e..682a33608b4871dbd4e9f3342f89c86e35235cdd 100644 (file)
@@ -62,6 +62,17 @@ function Donsol () {
     b_low: '#778899',
     b_inv: '#6B8E23'
   }
+  this.boysenberryTheme = {
+    background: '#171717',
+    f_high: '#efefef',
+    f_med: '#999999',
+    f_low: '#873260',
+    f_inv: '#919191',
+    b_high: '#373737',
+    b_med: '#272727',
+    b_low: '#000000',
+    b_inv: '#873260'
+  }
   this.gameboyTheme = {
     background: '#9BBC0F',
     f_high: '#0F380F',
index 8a656c9f14fc0d074312e0cf4f024773a47e6893..c37976ffd394a40565897bcbeeb40868d6212930 100644 (file)
@@ -164,6 +164,9 @@ function Player () {
     if (theme_value.localeCompare('bigtime') === 0) {
       new_theme = donsol.bigtimeTheme
     }
+    if (theme_value.localeCompare('boysenberry') === 0) {
+      new_theme = donsol.boysenberryTheme
+    }
     if (theme_value.localeCompare('gameboy') === 0) {
       new_theme = donsol.gameboyTheme
     }
index 07d37004a89bf02b8f8c03be001d9f888f2f7fb4..311fc18be5bf9f39e7caa30804fa6943db4fdb92 100644 (file)
@@ -15,6 +15,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"battlestation\">Battlestation</option>'
     this.theme_button.innerHTML += '<option value=\"berry\">Berry</option>'
     this.theme_button.innerHTML += '<option value=\"bigtime\">Big Time</option>'
+    this.theme_button.innerHTML += '<option value=\"boysenberry\">Boysenberry</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>'