diff --git a/public/index.html b/public/index.html index 5572283a2..924979a1e 100644 --- a/public/index.html +++ b/public/index.html @@ -429,19 +429,19 @@
- + - + - + - + - + - + - +
diff --git a/public/js/settings.js b/public/js/settings.js index 401aa3e34..13eb9917a 100644 --- a/public/js/settings.js +++ b/public/js/settings.js @@ -458,6 +458,11 @@ $(".tab").click(e => { $('[tabContent="custom"]').addClass("reveal") }, 250); } - console.log($target.attr('tab')) - +}) + +$('.colorPicker').change(e => { + var $colorVar = $(event.currentTarget).attr('colorVar') + var $pickedColor = $(event.currentTarget).val(); + + document.documentElement.style.setProperty($colorVar, $pickedColor) })