From d1f2396c76012cb92368e3f7a2b091afd509906f Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell <gamers@riseup.net> Date: Mon, 24 Mar 2025 23:45:16 -0600 Subject: [PATCH] fix avatar statuses for visual refresh --- src/avatars.scss | 16 +++++++++++----- src/color_overrides.scss | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/avatars.scss b/src/avatars.scss index 4600156..3e09ba2 100644 --- a/src/avatars.scss +++ b/src/avatars.scss @@ -111,7 +111,9 @@ div[class^="listItem_"] [class^="wrapper_"] > svg > foreignObject, left: 0; border-radius: 0% !important; - box-shadow: inset 0 0 0 1px var(--status-color), inset 0 0 0 2px #{colors.$tertiary}, + box-shadow: + inset 0 0 0 1px var(--status-color), + inset 0 0 0 2px #{colors.$tertiary}, inset 0 0 2px 3px #{colors.$primary}; } & > svg { @@ -133,16 +135,20 @@ div[class^="listItem_"] [class^="wrapper_"] > svg > foreignObject, } } - &:has(rect[fill="#23a55a"]) { + &:has(rect[fill="#23a55a"]), + &:has(rect[fill="#43a25a"]) { --status-color: #{colors.$c2}; } - &:has(rect[fill="#f0b232"]) { + &:has(rect[fill="#f0b232"]), + &:has(rect[fill="#ca9654"]) { --status-color: #{colors.$c3}; } - &:has(rect[fill="#f23f43"]) { + &:has(rect[fill="#f23f43"]), + &:has(rect[fill="#d83a42"]) { --status-color: #{colors.$c5}; } - &:has(rect[fill="#593695"]) { + &:has(rect[fill="#593695"]), + &:has(rect[fill="#9147ff"]) { --status-color: #{colors.$c4}; } } diff --git a/src/color_overrides.scss b/src/color_overrides.scss index 1dad101..a5b6c04 100644 --- a/src/color_overrides.scss +++ b/src/color_overrides.scss @@ -1015,6 +1015,7 @@ svg[fill="#FF73FA"] { --channels-default: #{colors.$c7}; --text-brand: #{colors.$accent}; + --bg-brand: #{colors.$accent}; --bg-base-primary: #{colors.$primary} !important; --bg-base-secondary: #{colors.$secondary} !important; --bg-base-tertiary: #{colors.$tertiary} !important;