diff options
author | Volpeon <git@volpeon.ink> | 2023-12-18 11:50:09 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-12-18 11:50:09 +0100 |
commit | ef4793e96c1ebacfec0f70c72d3d085138027418 (patch) | |
tree | bd4c1b7fb518661189e4c98b843d25396557dac0 /src/objects | |
parent | New default font: Inter (diff) | |
download | iro-design-ef4793e96c1ebacfec0f70c72d3d085138027418.tar.gz iro-design-ef4793e96c1ebacfec0f70c72d3d085138027418.tar.bz2 iro-design-ef4793e96c1ebacfec0f70c72d3d085138027418.zip |
Headline typography
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_heading.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 3e6ac7c..514f0a6 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss | |||
@@ -5,6 +5,12 @@ | |||
5 | 5 | ||
6 | @include iro.props-namespace('heading') { | 6 | @include iro.props-namespace('heading') { |
7 | @include iro.props-store(( | 7 | @include iro.props-store(( |
8 | --dims: ( | ||
9 | --offset: -.04em, | ||
10 | ) | ||
11 | ), 'dims'); | ||
12 | |||
13 | @include iro.props-store(( | ||
8 | --colors: ( | 14 | --colors: ( |
9 | --light: fn.global-color(--fg-hi), | 15 | --light: fn.global-color(--fg-hi), |
10 | --strong: fn.global-color(--fg-lo), | 16 | --strong: fn.global-color(--fg-lo), |
@@ -17,7 +23,7 @@ | |||
17 | 23 | ||
18 | display: block; | 24 | display: block; |
19 | margin-top: fn.global-dim(--heading --margin-top); | 25 | margin-top: fn.global-dim(--heading --margin-top); |
20 | transform: translateX(-.06em); | 26 | transform: translateX(fn.dim(--offset)); |
21 | letter-spacing: normal; | 27 | letter-spacing: normal; |
22 | text-transform: none; | 28 | text-transform: none; |
23 | 29 | ||