Skip to content

Commit

Permalink
(fix) Properly scope global Toggle component styles
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Jul 29, 2024
1 parent 1a36e87 commit 889b4d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/inputs/toggle/toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
.boldedLabel label {
font-weight: 600;
color: colors.$black-100;
}

:global(.cds--toggle__label-text) {
font-weight: 600;
font-size: 0.85rem;
color: colors.$black-100;
:global(.cds--toggle__label-text) {
font-weight: 600;
font-size: 0.85rem;
color: colors.$black-100;
}
}

0 comments on commit 889b4d2

Please sign in to comment.