From: Stephen Jianu Date: Thu, 18 Jan 2024 01:33:28 +0000 (-0600) Subject: Add Frame.io theme X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=7771daf7082d2ed0ba0214985d32558c4973481a;p=donsol-js.git Add Frame.io theme --- diff --git a/sources/scripts/donsol.js b/sources/scripts/donsol.js index a73556a..9df272a 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -117,6 +117,17 @@ function Donsol () { b_low: '#9acd32', b_inv: '#000000' } + this.frameioTheme = { + background: '#333848', + f_high: '#cccccc', + f_med: '#5b52fe', + f_low: '#4c576f', + f_inv: '#ffffff', + b_high: '#edeef2', + b_med: '#262b37', + b_low: '#394153', + b_inv: '#5b52fe' + } this.gameboyTheme = { background: '#9BBC0F', f_high: '#0F380F', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 4321ee7..3d14d9b 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -179,6 +179,9 @@ function Player () { if (theme_value.localeCompare('forestlawn') === 0) { new_theme = donsol.forestlawnTheme } + if (theme_value.localeCompare('frameio') === 0) { + new_theme = donsol.frameioTheme + } if (theme_value.localeCompare('gameboy') === 0) { new_theme = donsol.gameboyTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index d2e2f92..d24b3c4 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -20,6 +20,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 += ''