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

index 96fce8fe675e122dbb86dad2a298aac404c6417f..de57279807d5cd1819e1942d2507ed4ea53ffbcf 100644 (file)
@@ -216,6 +216,17 @@ function Donsol () {
     b_low: '#222222',
     b_inv: '#f0c098'
   }
+  this.mahouTheme = {
+    background: '#E0B1CB',
+    f_high: '#231942',
+    f_med: '#48416d',
+    f_low: '#917296',
+    f_inv: '#E0B1CB',
+    b_high: '#5E548E',
+    b_med: '#FFFFFF',
+    b_low: '#BE95C4',
+    b_inv: '#9F86C0'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index e7679ba9012980d3f1f1d5e83950be05dee44d3b..790f1e1e49410ad6e422e3cc938e92702ebc15ab 100644 (file)
@@ -206,6 +206,9 @@ function Player () {
     if (theme_value.localeCompare('lotus') === 0) {
       new_theme = donsol.lotusTheme
     }
+    if (theme_value.localeCompare('mahou') === 0) {
+      new_theme = donsol.mahouTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index d7e9981f3883b1971a837e095684caafbfad2afe..981dbdfa5f7c12391c00db4838856aacb74309da 100644 (file)
@@ -29,6 +29,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"kawaii\">Kawaii</option>'
     this.theme_button.innerHTML += '<option value=\"laundry\">Laundry</option>'
     this.theme_button.innerHTML += '<option value=\"lotus\">Lotus</option>'
+    this.theme_button.innerHTML += '<option value=\"mahou\">Mahou</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>'