From e07991da20eb00fae5c7c6d2650b42c803dcfcbc Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Fri, 24 Jul 2020 15:24:02 -0700 Subject: [PATCH] lowpoly --- .../site/backgrounds/lowpolyDarkGray.svg | 76 +++++++++++++++++++ .../site/backgrounds/lowpolyDarkGreen.svg | 74 ++++++++++++++++++ data/scripts/footer.js | 1 + data/scripts/palettes/lowpoly.js | 8 ++ index.html | 15 ++-- 5 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 data/images/site/backgrounds/lowpolyDarkGray.svg create mode 100644 data/images/site/backgrounds/lowpolyDarkGreen.svg create mode 100644 data/scripts/palettes/lowpoly.js diff --git a/data/images/site/backgrounds/lowpolyDarkGray.svg b/data/images/site/backgrounds/lowpolyDarkGray.svg new file mode 100644 index 00000000..71d4afb6 --- /dev/null +++ b/data/images/site/backgrounds/lowpolyDarkGray.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/images/site/backgrounds/lowpolyDarkGreen.svg b/data/images/site/backgrounds/lowpolyDarkGreen.svg new file mode 100644 index 00000000..6ca04c4e --- /dev/null +++ b/data/images/site/backgrounds/lowpolyDarkGreen.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/scripts/footer.js b/data/scripts/footer.js index 9d093cc5..29324a73 100644 --- a/data/scripts/footer.js +++ b/data/scripts/footer.js @@ -17,6 +17,7 @@ document.getElementById('footer').innerHTML = ` + diff --git a/data/scripts/palettes/lowpoly.js b/data/scripts/palettes/lowpoly.js new file mode 100644 index 00000000..d028a9f0 --- /dev/null +++ b/data/scripts/palettes/lowpoly.js @@ -0,0 +1,8 @@ +rootStyles.setProperty('--site-background', '#3a3838 url("/data/images/site/backgrounds/lowpolyDarkGreen.svg") left/cover no-repeat fixed') +rootStyles.setProperty('--layer-background', '#242424 url("/data/images/site/backgrounds/lowpolyDarkGray.svg") left/cover no-repeat fixed') +rootStyles.setProperty('--layer-background-selected', '#1d1d1d') +rootStyles.setProperty('--interactable-unselected', '#666666') +rootStyles.setProperty('--interactable-selected', '#99ee99') +rootStyles.setProperty('--font-color', '#efefef') +rootStyles.setProperty('--body-background', 'none') +setCookie('colorPalette', 'lowpoly') \ No newline at end of file diff --git a/index.html b/index.html index 56d94a93..bf2e2b26 100644 --- a/index.html +++ b/index.html @@ -13,8 +13,8 @@ Card Conjurer -
Card Conjurer
-
+
Card Conjurer
+
Welcome to Card Conjurer
@@ -26,7 +26,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
@@ -52,7 +52,7 @@
-
+
@@ -65,6 +65,11 @@
+