diff options
Diffstat (limited to 'src/objects/_switch.scss')
-rw-r--r-- | src/objects/_switch.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objects/_switch.scss b/src/objects/_switch.scss index b5aa839..447335e 100644 --- a/src/objects/_switch.scss +++ b/src/objects/_switch.scss | |||
@@ -4,12 +4,12 @@ | |||
4 | @include iro.props-namespace('switch') { | 4 | @include iro.props-namespace('switch') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --width: iro.fn-px-to-rem(26px), | 7 | --width: fn.global-dim(--size --325), |
8 | --height: iro.fn-px-to-rem(15px), | 8 | --height: calc(fn.global-dim(--size --175) + 1px), |
9 | --label-gap: iro.fn-px-to-rem(10px), | 9 | --label-gap: fn.global-dim(--size --125), |
10 | --border-width: fn.global-dim(--border-width --medium), | 10 | --border-width: fn.global-dim(--border-width --medium), |
11 | --pad-x: iro.fn-px-to-rem(5px), | 11 | --pad-x: fn.global-dim(--size --65), |
12 | --pad-y: iro.fn-px-to-rem(5px), | 12 | --pad-y: fn.global-dim(--size --65), |
13 | --margin-right: fn.global-dim(--size --325), | 13 | --margin-right: fn.global-dim(--size --325), |
14 | ), | 14 | ), |
15 | ), 'dims'); | 15 | ), 'dims'); |