Skip to content

Commit 2a41a39

Browse files
Merge pull request #7 from DaPulse/fix/dorsh/progress-bar-colors
fix: adjust progress bar colors
2 parents 43050f7 + ce3344b commit 2a41a39

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

src/components/ProgressBars/LinearProgressBar/LinearProgressBar.scss

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
.linear-progress-bar__container {
2929
position: relative;
3030
width: 100%;
31-
@include theme-prop(background-color, ui-border-color);
31+
@include theme-prop(background-color, layout-border-color);
3232
border-radius: $border-radius-small;
3333

3434
.linear-progress-bar__secondary,
@@ -37,14 +37,11 @@
3737
height: 100%;
3838
position: absolute;
3939
border-radius: $border-radius-small;
40-
}
4140

42-
.linear-progress-bar__secondary--animate,
43-
.linear-progress-bar--animate {
44-
transition: width 0.1s $expand-animation-timing
45-
}
41+
&--animate {
42+
transition: width 0.1s $expand-animation-timing
43+
}
4644

47-
.linear-progress-bar {
4845
&--primary {
4946
@include theme-prop(background-color, primary-color);
5047
}
@@ -63,20 +60,10 @@
6360
}
6461

6562
.linear-progress-bar__secondary {
66-
&--primary {
67-
@include theme-prop(background-color, primary-selected-color);
68-
}
69-
70-
&--secondary {
71-
@include theme-prop(background-color, primary-background-hover-color);
72-
}
63+
opacity: 0.5;
7364

7465
&--positive {
75-
@include theme-prop(background-color, positive-color-selected);
76-
}
77-
78-
&--negative {
79-
@include theme-prop(background-color, negative-color-selected);
66+
opacity: 0.3;
8067
}
8168
}
8269
}

0 commit comments

Comments
 (0)