From: Stephen Jianu Date: Thu, 18 Jan 2024 01:16:49 +0000 (-0600) Subject: Add Forest Lawn theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=79c3d1df3a1fd917884c203885ba517b377bb5fd;p=donsol-js.git Add Forest Lawn theme --- 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 += ''