]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix badge color not affected
authorJeong Arm <kjwonmail@gmail.com>
Mon, 18 Jul 2022 23:06:11 +0000 (08:06 +0900)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:27:55 +0000 (00:27 -0400)
Port f248d95be26ceca3c2d717fa71557a56e975fece to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/accounts.scss

index a3bfb05079097b28cf9c9391538dadb9248443bb..3d8b761e61bde007d6ccd8f006def4bb905e7074 100644 (file)
   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;