Skip to content

Commit bc60260

Browse files
feat: make next button more prominent when enabled
1 parent 0f779f5 commit bc60260

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/components/WizardFlowContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ const WizardFlowContainer = ({
219219
currentStep !== steps.length - 1 || status !== Status.COMPLETED
220220
? 'visible'
221221
: 'hidden',
222+
animation: buttonDisabled ? '' : 'pulse 6s ease-in-out 1.5s',
222223
}}
223224
>
224225
<StepArrowButton

src/index.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,28 @@ code {
1010
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
1111
monospace;
1212
}
13+
14+
@keyframes pulse {
15+
0%,
16+
100% {
17+
transform: scale(1);
18+
filter: brightness(1) saturate(1);
19+
}
20+
21+
10%,
22+
30%,
23+
50%,
24+
70%,
25+
90% {
26+
transform: scale(1.1);
27+
filter: brightness(1.2) saturate(1.2);
28+
}
29+
30+
20%,
31+
40%,
32+
60%,
33+
80% {
34+
transform: scale(1);
35+
filter: brightness(1) saturate(1);
36+
}
37+
}

0 commit comments

Comments
 (0)