]> Stephen's Gitweb - donsol-js.git/commitdiff
Add Muzieca theme
authorStephen Jianu <stephen@stephenjianu.com>
Mon, 14 Oct 2024 01:51:56 +0000 (20:51 -0500)
committerStephen Jianu <stephen@stephenjianu.com>
Mon, 14 Oct 2024 01:51:56 +0000 (20:51 -0500)
sources/scripts/donsol.js
sources/scripts/player.js
sources/scripts/settings.js

index 25e8e2555d3f2a401b572c0439a57cb69918abd1..46e58128cd2befa555a634b9324d1370c70f0c1a 100644 (file)
@@ -249,6 +249,17 @@ function Donsol () {
     b_low: '#333333',
     b_inv: '#b9615a'
   }
+  this.muziecaTheme = {
+    background: '#090909',
+    f_high: '#818181',
+    f_med: '#707070',
+    f_low: '#595959',
+    f_inv: '#272727',
+    b_high: '#272727',
+    b_med: '#181818',
+    b_low: '#111111',
+    b_inv: '#818181'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index 9103523c589cd9c292aaa972a9a19d446397af12..7dfb626cd55caddcc12e9d492dc36b63c56dbbeb 100644 (file)
@@ -215,6 +215,9 @@ function Player () {
     if (theme_value.localeCompare('murata') === 0) {
       new_theme = donsol.murataTheme
     }
+    if (theme_value.localeCompare('muzieca') === 0) {
+      new_theme = donsol.muziecaTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index c66cb50726f505c45bdc809c3aa6d4f1fe968014..14f967dc9abdc4e4548ba14bd3f56de0efbdc2db 100644 (file)
@@ -32,6 +32,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"mahou\">Mahou</option>'
     this.theme_button.innerHTML += '<option value=\"marble\">Marble</option>'
     this.theme_button.innerHTML += '<option value=\"murata\">Murata</option>'
+    this.theme_button.innerHTML += '<option value=\"muzieca\">Muzieca</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>'