Skip to content

Commit dca29c3

Browse files
committed
thinner loader
1 parent 6048508 commit dca29c3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/uui-loader/lib/uui-loader.element.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ export class UUILoaderElement extends LitElement {
2525
display: inline-block;
2626
width: var(--uui-size-2);
2727
height: var(--uui-size-2);
28-
border: 2px solid currentColor;
28+
border: 1px solid currentColor;
2929
border-radius: 100%;
30-
animation: loaderAnimation 1.4s infinite;
30+
animation: loaderAnimation 1.2s infinite;
31+
transition: all 60ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
3132
}
3233
3334
div:nth-child(1n) {
@@ -44,15 +45,15 @@ export class UUILoaderElement extends LitElement {
4445
4546
@keyframes loaderAnimation {
4647
0% {
47-
transform: scale(0.5);
48+
transform: scale(0.33);
4849
background-color: currentColor;
4950
}
5051
50% {
5152
transform: scale(1);
5253
background-color: transparent;
5354
}
5455
100% {
55-
transform: scale(0.5);
56+
transform: scale(0.33);
5657
background-color: currentColor;
5758
}
5859
}

0 commit comments

Comments
 (0)