From 914d7e73da26ac1453b3e75d53bf8c61f609862f Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Sun, 31 Mar 2024 14:54:15 -0500 Subject: [PATCH] Add Garden 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 9df272a..a6b3d77 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -139,6 +139,17 @@ function Donsol () { b_low: '#9BBC0F', b_inv: '#0F380F' } + this.gardenTheme = { + background: '#28211c', + f_high: '#ffefc9', + f_med: '#9f9fa2', + f_low: '#a3832c', + f_inv: '#666666', + b_high: '#aa0000', + b_med: '#214c05', + b_low: '#48413a', + b_inv: '#4cb1cf' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 3d14d9b..d1a6be3 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -185,6 +185,9 @@ function Player () { if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } + if (theme_value.localeCompare('garden') === 0) { + new_theme = donsol.gardenTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index d24b3c4..a4f4f6c 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -22,6 +22,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