From 5d3824bd62c4e520822b606336bbed09f718178a Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sun, 13 Oct 2024 20:49:36 -0500 Subject: [PATCH] Add Mahou theme --- sources/scripts/donsol.js | 11 +++++++++++ sources/scripts/player.js | 3 +++ sources/scripts/settings.js | 1 + 3 files changed, 15 insertions(+) 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 += '' -- 2.39.5