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

index edb82f0905e7601b57568991adde7f69433e14cd..25e8e2555d3f2a401b572c0439a57cb69918abd1 100644 (file)
@@ -238,6 +238,17 @@ function Donsol () {
     b_low: '#CFD2CD',
     b_inv: '#676164'
   }
+  this.murataTheme = {
+    background: '#111111',
+    f_high: '#ffffff',
+    f_med: '#e8dacb',
+    f_low: '#5a6970',
+    f_inv: '#000000',
+    b_high: '#bbbbbb',
+    b_med: '#8498a2',
+    b_low: '#333333',
+    b_inv: '#b9615a'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index 24a7f9b7ac42db07b92ddfb44d91beef981242c7..9103523c589cd9c292aaa972a9a19d446397af12 100644 (file)
@@ -212,6 +212,9 @@ function Player () {
     if (theme_value.localeCompare('marble') === 0) {
       new_theme = donsol.marbleTheme
     }
+    if (theme_value.localeCompare('murata') === 0) {
+      new_theme = donsol.murataTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index 0c999850cbd27162a0d643072d27ed35912e7f11..c66cb50726f505c45bdc809c3aa6d4f1fe968014 100644 (file)
@@ -31,6 +31,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"lotus\">Lotus</option>'
     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=\"nightowl\">Night Owl</option>'
     this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'
     this.theme_button.innerHTML += '<option value=\"tape\">Tape</option>'