summaryrefslogtreecommitdiffstats
path: root/src/objects/_switch.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_switch.scss')
-rw-r--r--src/objects/_switch.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/_switch.scss b/src/objects/_switch.scss
index 2d70844..9911b73 100644
--- a/src/objects/_switch.scss
+++ b/src/objects/_switch.scss
@@ -5,7 +5,7 @@
5 @include iro.props-store(( 5 @include iro.props-store((
6 --dims: ( 6 --dims: (
7 --width: iro.fn-px-to-rem(26px), 7 --width: iro.fn-px-to-rem(26px),
8 --height: iro.fn-px-to-rem(15px), 8 --height: iro.fn-px-to-rem(14px),
9 --label-gap: .6rem, 9 --label-gap: .6rem,
10 --border-width: fn.global-dim(--border-width --medium), 10 --border-width: fn.global-dim(--border-width --medium),
11 --pad-x: .3rem, 11 --pad-x: .3rem,
@@ -61,7 +61,7 @@
61 flex: 0 0 auto; 61 flex: 0 0 auto;
62 width: fn.dim(--width); 62 width: fn.dim(--width);
63 height: fn.dim(--height); 63 height: fn.dim(--height);
64 margin-top: calc(.5 * ($line-height * 1em - fn.dim(--height))); 64 margin-top: calc(.5 * (fn.global-dim(--font --standard --line-height) * 1em - fn.dim(--height)));
65 transition: background-color .2s ease; 65 transition: background-color .2s ease;
66 border-radius: 2em; 66 border-radius: 2em;
67 background-color: fn.color(--track-bg); 67 background-color: fn.color(--track-bg);