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

index a045c62c91fb89cf0bfa438b287a620617459ccf..96fce8fe675e122dbb86dad2a298aac404c6417f 100644 (file)
@@ -205,6 +205,17 @@ function Donsol () {
     b_low: '#151417',
     b_inv: '#ff2851'
   }
+  this.lotusTheme = {
+    background: '#161616',
+    f_high: '#f0c098',
+    f_med: '#999999',
+    f_low: '#444444',
+    f_inv: '#222222',
+    b_high: '#ffffff',
+    b_med: '#333333',
+    b_low: '#222222',
+    b_inv: '#f0c098'
+  }
   this.nightowlTheme = {
     background: '#011627',
     f_high: '#7fdbca',
index 89df7248605b2cb2f7a3c1201c2a0e48d5cc13a1..e7679ba9012980d3f1f1d5e83950be05dee44d3b 100644 (file)
@@ -203,6 +203,9 @@ function Player () {
     if (theme_value.localeCompare('laundry') === 0) {
       new_theme = donsol.laundryTheme
     }
+    if (theme_value.localeCompare('lotus') === 0) {
+      new_theme = donsol.lotusTheme
+    }
     if (theme_value.localeCompare('nightowl') === 0) {
       new_theme = donsol.nightowlTheme
     }
index 99226537026b1cf41fe712cae2be1e883981e960..d7e9981f3883b1971a837e095684caafbfad2afe 100644 (file)
@@ -28,6 +28,7 @@ function Settings () {
     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=\"lotus\">Lotus</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>'