From: Stephen Jianu Date: Mon, 14 Oct 2024 01:48:55 +0000 (-0500) Subject: Add Laundry theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=70606949c773c5e4feec37852de919ceb0f69185;p=donsol-js.git Add Laundry theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index e24d327..a045c62 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -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', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 99487ec..89df724 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -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 } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index f899ef1..9922653 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -27,6 +27,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 += ''