]> Stephen's Gitweb - donsol-js.git/commitdiff
Add Gotham theme
authorStephen Jianu <stephen@stephenjianu.com>
Thu, 10 Oct 2024 16:20:23 +0000 (11:20 -0500)
committerStephen Jianu <stephen@stephenjianu.com>
Thu, 10 Oct 2024 16:20:23 +0000 (11:20 -0500)
sources/scripts/donsol.js
sources/scripts/player.js
sources/scripts/settings.js

index a6b3d7757c878929a8a6b84ee04377a00cd4e8c6..be9a18a2063fdc37d58520d88f1d7083ce8ffca6 100644 (file)
@@ -150,6 +150,17 @@ function Donsol () {
     b_low: '#48413a',
     b_inv: '#4cb1cf'
   }
+  this.gothamTheme = {
+    background: '#0A0F14',
+    f_high: '#FFFFFF',
+    f_med: '#98D1CE',
+    f_low: '#EDB54B',
+    f_inv: '#C33027',
+    b_high: '#093748',
+    b_med: '#081F2D',
+    b_low: '#10151B',
+    b_inv: '#8FAF9F'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index d1a6be32a25b7b56cf14d9d2ebbd7d1f233171b8..b6185c0fe9ce37c42d648b753268c8762384c8b8 100644 (file)
@@ -188,6 +188,9 @@ function Player () {
     if (theme_value.localeCompare('garden') === 0) {
       new_theme = donsol.gardenTheme
     }
+    if (theme_value.localeCompare('gotham') === 0) {
+      new_theme = donsol.gothamTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index a4f4f6cc7d0d02b766d37b56b8a5702281b260ec..c33dedb56c64a073fd4b41fb0ed11b5a9611fefd 100644 (file)
@@ -23,6 +23,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"frameio\">Frame.io</option>'
     this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>'
     this.theme_button.innerHTML += '<option value=\"garden\">Garden</option>'
+    this.theme_button.innerHTML += '<option value=\"gotham\">Gotham</option>'
     this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
     this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
     this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'