From 14bbe30114d2acf123ed917a530f35d3e9d03fae Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 4 Apr 2022 17:55:20 +0200 Subject: Added large badge variant --- src/objects/_badge.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/objects') 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 @@ --font-size: fn.global-dim(--font-size --75), --fixed-100: 1em, --fixed-200: 1.5em, + + --200: ( + --pad-x: fn.global-dim(--size --125), + --pad-y: fn.global-dim(--size --50), + ) ), ), 'dims'); @@ -45,5 +50,9 @@ @include iro.bem-modifier('fixed-200') { width: fn.dim(--fixed-200); } + + @include iro.bem-modifier('200') { + padding: fn.dim(--200 --pad-y) fn.dim(--200 --pad-x); + } } } -- cgit v1.2.3-70-g09d2