From 7771daf7082d2ed0ba0214985d32558c4973481a Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Wed, 17 Jan 2024 19:33:28 -0600 Subject: [PATCH] Add Frame.io 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 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 += '' -- 2.39.5