diff options
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_badge.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objects/_badge.scss b/src/objects/_badge.scss index b3b0c13..7bde262 100644 --- a/src/objects/_badge.scss +++ b/src/objects/_badge.scss | |||
@@ -8,6 +8,8 @@ | |||
8 | --pad-y: fn.global-dim(--size --50), | 8 | --pad-y: fn.global-dim(--size --50), |
9 | --rounding: 3px, | 9 | --rounding: 3px, |
10 | --font-size: fn.global-dim(--font-size --75), | 10 | --font-size: fn.global-dim(--font-size --75), |
11 | --fixed-100: 1em, | ||
12 | --fixed-200: 1.5em, | ||
11 | ), | 13 | ), |
12 | ), 'dims'); | 14 | ), 'dims'); |
13 | 15 | ||
@@ -36,5 +38,13 @@ | |||
36 | background-color: fn.color(--accent --bg); | 38 | background-color: fn.color(--accent --bg); |
37 | color: fn.color(--accent --label); | 39 | color: fn.color(--accent --label); |
38 | } | 40 | } |
41 | |||
42 | @include iro.bem-modifier('fixed-100') { | ||
43 | width: fn.dim(--fixed-100); | ||
44 | } | ||
45 | |||
46 | @include iro.bem-modifier('fixed-200') { | ||
47 | width: fn.dim(--fixed-200); | ||
48 | } | ||
39 | } | 49 | } |
40 | } | 50 | } |