gradient-background
Advanced tools
Comparing version 1.2.1 to 1.3.1
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");!function(e,i){void 0===i&&(i={});var a=i.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===a&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}(".primary{background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab)}.primary,.secondary{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.secondary{background:linear-gradient(-45deg,#b7ee52,#7e3ce7,#f8eddf,#3e59f3)}.white{background:linear-gradient(-45deg,#f0f0f0,#cecece,#afafaf,#d1d1d1)}.dark,.white{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.dark{background:linear-gradient(-45deg,#3f3f3f,#242424,#111,#3b3a3a)}.blue{background:linear-gradient(-45deg,#8cfdea,#0089fa,#4da3e9,#494cfc)}.blue,.orange{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.orange{background:linear-gradient(-45deg,#fdc88c,#fa8500,#e9a54d,#fc9a49)}.green{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;background:linear-gradient(-45deg,#b0fd8c,#08fa00,#6ce94d,#49fc67);margin-bottom:-8px;margin-left:-8px;margin-right:-8px}@-webkit-keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}"),exports.GradientBackground=function(i){var a=i.color;return e.createElement(e.Fragment,null,e.createElement("div",{className:void 0===a?"primary":a}))}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");!function(e,i){void 0===i&&(i={});var a=i.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===a&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}(".primary{background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab)}.primary,.secondary{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.secondary{background:linear-gradient(-45deg,#b7ee52,#7e3ce7,#f8eddf,#3e59f3)}.white{background:linear-gradient(-45deg,#f0f0f0,#cecece,#afafaf,#d1d1d1)}.dark,.white{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.dark{background:linear-gradient(-45deg,#3f3f3f,#242424,#111,#3b3a3a)}.blue{background:linear-gradient(-45deg,#8cfdea,#0089fa,#4da3e9,#494cfc)}.blue,.orange{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.orange{background:linear-gradient(-45deg,#fdc88c,#fa8500,#e9a54d,#fc9a49);height:100%;width:100%}.green{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;background:linear-gradient(-45deg,#b0fd8c,#08fa00,#6ce94d,#49fc67);margin-bottom:-8px;margin-left:-8px;margin-right:-8px}@-webkit-keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}"),exports.GradientBackground=function(i){var a=i.color;return e.createElement(e.Fragment,null,e.createElement("div",{className:void 0===a?"primary":a}))}; | ||
//# sourceMappingURL=gradient-background.cjs.production.min.js.map |
@@ -30,3 +30,3 @@ import { createElement, Fragment } from 'react'; | ||
var css_248z = ".primary{background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab)}.primary,.secondary{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.secondary{background:linear-gradient(-45deg,#b7ee52,#7e3ce7,#f8eddf,#3e59f3)}.white{background:linear-gradient(-45deg,#f0f0f0,#cecece,#afafaf,#d1d1d1)}.dark,.white{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.dark{background:linear-gradient(-45deg,#3f3f3f,#242424,#111,#3b3a3a)}.blue{background:linear-gradient(-45deg,#8cfdea,#0089fa,#4da3e9,#494cfc)}.blue,.orange{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.orange{background:linear-gradient(-45deg,#fdc88c,#fa8500,#e9a54d,#fc9a49)}.green{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;background:linear-gradient(-45deg,#b0fd8c,#08fa00,#6ce94d,#49fc67);margin-bottom:-8px;margin-left:-8px;margin-right:-8px}@-webkit-keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}"; | ||
var css_248z = ".primary{background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab)}.primary,.secondary{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.secondary{background:linear-gradient(-45deg,#b7ee52,#7e3ce7,#f8eddf,#3e59f3)}.white{background:linear-gradient(-45deg,#f0f0f0,#cecece,#afafaf,#d1d1d1)}.dark,.white{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.dark{background:linear-gradient(-45deg,#3f3f3f,#242424,#111,#3b3a3a)}.blue{background:linear-gradient(-45deg,#8cfdea,#0089fa,#4da3e9,#494cfc)}.blue,.orange{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;margin-bottom:-8px;margin-left:-8px;margin-right:-8px}.orange{background:linear-gradient(-45deg,#fdc88c,#fa8500,#e9a54d,#fc9a49);height:100%;width:100%}.green{-webkit-animation:gradient 15s ease infinite;animation:gradient 15s ease infinite;background:linear-gradient(-45deg,#b0fd8c,#08fa00,#6ce94d,#49fc67);margin-bottom:-8px;margin-left:-8px;margin-right:-8px}@-webkit-keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}"; | ||
styleInject(css_248z); | ||
@@ -33,0 +33,0 @@ |
{ | ||
"version": "1.2.1", | ||
"version": "1.3.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
17792