From: Jeong Arm Date: Mon, 18 Jul 2022 23:06:11 +0000 (+0900) Subject: [Glitch] Fix badge color not affected X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=fa3e06eb8e5f4ceaed04a9476e9af24cdca2301e;p=mastodon.git [Glitch] Fix badge color not affected Port f248d95be26ceca3c2d717fa71557a56e975fece to glitch-soc Signed-off-by: Claire --- diff --git a/app/javascript/flavours/glitch/styles/accounts.scss b/app/javascript/flavours/glitch/styles/accounts.scss index a3bfb0507..3d8b761e6 100644 --- a/app/javascript/flavours/glitch/styles/accounts.scss +++ b/app/javascript/flavours/glitch/styles/accounts.scss @@ -212,9 +212,9 @@ font-size: 12px; line-height: 12px; font-weight: 500; - color: $ui-secondary-color; - background-color: rgba($ui-secondary-color, 0.1); - border: 1px solid rgba($ui-secondary-color, 0.5); + color: var(--user-role-accent, $ui-secondary-color); + background-color: var(--user-role-background, rgba($ui-secondary-color, 0.1)); + border: 1px solid var(--user-role-border, rgba($ui-secondary-color, 0.5)); &.moderator { color: $success-green;