Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit d6705f7

Browse files
committed
build(1.0.0): update loader colors
1 parent cc0b86f commit d6705f7

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

src/widgets/loader/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import './styles.scss';
22

33
const Loader = () => (
44
<>
5-
<div className="loader">
5+
<div className="loader before:bg-secondary">
66
<svg viewBox="0 0 80 80">
7-
<circle id="test" cx="40" cy="40" r="32" />
7+
<circle id="test" cx="40" cy="40" r="32" className="stroke-primary" />
88
</svg>
99
</div>
1010

11-
<div className="loader triangle">
11+
<div className="loader triangle before:bg-secondary">
1212
<svg viewBox="0 0 86 80">
13-
<polygon points="43 8 79 72 7 72" />
13+
<polygon points="43 8 79 72 7 72" className="stroke-primary" />
1414
</svg>
1515
</div>
1616

17-
<div className="loader">
17+
<div className="loader before:bg-secondary">
1818
<svg viewBox="0 0 80 80">
19-
<rect x="8" y="8" width="64" height="64" />
19+
<rect x="8" y="8" width="64" height="64" className="stroke-primary" />
2020
</svg>
2121
</div>
2222
</>

src/widgets/loader/styles.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.loader {
2-
--path: #2f3545;
3-
--dot: #5628ee;
42
--duration: 3s;
53
width: 44px;
64
height: 44px;
@@ -12,7 +10,6 @@
1210
border-radius: 50%;
1311
position: absolute;
1412
display: block;
15-
background: var(--dot);
1613
top: 37px;
1714
left: 19px;
1815
transform: translate(-18px, -18px);
@@ -26,7 +23,6 @@
2623
polygon,
2724
circle {
2825
fill: none;
29-
stroke: var(--path);
3026
stroke-width: 10px;
3127
stroke-linejoin: round;
3228
stroke-linecap: round;

0 commit comments

Comments
 (0)