diff options
author | Volpeon <git@volpeon.ink> | 2022-04-04 17:55:20 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-04-04 17:55:20 +0200 |
commit | 14bbe30114d2acf123ed917a530f35d3e9d03fae (patch) | |
tree | 5ba402d94b07a679a56530ba6c63510bbc7e613b /src/objects | |
parent | Update badge (diff) | |
download | iro-design-14bbe30114d2acf123ed917a530f35d3e9d03fae.tar.gz iro-design-14bbe30114d2acf123ed917a530f35d3e9d03fae.tar.bz2 iro-design-14bbe30114d2acf123ed917a530f35d3e9d03fae.zip |
Added large badge variant
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_badge.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/_badge.scss b/src/objects/_badge.scss index 2f250d2..ee9d5ac 100644 --- a/src/objects/_badge.scss +++ b/src/objects/_badge.scss | |||
@@ -10,6 +10,11 @@ | |||
10 | --font-size: fn.global-dim(--font-size --75), | 10 | --font-size: fn.global-dim(--font-size --75), |
11 | --fixed-100: 1em, | 11 | --fixed-100: 1em, |
12 | --fixed-200: 1.5em, | 12 | --fixed-200: 1.5em, |
13 | |||
14 | --200: ( | ||
15 | --pad-x: fn.global-dim(--size --125), | ||
16 | --pad-y: fn.global-dim(--size --50), | ||
17 | ) | ||
13 | ), | 18 | ), |
14 | ), 'dims'); | 19 | ), 'dims'); |
15 | 20 | ||
@@ -45,5 +50,9 @@ | |||
45 | @include iro.bem-modifier('fixed-200') { | 50 | @include iro.bem-modifier('fixed-200') { |
46 | width: fn.dim(--fixed-200); | 51 | width: fn.dim(--fixed-200); |
47 | } | 52 | } |
53 | |||
54 | @include iro.bem-modifier('200') { | ||
55 | padding: fn.dim(--200 --pad-y) fn.dim(--200 --pad-x); | ||
56 | } | ||
48 | } | 57 | } |
49 | } | 58 | } |