From 41631f57681f3ac89b729165a2040da585c12a25 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 15 Oct 2023 18:54:01 +0200 Subject: Update --- src/objects/_avatar.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/objects/_avatar.scss b/src/objects/_avatar.scss index 958d939..8755c32 100644 --- a/src/objects/_avatar.scss +++ b/src/objects/_avatar.scss @@ -106,15 +106,10 @@ width: fn.dim(--100 --size); height: fn.dim(--100 --size); border-radius: fn.dim(--rounding); - 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') { @@ -136,6 +131,7 @@ @include iro.bem-modifier('colored') { @include iro.bem-elem('content') { background-color: hsl(fn.color(--h), fn.color(--s), fn.color(--l)); + color: #fff; } } -- cgit v1.2.3-54-g00ecf