]> Stephen's Gitweb - donsol-js.git/commitdiff
Add Frame.io theme
authorStephen Jianu <stephen@stephenjianu.com>
Thu, 18 Jan 2024 01:33:28 +0000 (19:33 -0600)
committerStephen Jianu <stephen@stephenjianu.com>
Thu, 18 Jan 2024 01:33:28 +0000 (19:33 -0600)
sources/scripts/donsol.js
sources/scripts/player.js
sources/scripts/settings.js

index a73556a574ba89ba47035803064a284ba89eb598..9df272ad0903cdf042c951897db1130684b4434a 100644 (file)
@@ -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',
index 4321ee76dfb2fea2e7e79cf76b8ac302e84721c4..3d14d9bad753d9280617c988c3971e2a0f35c7e6 100644 (file)
@@ -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
     }
index d2e2f9252e71fac449a39ad872572e14569e5d43..d24b3c49397b2d7682946bfdf0e49afd6bb0f9bf 100644 (file)
@@ -20,6 +20,7 @@ function Settings () {
     this.theme_button.innerHTML += '<option value=\"cobalt\">Cobalt</option>'
     this.theme_button.innerHTML += '<option value=\"commodore\">Commodore</option>'
     this.theme_button.innerHTML += '<option value=\"forestlawn\">Forest Lawn</option>'
+    this.theme_button.innerHTML += '<option value=\"frameio\">Frame.io</option>'
     this.theme_button.innerHTML += '<option value=\"gameboy\">Game Boy</option>'
     this.theme_button.innerHTML += '<option value=\"nightowl\">Night Owl</option>'
     this.theme_button.innerHTML += '<option value=\"roguelite\">Roguelite</option>'