about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2022-07-19 08:06:11 +0900
committerClaire <claire.github-309c@sitedethib.com>2022-07-19 16:11:40 +0200
commit7205098ccf6573c1bd05da9c7a23a9b17d3fca8a (patch)
tree37e5dff8324e3292322a44f9d60a0bfec64aa3f1
parent3a516acfc2bc8a80816a02a5b7ffc0efe5744788 (diff)
[Glitch] Fix badge color not affected
Port f248d95be26ceca3c2d717fa71557a56e975fece to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/styles/accounts.scss6
1 files changed, 3 insertions, 3 deletions
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;