Skip to content

Commit

Permalink
fix: high contrast label colors
Browse files Browse the repository at this point in the history
  • Loading branch information
dauriamarco committed May 27, 2024
1 parent 6235a8e commit 94da7c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/stepper/step-label/step-label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,19 @@
@include sbb.text-xxs--bold;

--sbb-step-label-color: var(--sbb-color-charcoal);

@include sbb.if-forced-colors {
--sbb-step-label-color: Highlight !important;
}
}

:host([disabled]) {
--sbb-step-label-color: var(--sbb-color-granite);
--sbb-step-label-prefix-border-style: dashed;

@include sbb.if-forced-colors {
--sbb-step-label-color: GrayText !important;
}
}

:host(:hover:not([disabled])) {
Expand Down

0 comments on commit 94da7c3

Please sign in to comment.