Skip to content

Commit

Permalink
fix: use color token for switch (#1689)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ico authored Mar 24, 2023
1 parent b6e2be8 commit 870ad52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/switch/switch.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ scale-switch {
--spacing-x-label: var(--telekom-spacing-unit-x2);
--font-label: var(--telekom-text-style-ui);
--font-io-text: var(--telekom-text-style-small-bold);
--color-label: var(--telekom-color-text-and-icon-standard);
}

.switch {
Expand Down Expand Up @@ -240,6 +241,7 @@ scale-switch {
.switch__label-text {
font: var(--font-label);
margin-inline-start: var(--spacing-x-label);
color: var(--color-label);
}

/* PLATFORM Android */
Expand Down

0 comments on commit 870ad52

Please sign in to comment.