@pronto-tools-and-more/files 3.3.13 → 3.5.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 = "radial-gradient(red, transparent)";
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/files",
3
- "version": "3.3.13",
3
+ "version": "3.5.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},