We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fbd5e commit bab6c55Copy full SHA for bab6c55
src/pages/gradient-background.ts
@@ -14,8 +14,14 @@ export function gradientBackgroundGenerator() {
14
const getDegreeElement = utils.getRange(attribute);
15
16
const getOutputElement = utils.getOutput(attribute);
17
+
18
+ if (color1.value == '' || color2.value == '') {
19
+ if (color1.value == '') utils.triggerEmptyAnimation(color1);
20
+ if (color2.value == '') utils.triggerEmptyAnimation(color2);
21
+ return;
22
+ }
23
const resultPage = utils.getResultPage();
-
24
25
resultPage.style.display = 'flex';
26
27
const values: Values = {
0 commit comments