diff options
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_heading.scss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 24971bb..b5f02d8 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss | |||
@@ -1,5 +1,6 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | 1 | @use 'iro-sass/src/index' as iro; |
2 | @use '../functions' as fn; | 2 | @use '../functions' as fn; |
3 | @use '../mixins' as mx; | ||
3 | 4 | ||
4 | @include iro.props-namespace('heading') { | 5 | @include iro.props-namespace('heading') { |
5 | @include iro.props-store(( | 6 | @include iro.props-store(( |
@@ -20,7 +21,7 @@ | |||
20 | ), 'colors'); | 21 | ), 'colors'); |
21 | 22 | ||
22 | @include iro.bem-object(iro.props-namespace()) { | 23 | @include iro.bem-object(iro.props-namespace()) { |
23 | @include fn.set-font(--headline); | 24 | @include mx.set-font(--headline); |
24 | 25 | ||
25 | display: block; | 26 | display: block; |
26 | margin-top: fn.dim(--in-page-margin --top); | 27 | margin-top: fn.dim(--in-page-margin --top); |
@@ -51,7 +52,7 @@ | |||
51 | } | 52 | } |
52 | 53 | ||
53 | @include iro.bem-modifier('sm') { | 54 | @include iro.bem-modifier('sm') { |
54 | @include fn.set-font(--standard, ( | 55 | @include mx.set-font(--standard, ( |
55 | --line-height: null, | 56 | --line-height: null, |
56 | --size: fn.global-dim(--font-size --md), | 57 | --size: fn.global-dim(--font-size --md), |
57 | --weight: 500 | 58 | --weight: 500 |
@@ -61,7 +62,7 @@ | |||
61 | } | 62 | } |
62 | 63 | ||
63 | @include iro.bem-modifier('xs') { | 64 | @include iro.bem-modifier('xs') { |
64 | @include fn.set-font(--standard, ( | 65 | @include mx.set-font(--standard, ( |
65 | --line-height: null, | 66 | --line-height: null, |
66 | --size: fn.global-dim(--font-size --xs), | 67 | --size: fn.global-dim(--font-size --xs), |
67 | --weight: 500, | 68 | --weight: 500, |