@pronto-tools-and-more/files 3.4.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,8 @@ const updateCss = (changes) => {
|
|
51
51
|
removeCustomCss();
|
52
52
|
};
|
53
53
|
|
54
|
-
const updateCssError = (css) => {
|
54
|
+
const updateCssError = (errorColor, css) => {
|
55
|
+
console.log({ errorColor });
|
55
56
|
removeError();
|
56
57
|
error = document.createElement("div");
|
57
58
|
error.className = "pronto-css-error";
|
@@ -60,7 +61,7 @@ const updateCssError = (css) => {
|
|
60
61
|
error.style.right = "0";
|
61
62
|
error.style.width = "20px";
|
62
63
|
error.style.height = "20px";
|
63
|
-
error.style.background =
|
64
|
+
error.style.background = `radial-gradient(${errorColor}, transparent)`;
|
64
65
|
error.style.zIndex = "11111111";
|
65
66
|
error.style.display = "flex";
|
66
67
|
document.body.append(error);
|