Skip to content

Commit

Permalink
refactor: blink style
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Oct 12, 2024
1 parent 0500368 commit 78fa1df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/client/src/theme/_ontimeStyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
$transition-time-action: 0.1s;
$transition-time-feedback: 0.3s;

$blinking-time: 1.2s;

$component-border-radius-md: 3px;
$component-border-radius-sm: 2px;

Expand Down Expand Up @@ -61,10 +59,13 @@ $text-body-size: calc(1rem - 1px);
$min-tablet: 500px;

.blink {
animation: blink $blinking-time linear infinite;
animation: blink 1s step-start infinite;
}

@keyframes blink {
0% {
opacity: 100%;
}
50% {
opacity: 20%;
}
Expand Down

0 comments on commit 78fa1df

Please sign in to comment.