summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-10-29 21:43:11 +0100
committerVolpeon <git@volpeon.ink>2023-10-29 21:43:11 +0100
commit101934fcb11fe138abcd54eeb0b1d5c2b29a3502 (patch)
tree2b36b9308e6a999b74d1f1b4a64c000c35dae75c /src
parentUpdate (diff)
downloadiro-design-101934fcb11fe138abcd54eeb0b1d5c2b29a3502.tar.gz
iro-design-101934fcb11fe138abcd54eeb0b1d5c2b29a3502.tar.bz2
iro-design-101934fcb11fe138abcd54eeb0b1d5c2b29a3502.zip
Normalize icon bounding box
Diffstat (limited to 'src')
-rw-r--r--src/objects/_icon.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss
index 170dca5..bb48efd 100644
--- a/src/objects/_icon.scss
+++ b/src/objects/_icon.scss
@@ -6,7 +6,7 @@
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: -.18em 9 --valign: -.12em
10 ) 10 )
11 ), 'dims'); 11 ), 'dims');
12 12
@@ -14,6 +14,7 @@
14 display: inline; 14 display: inline;
15 width: fn.dim(--size); 15 width: fn.dim(--size);
16 height: fn.dim(--size); 16 height: fn.dim(--size);
17 margin: calc(.5 * (1em - fn.dim(--size)));
17 stroke-width: fn.dim(--stroke); 18 stroke-width: fn.dim(--stroke);
18 stroke-linecap: round; 19 stroke-linecap: round;
19 stroke-linejoin: round; 20 stroke-linejoin: round;