From 4e6273c650632a6fbd0bd6c7b2234ffd2f480676 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sun, 13 Oct 2024 20:49:59 -0500 Subject: [PATCH] Add Marble 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 de57279..edb82f0 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -227,6 +227,17 @@ function Donsol () { b_low: '#BE95C4', b_inv: '#9F86C0' } + this.marbleTheme = { + background: '#FBFBF2', + f_high: '#3a3738', + f_med: '#847577', + f_low: '#bdb8b8', + f_inv: '#A6A2A2', + b_high: '#676164', + b_med: '#A6A2A2', + b_low: '#CFD2CD', + b_inv: '#676164' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 790f1e1..24a7f9b 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -209,6 +209,9 @@ function Player () { if (theme_value.localeCompare('mahou') === 0) { new_theme = donsol.mahouTheme } + if (theme_value.localeCompare('marble') === 0) { + new_theme = donsol.marbleTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 981dbdf..0c99985 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -30,6 +30,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