From 71475febdd8b29e9902ebe6fabdc8ca6a6d2e167 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 21 Apr 2024 16:17:46 +0200 Subject: Update --- src/_declare-vars.scss | 2 +- 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 @@ @include iro.props-store(( --colors: ( - --gray: fn.gray-palette(92%), + --gray: fn.gray-palette(93%), ), ), 'palette-light-lo'); 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 @@ @include iro.props-namespace('icon') { @include iro.props-store(( --dims: ( - --stroke: 1.5px, - --size: calc(1 / 14 * 16em), - --valign: -.17em, + --stroke: 1.5px, + --size: calc(1 / 14 * 16em), + --vmargin: calc((1em - fn.dim(--size, null)) * .5), + --valign: -.14em, ) ), 'dims'); @@ -14,6 +15,8 @@ display: inline; width: fn.dim(--size); height: fn.dim(--size); + margin-top: fn.dim(--vmargin); + margin-bottom: fn.dim(--vmargin); stroke-width: fn.dim(--stroke); stroke-linecap: round; stroke-linejoin: round; -- cgit v1.2.3-54-g00ecf