Skip to content

Commit f5be670

Browse files
committed
kern farben
1 parent c0f4caf commit f5be670

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

packages/themes/kern/src/components/spin.scss

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
@layer kol-theme-component {
44
.kol-spin {
5+
&__spinner--cycle {
6+
--kol-spin-size: 96;
7+
}
8+
59
&__loader {
610
animation: rotation 1.5s linear infinite;
711

@@ -12,29 +16,13 @@
1216
border-radius: 50%;
1317
display: inline-block;
1418
box-sizing: border-box;
15-
width: to-rem(96);
16-
height: to-rem(96);
1719
border-width: 10px;
1820
animation-duration: 1.5s;
1921
}
2022
}
2123

2224
&__spinner-element {
23-
&--1 {
24-
background-color: var(--kern-color-feedback-loader);
25-
}
26-
27-
&--2 {
28-
background-color: var(--kern-color-feedback-loader);
29-
}
30-
31-
&--3 {
32-
background-color: var(--kern-color-feedback-loader);
33-
}
34-
35-
&--neutral {
36-
background-color: var(--kern-color-feedback-loader-background);
37-
}
25+
--kol-spin-color: var(--kern-color-feedback-loader);
3826
}
3927
}
4028

0 commit comments

Comments
 (0)