summaryrefslogtreecommitdiffstats
path: root/src/objects/_checkbox.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-07 10:56:11 +0100
committerVolpeon <git@volpeon.ink>2022-02-07 10:56:11 +0100
commitcad79b949b060cd360582c2d208b37a51578e778 (patch)
treea32f05975ce6b0c557a2c9b7d57772ad0e18e40e /src/objects/_checkbox.scss
parentAdded status indicator and avatar (diff)
downloadiro-design-cad79b949b060cd360582c2d208b37a51578e778.tar.gz
iro-design-cad79b949b060cd360582c2d208b37a51578e778.tar.bz2
iro-design-cad79b949b060cd360582c2d208b37a51578e778.zip
Improved font handling
Diffstat (limited to 'src/objects/_checkbox.scss')
-rw-r--r--src/objects/_checkbox.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/_checkbox.scss b/src/objects/_checkbox.scss
index 3bda5e7..5ea2e4a 100644
--- a/src/objects/_checkbox.scss
+++ b/src/objects/_checkbox.scss
@@ -4,7 +4,7 @@
4@include iro.props-namespace('checkbox') { 4@include iro.props-namespace('checkbox') {
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(13px),
8 --label-gap: .6rem, 8 --label-gap: .6rem,
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: .3rem,
@@ -56,7 +56,7 @@
56 flex: 0 0 auto; 56 flex: 0 0 auto;
57 width: fn.dim(--size); 57 width: fn.dim(--size);
58 height: fn.dim(--size); 58 height: fn.dim(--size);
59 margin-top: calc(.5 * ($line-height * 1em - fn.dim(--size))); 59 margin-top: calc(.5 * (fn.global-dim(--font --standard --line-height) * 1em - fn.dim(--size)));
60 border-radius: fn.dim(--border-width); 60 border-radius: fn.dim(--border-width);
61 background-color: fn.color(--box-border); 61 background-color: fn.color(--box-border);
62 62