Skip to content

Commit 383a7fc

Browse files
fix(stepper): icon size and title/subtitle colors in bootstrap theme (#12153)
* feat(stepper): fix icon size in bootstrap theme. * style(theme): revert theme vars to material theme * style(theme): change title and subtitle colors Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent b4e3de8 commit 383a7fc

File tree

2 files changed

+6
-27
lines changed

2 files changed

+6
-27
lines changed

projects/igniteui-angular/src/lib/core/styles/components/stepper/_stepper-theme.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,12 @@
538538
font-size: var(--igx-icon-size, #{calc(#{$indicator-size} - #{rem(6px)})});
539539
color: inherit;
540540
}
541+
} @else if $variant == 'bootstrap' {
542+
> igx-icon {
543+
width: var(--igx-icon-size, #{rem(18px)});
544+
height: var(--igx-icon-size, #{rem(18px)});
545+
font-size: var(--igx-icon-size, #{rem(18px)});
546+
}
541547
}
542548

543549
div > igx-icon,

projects/igniteui-angular/src/lib/core/styles/themes/schemas/light/_stepper.scss

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,6 @@ $fluent-stepper: extend(
320320
/// @property {Color} indicator-background [transparent] - The background color of the incomplete step indicator.
321321
/// @property {Map} indicator-outline [color: ('grays', 300)] - The outline color of the incomplete step indicator.
322322
///
323-
/// @property {Map} current-title-color [color: ('primary', 500)] - The color of the current step title.
324-
/// @property {Map} current-title-hover-color [color: ('primary', 500)] - The color of the current step title on hover.
325-
/// @property {Map} current-title-focus-color [color: ('primary', 500)] - The color of the current step title on focus.
326-
/// @property {Map} current-subtitle-color [color: ('primary', 500)] - The color of the current step subtitle.
327-
/// @property {Map} current-subtitle-hover-color [color: ('primary', 500)] - The color of the current step subtitle on hover.
328-
/// @property {Map} current-subtitle-focus-color [color: ('primary', 500)] - The color of the current step subtitle on focus.
329-
///
330323
/// @property {Color} disabled-indicator-background [transparent] - The background color of the disabled step indicator.
331324
/// @property {Map} disabled-indicator-outline [color: ('grays', 300)] - The outline color of the disabled step indicator.
332325
///
@@ -392,26 +385,6 @@ $bootstrap-stepper: extend(
392385
color: ('primary', 500)
393386
),
394387

395-
// Current
396-
current-title-color: (
397-
color: ('primary', 500)
398-
),
399-
current-title-hover-color: (
400-
color: ('primary', 500)
401-
),
402-
current-title-focus-color: (
403-
color: ('primary', 500)
404-
),
405-
current-subtitle-color: (
406-
color: ('primary', 500)
407-
),
408-
current-subtitle-hover-color: (
409-
color: ('primary', 500)
410-
),
411-
current-subtitle-focus-color: (
412-
color: ('primary', 500)
413-
),
414-
415388
// Complete
416389
complete-indicator-background: (
417390
color: ('grays', 400)

0 commit comments

Comments
 (0)