diff options
author | Volpeon <git@volpeon.ink> | 2022-02-11 22:38:01 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-11 22:38:01 +0100 |
commit | d1a14dea4668a0ae8bdbd0f6f32376cd8406688d (patch) | |
tree | 4a38e62aef770699da12c01e58f14a2215fb8154 /src/objects | |
parent | Added button group (diff) | |
download | iro-design-d1a14dea4668a0ae8bdbd0f6f32376cd8406688d.tar.gz iro-design-d1a14dea4668a0ae8bdbd0f6f32376cd8406688d.tar.bz2 iro-design-d1a14dea4668a0ae8bdbd0f6f32376cd8406688d.zip |
Update
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_action-button.scss | 4 | ||||
-rw-r--r-- | src/objects/_action-menu.scss | 4 | ||||
-rw-r--r-- | src/objects/_button.scss | 4 | ||||
-rw-r--r-- | src/objects/_checkbox.scss | 6 | ||||
-rw-r--r-- | src/objects/_menu.scss | 2 | ||||
-rw-r--r-- | src/objects/_radio.scss | 6 | ||||
-rw-r--r-- | src/objects/_switch.scss | 6 | ||||
-rw-r--r-- | src/objects/_text-field.scss | 4 |
8 files changed, 18 insertions, 18 deletions
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 @@ | |||
4 | @include iro.props-namespace('action-button') { | 4 | @include iro.props-namespace('action-button') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --pad-x: .6rem, | 7 | --pad-x: iro.fn-px-to-rem(10px), |
8 | --pad-y: .6rem, | 8 | --pad-y: iro.fn-px-to-rem(10px), |
9 | --rounding: 3px, | 9 | --rounding: 3px, |
10 | ), | 10 | ), |
11 | ), 'dims'); | 11 | ), '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 @@ | |||
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --pad-x: 0, | 7 | --pad-x: 0, |
8 | --pad-y: .3rem, | 8 | --pad-y: iro.fn-px-to-rem(5px), |
9 | --separator: .3rem, | 9 | --separator: iro.fn-px-to-rem(5px), |
10 | --rounding: 3px, | 10 | --rounding: 3px, |
11 | --border: 1px, | 11 | --border: 1px, |
12 | --item: ( | 12 | --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 @@ | |||
35 | @include iro.props-namespace('button') { | 35 | @include iro.props-namespace('button') { |
36 | @include iro.props-store(( | 36 | @include iro.props-store(( |
37 | --dims: ( | 37 | --dims: ( |
38 | --pad-x: 1.2rem, | 38 | --pad-x: iro.fn-px-to-rem(19px), |
39 | --pad-y: .5rem, | 39 | --pad-y: iro.fn-px-to-rem(8px), |
40 | --rounding: 10em, | 40 | --rounding: 10em, |
41 | ), | 41 | ), |
42 | ), 'dims'); | 42 | ), '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 @@ | |||
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --size: iro.fn-px-to-rem(14px), | 7 | --size: iro.fn-px-to-rem(14px), |
8 | --label-gap: .6rem, | 8 | --label-gap: iro.fn-px-to-rem(10px), |
9 | --border-width: fn.global-dim(--border-width --medium), | 9 | --border-width: fn.global-dim(--border-width --medium), |
10 | --pad-x: .3rem, | 10 | --pad-x: iro.fn-px-to-rem(5px), |
11 | --pad-y: .3rem, | 11 | --pad-y: iro.fn-px-to-rem(5px), |
12 | --margin-right: fn.global-dim(--spacing --x --md), | 12 | --margin-right: fn.global-dim(--spacing --x --md), |
13 | ), | 13 | ), |
14 | ), 'dims'); | 14 | ), '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 @@ | |||
4 | @include iro.props-namespace('menu') { | 4 | @include iro.props-namespace('menu') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --separator: .6rem, | 7 | --separator: iro.fn-px-to-rem(10px), |
8 | --item: ( | 8 | --item: ( |
9 | --pad-x: iro.fn-px-to-rem(10px), | 9 | --pad-x: iro.fn-px-to-rem(10px), |
10 | --pad-y: iro.fn-px-to-rem(5px), | 10 | --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 @@ | |||
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --diameter: iro.fn-px-to-rem(15px), | 7 | --diameter: iro.fn-px-to-rem(15px), |
8 | --label-gap: .6rem, | 8 | --label-gap: iro.fn-px-to-rem(10px), |
9 | --border-width: fn.global-dim(--border-width --medium), | 9 | --border-width: fn.global-dim(--border-width --medium), |
10 | --pad-x: .3rem, | 10 | --pad-x: iro.fn-px-to-rem(5px), |
11 | --pad-y: .3rem, | 11 | --pad-y: iro.fn-px-to-rem(5px), |
12 | --margin-right: fn.global-dim(--spacing --x --md), | 12 | --margin-right: fn.global-dim(--spacing --x --md), |
13 | ), | 13 | ), |
14 | ), 'dims'); | 14 | ), '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 @@ | |||
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(15px), |
9 | --label-gap: .6rem, | 9 | --label-gap: iro.fn-px-to-rem(10px), |
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: iro.fn-px-to-rem(5px), |
12 | --pad-y: .3rem, | 12 | --pad-y: iro.fn-px-to-rem(5px), |
13 | --margin-right: fn.global-dim(--spacing --x --md), | 13 | --margin-right: fn.global-dim(--spacing --x --md), |
14 | ), | 14 | ), |
15 | ), 'dims'); | 15 | ), '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 @@ | |||
32 | @include iro.props-namespace('text-field') { | 32 | @include iro.props-namespace('text-field') { |
33 | @include iro.props-store(( | 33 | @include iro.props-store(( |
34 | --dims: ( | 34 | --dims: ( |
35 | --pad-x: .6rem, | 35 | --pad-x: iro.fn-px-to-rem(10px), |
36 | --pad-y: .5rem, | 36 | --pad-y: iro.fn-px-to-rem(8px), |
37 | --border-width: fn.global-dim(--border-width --thin), | 37 | --border-width: fn.global-dim(--border-width --thin), |
38 | --border-radius: 2px, | 38 | --border-radius: 2px, |
39 | 39 | ||