diff options
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 | ||