From: Stephen Jianu Date: Mon, 14 Oct 2024 01:49:17 +0000 (-0500) Subject: Add Lotus theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=f95d6709d271e8a8ee189274fa569f44c5ee118b;p=donsol-js.git Add Lotus theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index a045c62..96fce8f 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -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', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 89df724..e7679ba 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -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 } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 9922653..d7e9981 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -28,6 +28,7 @@ function Settings () { this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' + this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.innerHTML += '' this.theme_button.innerHTML += ''