From a031d5d58865f9fb054f68ce111b3f08f7098984 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 24 Jan 2023 15:15:16 +0100 Subject: Avatar --- src/objects/_avatar.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/objects/_avatar.scss') diff --git a/src/objects/_avatar.scss b/src/objects/_avatar.scss index 526912f..0dd7879 100644 --- a/src/objects/_avatar.scss +++ b/src/objects/_avatar.scss @@ -74,12 +74,15 @@ width: fn.dim(--100 --size); height: fn.dim(--100 --size); border-radius: fn.dim(--rounding); - background-color: hsl(fn.color(--h), fn.color(--s), fn.color(--l)); color: #fff; line-height: fn.dim(--100 --size); text-align: center; object-fit: cover; object-position: center center; + + @include iro.bem-modifier('colored') { + background-color: hsl(fn.color(--h), fn.color(--s), fn.color(--l)); + } } @include iro.bem-modifier('circle') { -- cgit v1.2.3-70-g09d2