updates
diff --git a/dev.js b/dev.js
index 07751cc..98d2b79 100644
--- a/dev.js
+++ b/dev.js
@@ -925,14 +925,14 @@
$( ".class:not(.google)" ).click(function(event) {
$('body').removeClass('isolatedGoogleClass');
var prev = window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue("--grad")
- if (dtps.fadedColors) prev = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--dark" : "--light") + ", " + jQuery("body").css("background-color") + ")"
+ if (dtps.fadedColors) prev = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--norm" : "--light") + ", " + jQuery("body").css("background-color") + ")"
$(".btn.google").hide();
$(".background").css("background", prev);
$(".background").addClass("trans");
clearTimeout(dtps.bgTimeout);
dtps.bgTimeout = setTimeout(function() {
var next = window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue("--grad")
- if (dtps.fadedColors) next = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--dark" : "--light") + ", " + jQuery("body").css("background-color") + ")"
+ if (dtps.fadedColors) next = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--norm" : "--light") + ", " + jQuery("body").css("background-color") + ")"
$(".background").css("background", next)
$(".background").removeClass("trans");
}, 500);
@@ -1320,7 +1320,7 @@
});
var prev = window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue("--grad")
- if (dtps.fadedColors) prev = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--dark" : "--light") + ", " + jQuery("body").css("background-color") + ")"
+ if (dtps.fadedColors) prev = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("dark") ? "--norm" : "--light") + ", " + jQuery("body").css("background-color") + ")"
$(".background").css("background", prev)
dtps.showClasses();
dtps.gapis();