diff options
author | Volpeon <git@volpeon.ink> | 2022-03-12 08:27:34 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-12 08:27:34 +0100 |
commit | 352f17937c25d67548b6afb9bcf0674cc9e59feb (patch) | |
tree | dea015884db2ffa9684c32d31fb7d328ec0e885b /src | |
parent | Fix field label hint color (diff) | |
download | iro-design-352f17937c25d67548b6afb9bcf0674cc9e59feb.tar.gz iro-design-352f17937c25d67548b6afb9bcf0674cc9e59feb.tar.bz2 iro-design-352f17937c25d67548b6afb9bcf0674cc9e59feb.zip |
Added fixed sizes to badge
Diffstat (limited to 'src')
-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 | } |