Skip to content

Commit

Permalink
update switch theme with correct values
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaint committed Dec 31, 2024
1 parent e0b9832 commit c302ce7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libs/design/switch/src/switch-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
@use '../../scss/theming';

@mixin daff-switch-theme($theme) {
$primary: map.get($theme, primary);
$base: core.daff-map-deep-get($theme, 'core.base');
$base-contrast: core.daff-map-deep-get($theme, 'core.base-contrast');
$white: core.daff-map-deep-get($theme, 'core.white');
$black: core.daff-map-deep-get($theme, 'core.black');
$neutral: core.daff-map-deep-get($theme, 'core.neutral');
$primary: core.daff-map-get($theme, primary);
$base: core.daff-map-get($theme, 'core', 'base');
$base-contrast: core.daff-map-get($theme, 'core', 'base-contrast');
$white: core.daff-map-get($theme, 'core', 'white');
$black: core.daff-map-get($theme, 'core', 'black');
$neutral: core.daff-map-get($theme, 'core', 'neutral');

.daff-switch {
&__toggle {
Expand Down

0 comments on commit c302ce7

Please sign in to comment.