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

index e24d3277c702ecabd410be4db1c4f2819acc884b..a045c62c91fb89cf0bfa438b287a620617459ccf 100644 (file)
@@ -194,6 +194,17 @@ function Donsol () {
     b_low: '#b08686',
     b_inv: '#7fffd4'
   }
+  this.laundryTheme = {
+    background: '#1b1a1e',
+    f_high: '#ffffff',
+    f_med: '#ff2851',
+    f_low: '#3e3d42',
+    f_inv: '#000000',
+    b_high: '#bdbcc1',
+    b_med: '#63606b',
+    b_low: '#151417',
+    b_inv: '#ff2851'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index 99487eca60862458e986204fb87e82a255af57df..89df7248605b2cb2f7a3c1201c2a0e48d5cc13a1 100644 (file)
@@ -200,6 +200,9 @@ function Player () {
     if (theme_value.localeCompare('kawaii') === 0) {
       new_theme = donsol.kawaiiTheme
     }
+    if (theme_value.localeCompare('laundry') === 0) {
+      new_theme = donsol.laundryTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index f899ef16354faa377104fff127905fd411222b38..99226537026b1cf41fe712cae2be1e883981e960 100644 (file)
@@ -27,6 +27,7 @@ function Settings () {
     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=\"laundry\">Laundry</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>'