Skip to content

Commit f4c34d2

Browse files
authored
fix(step): use vanilla theme colors for stepper component (#1220)
Signed-off-by: David Edler <david.edler@canonical.com>
1 parent b062e8b commit f4c34d2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/components/Stepper/Step/Step.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "vanilla-framework";
22

33
.step-number {
4-
border: 0.08rem solid black;
4+
border: 0.08rem solid $colors--theme--border-high-contrast;
55
border-radius: 1rem;
66
height: 1.4rem;
77
line-height: 1.3;
@@ -13,8 +13,8 @@
1313
}
1414

1515
.step-number-disabled {
16-
border: 0.08rem solid #757575;
17-
color: #757575;
16+
border: 0.08rem solid $colors--theme--text-muted;
17+
color: $colors--theme--text-muted;
1818
}
1919

2020
.step-content {
@@ -30,7 +30,7 @@
3030
}
3131

3232
.step-disabled {
33-
color: #757575;
33+
color: $colors--theme--text-muted;
3434
pointer-events: none;
3535
}
3636

@@ -41,7 +41,7 @@
4141
}
4242

4343
.step-selected {
44-
background-color: var(--vf-color-background-alt);
44+
background-color: $colors--theme--background-active;
4545
}
4646

4747
.step-optional-content {
@@ -57,7 +57,7 @@
5757
}
5858

5959
.step {
60-
border-top: 0.2rem solid var(--vf-color-border-default);
60+
border-top: 0.2rem solid $colors--theme--border-default;
6161
display: flex;
6262
height: 100%;
6363
padding: 0.4rem $spv--medium;
@@ -77,7 +77,7 @@
7777
}
7878

7979
.progress-line {
80-
border-top: 0.2rem solid black;
80+
border-top: 0.2rem solid $colors--theme--border-high-contrast;
8181
}
8282

8383
:first-child .step {
@@ -92,15 +92,15 @@
9292
}
9393

9494
.step {
95-
border-left: 0.2rem solid var(--vf-color-border-default);
95+
border-left: 0.2rem solid $colors--theme--border-default;
9696
display: flex;
9797
padding: $spv--medium 0;
9898
padding-right: 0.5rem;
9999
width: fit-content;
100100
}
101101

102102
.progress-line {
103-
border-left: 0.2rem solid black;
103+
border-left: 0.2rem solid $colors--theme--border-high-contrast;
104104
}
105105

106106
:first-child .step {

0 commit comments

Comments
 (0)