From f3e294505147ebe423552e97423167e644290ce8 Mon Sep 17 00:00:00 2001 From: Stephen Jianu Date: Thu, 10 Oct 2024 11:21:25 -0500 Subject: [PATCH] Add Kawaii 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 25c4b30..e24d327 100644 --- a/sources/scripts/donsol.js +++ b/sources/scripts/donsol.js @@ -183,6 +183,17 @@ function Donsol () { b_low: '#000000', b_inv: '#FFFFFF' } + this.kawaiiTheme = { + background: '#d09090', + f_high: '#000000', + f_med: '#fffafa', + f_low: '#6ea2a1', + f_inv: '#ff1493', + b_high: '#7fffd4', + b_med: '#6ADEDC', + b_low: '#b08686', + b_inv: '#7fffd4' + } this.nightowlTheme = { background: '#011627', f_high: '#7fdbca', diff --git a/sources/scripts/player.js b/sources/scripts/player.js index 7f42c3b..99487ec 100644 --- a/sources/scripts/player.js +++ b/sources/scripts/player.js @@ -197,6 +197,9 @@ function Player () { if (theme_value.localeCompare('isotope') === 0) { new_theme = donsol.isotopeTheme } + if (theme_value.localeCompare('kawaii') === 0) { + new_theme = donsol.kawaiiTheme + } if (theme_value.localeCompare('nightowl') === 0) { new_theme = donsol.nightowlTheme } diff --git a/sources/scripts/settings.js b/sources/scripts/settings.js index 96f9a10..f899ef1 100644 --- a/sources/scripts/settings.js +++ b/sources/scripts/settings.js @@ -26,6 +26,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