From: Stephen Jianu Date: Mon, 14 Oct 2024 01:49:36 +0000 (-0500) Subject: Add Mahou theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=5d3824bd62c4e520822b606336bbed09f718178a;p=donsol-js.git Add Mahou theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index 96fce8f..de57279 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -216,6 +216,17 @@ function Donsol () { b_low: '#222222', b_inv: '#f0c098' } + this.mahouTheme = { + background: '#E0B1CB', + f_high: '#231942', + f_med: '#48416d', + f_low: '#917296', + f_inv: '#E0B1CB', + b_high: '#5E548E', + b_med: '#FFFFFF', + b_low: '#BE95C4', + b_inv: '#9F86C0' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index e7679ba..790f1e1 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -206,6 +206,9 @@ function Player () { if (theme_value.localeCompare('lotus') === 0) { new_theme = donsol.lotusTheme } + if (theme_value.localeCompare('mahou') === 0) { + new_theme = donsol.mahouTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index d7e9981..981dbdf 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -29,6 +29,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 += ''