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

index 25c4b309edec1b28d846ebe0c4dce3ff3b50a315..e24d3277c702ecabd410be4db1c4f2819acc884b 100644 (file)
@@ -183,6 +183,17 @@ function Donsol () {
     b_low: '#000000',
     b_inv: '#FFFFFF'
   }
+  this.kawaiiTheme = {
+    background: '#d09090',
+    f_high: '#000000',
+    f_med: '#fffafa',
+    f_low: '#6ea2a1',
+    f_inv: '#ff1493',
+    b_high: '#7fffd4',
+    b_med: '#6ADEDC',
+    b_low: '#b08686',
+    b_inv: '#7fffd4'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index 7f42c3b0fb05f034ec8a0f0bd38e9d6549fa8139..99487eca60862458e986204fb87e82a255af57df 100644 (file)
@@ -197,6 +197,9 @@ function Player () {
     if (theme_value.localeCompare('isotope') === 0) {
       new_theme = donsol.isotopeTheme
     }
+    if (theme_value.localeCompare('kawaii') === 0) {
+      new_theme = donsol.kawaiiTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index 96f9a10386c76b7868780d1c17db9870373f7d28..f899ef16354faa377104fff127905fd411222b38 100644 (file)
@@ -26,6 +26,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"gotham\">Gotham</option>'
     this.theme_button.innerHTML += '<option value=\"haxe\">Haxe</option>'
     this.theme_button.innerHTML += '<option value=\"isotope\">Isotope</option>'
+    this.theme_button.innerHTML += '<option value=\"kawaii\">Kawaii</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>'