Skip to content

Commit

Permalink
fix(toggle): sync width and color with mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin Lee committed Dec 12, 2022
1 parent 94a21aa commit c6e92c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Toggle/Toggle.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: inline-flex;

height: var(--eds-size-3);
width: var(--eds-size-6);
width: var(--eds-size-7);

flex-shrink: 0;
align-items: center;
Expand All @@ -33,7 +33,7 @@
}

.toggle__button--checked {
background-color: var(--eds-theme-color-icon-brand-primary);
background-color: var(--eds-theme-color-icon-link-default);
}

.toggle__button:disabled {
Expand Down Expand Up @@ -82,5 +82,5 @@
}

.toggle__button--checked > .toggle__button-circle {
transform: translateX(1.5625rem);
transform: translateX(2.0625rem);
}

0 comments on commit c6e92c8

Please sign in to comment.