Skip to content

Commit 6d45f5b

Browse files
refactor(stepper): update bootstrap colors (#509)
Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 9f32934 commit 6d45f5b

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

sass/themes/schemas/components/dark/_stepper.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ $dark-fluent-stepper: extend(
273273

274274
/// Generates a dark bootstrap stepper schema.
275275
/// @type {Map}
276+
/// @prop {Map} indicator-color [color: ('primary', 300)] - The text color of the incomplete step indicator.
276277
/// @prop {Map} step-separator-color [color: ('gray', 100)] - The separator border-color of between the steps.
277278
/// @prop {Map} invalid-title-color [color: ('error', 400)] - The color of the invalid step title.
278279
/// @prop {Map} invalid-title-hover-color [color: ('error', 400)] - The color of the invalid step title on hover.
@@ -287,6 +288,12 @@ $dark-bootstrap-stepper: extend(
287288
$bootstrap-stepper,
288289
$base-stepper,
289290
(
291+
indicator-color: (
292+
color: (
293+
'primary',
294+
300,
295+
),
296+
),
290297
step-separator-color: (
291298
color: (
292299
'gray',

sass/themes/schemas/components/light/_stepper.scss

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
/// @prop {Map} subtitle-color [color: ('gray', 700)] - The text color of the step subtitle.
1717
/// @prop {Map} subtitle-hover-color [color: ('gray', 700)] - The text color of the step subtitle on hover.
1818
/// @prop {Map} subtitle-focus-color [color: ('gray', 700)] - The text color of the step subtitle on focus.
19-
/// @prop {Map} indicator-color [color: ('primary', 500)] - The text color of the incomplete step indicator.
2019
/// @prop {Color} indicator-background [transparent] - The background color of the incomplete step indicator.
2120
/// @prop {Map} indicator-outline [color: ('gray', 400)] - The outline color of the incomplete step indicator.
2221
/// @prop {Color} invalid-step-background [transparent] - The background of the invalid step header.
@@ -75,12 +74,6 @@ $light-stepper: (
7574
300,
7675
),
7776
),
78-
indicator-color: (
79-
color: (
80-
'primary',
81-
500,
82-
),
83-
),
8477
title-color: (
8578
color: (
8679
'gray',
@@ -638,6 +631,7 @@ $fluent-stepper: extend(
638631

639632
/// Generates a bootstrap stepper schema.
640633
/// @type {Map}
634+
/// @prop {Map} indicator-color [color: ('primary', 600)] - The text color of the incomplete step indicator.
641635
/// @prop {Map} indicator-outline [color: ('gray', 400)] - The outline color of the incomplete step indicator.
642636
/// @prop {Map} disabled-indicator-outline [color: ('gray', 300)] - The outline color of the disabled step indicator.
643637
/// @prop {Map} complete-indicator-background [color: ('gray', 300)] - The background color of the completed step indicator.
@@ -664,6 +658,18 @@ $fluent-stepper: extend(
664658
$bootstrap-stepper: extend(
665659
$light-stepper,
666660
(
661+
indicator-color: (
662+
color: (
663+
'primary',
664+
600,
665+
),
666+
),
667+
indicator-outline: (
668+
color: (
669+
'gray',
670+
400,
671+
),
672+
),
667673
step-hover-background: (
668674
color: (
669675
'gray',
@@ -756,13 +762,6 @@ $bootstrap-stepper: extend(
756762
0.5,
757763
),
758764
),
759-
indicator-outline: (
760-
color: (
761-
'gray',
762-
400,
763-
),
764-
),
765-
766765
// Complete
767766
complete-indicator-background:
768767
(

0 commit comments

Comments
 (0)