diff options
author | Volpeon <git@volpeon.ink> | 2024-04-21 16:17:46 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-04-21 16:17:46 +0200 |
commit | 71475febdd8b29e9902ebe6fabdc8ca6a6d2e167 (patch) | |
tree | a36c4909d72539f2adc85b7e4de4d302f70f9ef7 | |
parent | Update (diff) | |
download | iro-design-71475febdd8b29e9902ebe6fabdc8ca6a6d2e167.tar.gz iro-design-71475febdd8b29e9902ebe6fabdc8ca6a6d2e167.tar.bz2 iro-design-71475febdd8b29e9902ebe6fabdc8ca6a6d2e167.zip |
Update
-rw-r--r-- | src/_declare-vars.scss | 2 | ||||
-rw-r--r-- | src/objects/_icon.scss | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss index 2aa06df..eb20836 100644 --- a/src/_declare-vars.scss +++ b/src/_declare-vars.scss | |||
@@ -179,7 +179,7 @@ | |||
179 | 179 | ||
180 | @include iro.props-store(( | 180 | @include iro.props-store(( |
181 | --colors: ( | 181 | --colors: ( |
182 | --gray: fn.gray-palette(92%), | 182 | --gray: fn.gray-palette(93%), |
183 | ), | 183 | ), |
184 | ), 'palette-light-lo'); | 184 | ), 'palette-light-lo'); |
185 | 185 | ||
diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss index ea7ac46..c045056 100644 --- a/src/objects/_icon.scss +++ b/src/objects/_icon.scss | |||
@@ -4,9 +4,10 @@ | |||
4 | @include iro.props-namespace('icon') { | 4 | @include iro.props-namespace('icon') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --stroke: 1.5px, | 7 | --stroke: 1.5px, |
8 | --size: calc(1 / 14 * 16em), | 8 | --size: calc(1 / 14 * 16em), |
9 | --valign: -.17em, | 9 | --vmargin: calc((1em - fn.dim(--size, null)) * .5), |
10 | --valign: -.14em, | ||
10 | ) | 11 | ) |
11 | ), 'dims'); | 12 | ), 'dims'); |
12 | 13 | ||
@@ -14,6 +15,8 @@ | |||
14 | display: inline; | 15 | display: inline; |
15 | width: fn.dim(--size); | 16 | width: fn.dim(--size); |
16 | height: fn.dim(--size); | 17 | height: fn.dim(--size); |
18 | margin-top: fn.dim(--vmargin); | ||
19 | margin-bottom: fn.dim(--vmargin); | ||
17 | stroke-width: fn.dim(--stroke); | 20 | stroke-width: fn.dim(--stroke); |
18 | stroke-linecap: round; | 21 | stroke-linecap: round; |
19 | stroke-linejoin: round; | 22 | stroke-linejoin: round; |