From 352f17937c25d67548b6afb9bcf0674cc9e59feb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 12 Mar 2022 08:27:34 +0100 Subject: Added fixed sizes to badge --- src/objects/_badge.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 @@ --pad-y: fn.global-dim(--size --50), --rounding: 3px, --font-size: fn.global-dim(--font-size --75), + --fixed-100: 1em, + --fixed-200: 1.5em, ), ), 'dims'); @@ -36,5 +38,13 @@ background-color: fn.color(--accent --bg); color: fn.color(--accent --label); } + + @include iro.bem-modifier('fixed-100') { + width: fn.dim(--fixed-100); + } + + @include iro.bem-modifier('fixed-200') { + width: fn.dim(--fixed-200); + } } } -- cgit v1.2.3-70-g09d2