]> Stephen's Gitweb - donsol-js.git/commitdiff
Add Big Time theme
authorStephen Jianu <stephen@stephenjianu.com>
Sun, 7 Jan 2024 18:21:35 +0000 (12:21 -0600)
committerStephen Jianu <stephen@stephenjianu.com>
Sun, 7 Jan 2024 18:21:35 +0000 (12:21 -0600)
sources/scripts/donsol.js
sources/scripts/player.js
sources/scripts/settings.js

index fa8ffc71cc16c5c80e056501cfd6cd33d7f9bf4a..d78f7bc39e9f919c4d6dcb0cc6033e002fca351e 100644 (file)
@@ -51,6 +51,17 @@ function Donsol () {
     b_low: '#6ADEDC',
     b_inv: '#6ADEDC'
   }
+  this.bigtimeTheme = {
+    background: '#4682B4',
+    f_high: '#000000',
+    f_med: '#2F4F4F',
+    f_low: '#FFA500',
+    f_inv: '#9932CC',
+    b_high: '#F8F8FF',
+    b_med: '#696969',
+    b_low: '#778899',
+    b_inv: '#6B8E23'
+  }
   this.gameboyTheme = {
     background: '#9BBC0F',
     f_high: '#0F380F',
index 4d89558d5c875d9fd275065bc6088ac42aa3e69f..8a656c9f14fc0d074312e0cf4f024773a47e6893 100644 (file)
@@ -161,6 +161,9 @@ function Player () {
     if (theme_value.localeCompare('berry') === 0) {
       new_theme = donsol.berryTheme
     }
+    if (theme_value.localeCompare('bigtime') === 0) {
+      new_theme = donsol.bigtimeTheme
+    }
     if (theme_value.localeCompare('gameboy') === 0) {
       new_theme = donsol.gameboyTheme
     }
index 78ed9d5f541d19858248dfd55197870d77f15d46..07d37004a89bf02b8f8c03be001d9f888f2f7fb4 100644 (file)
@@ -14,6 +14,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"apollo\">Apollo</option>'
     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=\"gameboy\">Game Boy</option>'
     this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
     this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'