From d1a14dea4668a0ae8bdbd0f6f32376cd8406688d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 11 Feb 2022 22:38:01 +0100 Subject: Update --- src/objects/_action-button.scss | 4 ++-- src/objects/_action-menu.scss | 4 ++-- src/objects/_button.scss | 4 ++-- src/objects/_checkbox.scss | 6 +++--- src/objects/_menu.scss | 2 +- src/objects/_radio.scss | 6 +++--- src/objects/_switch.scss | 6 +++--- src/objects/_text-field.scss | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index 751a01e..160aa5d 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss @@ -4,8 +4,8 @@ @include iro.props-namespace('action-button') { @include iro.props-store(( --dims: ( - --pad-x: .6rem, - --pad-y: .6rem, + --pad-x: iro.fn-px-to-rem(10px), + --pad-y: iro.fn-px-to-rem(10px), --rounding: 3px, ), ), 'dims'); diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index 3c10604..4f73cf7 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss @@ -5,8 +5,8 @@ @include iro.props-store(( --dims: ( --pad-x: 0, - --pad-y: .3rem, - --separator: .3rem, + --pad-y: iro.fn-px-to-rem(5px), + --separator: iro.fn-px-to-rem(5px), --rounding: 3px, --border: 1px, --item: ( diff --git a/src/objects/_button.scss b/src/objects/_button.scss index e5fcfaa..586ee84 100644 --- a/src/objects/_button.scss +++ b/src/objects/_button.scss @@ -35,8 +35,8 @@ @include iro.props-namespace('button') { @include iro.props-store(( --dims: ( - --pad-x: 1.2rem, - --pad-y: .5rem, + --pad-x: iro.fn-px-to-rem(19px), + --pad-y: iro.fn-px-to-rem(8px), --rounding: 10em, ), ), 'dims'); diff --git a/src/objects/_checkbox.scss b/src/objects/_checkbox.scss index 053a6ab..5d81b19 100644 --- a/src/objects/_checkbox.scss +++ b/src/objects/_checkbox.scss @@ -5,10 +5,10 @@ @include iro.props-store(( --dims: ( --size: iro.fn-px-to-rem(14px), - --label-gap: .6rem, + --label-gap: iro.fn-px-to-rem(10px), --border-width: fn.global-dim(--border-width --medium), - --pad-x: .3rem, - --pad-y: .3rem, + --pad-x: iro.fn-px-to-rem(5px), + --pad-y: iro.fn-px-to-rem(5px), --margin-right: fn.global-dim(--spacing --x --md), ), ), 'dims'); diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index 12899a3..4707209 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss @@ -4,7 +4,7 @@ @include iro.props-namespace('menu') { @include iro.props-store(( --dims: ( - --separator: .6rem, + --separator: iro.fn-px-to-rem(10px), --item: ( --pad-x: iro.fn-px-to-rem(10px), --pad-y: iro.fn-px-to-rem(5px), diff --git a/src/objects/_radio.scss b/src/objects/_radio.scss index f5f3632..1a6e1a6 100644 --- a/src/objects/_radio.scss +++ b/src/objects/_radio.scss @@ -5,10 +5,10 @@ @include iro.props-store(( --dims: ( --diameter: iro.fn-px-to-rem(15px), - --label-gap: .6rem, + --label-gap: iro.fn-px-to-rem(10px), --border-width: fn.global-dim(--border-width --medium), - --pad-x: .3rem, - --pad-y: .3rem, + --pad-x: iro.fn-px-to-rem(5px), + --pad-y: iro.fn-px-to-rem(5px), --margin-right: fn.global-dim(--spacing --x --md), ), ), 'dims'); diff --git a/src/objects/_switch.scss b/src/objects/_switch.scss index 4417297..1a2fb80 100644 --- a/src/objects/_switch.scss +++ b/src/objects/_switch.scss @@ -6,10 +6,10 @@ --dims: ( --width: iro.fn-px-to-rem(26px), --height: iro.fn-px-to-rem(15px), - --label-gap: .6rem, + --label-gap: iro.fn-px-to-rem(10px), --border-width: fn.global-dim(--border-width --medium), - --pad-x: .3rem, - --pad-y: .3rem, + --pad-x: iro.fn-px-to-rem(5px), + --pad-y: iro.fn-px-to-rem(5px), --margin-right: fn.global-dim(--spacing --x --md), ), ), 'dims'); diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 55e8a5c..1bd7ea1 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss @@ -32,8 +32,8 @@ @include iro.props-namespace('text-field') { @include iro.props-store(( --dims: ( - --pad-x: .6rem, - --pad-y: .5rem, + --pad-x: iro.fn-px-to-rem(10px), + --pad-y: iro.fn-px-to-rem(8px), --border-width: fn.global-dim(--border-width --thin), --border-radius: 2px, -- cgit v1.2.3-70-g09d2