From 79c3d1df3a1fd917884c203885ba517b377bb5fd Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Wed, 17 Jan 2024 19:16:49 -0600 Subject: [PATCH] Add Forest Lawn 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 b6e8ca3..a73556a 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -106,6 +106,17 @@ function Donsol () { b_low: '#b0b2ff', b_inv: '#ffffff' } + this.forestlawnTheme = { + background: '#cd853f', + f_high: '#000000', + f_med: '#8b0000', + f_low: '#8b4513', + f_inv: '#00ced1', + b_high: '#90ee90', + b_med: '#32cd32', + b_low: '#9acd32', + b_inv: '#000000' + } this.gameboyTheme = { background: '#9BBC0F', f_high: '#0F380F', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index c218d2c..4321ee7 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -176,6 +176,9 @@ function Player () { if (theme_value.localeCompare('commodore') === 0) { new_theme = donsol.commodoreTheme } + if (theme_value.localeCompare('forestlawn') === 0) { + new_theme = donsol.forestlawnTheme + } if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 2497721..d2e2f92 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -19,6 +19,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