about summary refs log tree commit diff
path: root/app/views/custom_css
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-07-19 16:42:45 +0200
committerGitHub <noreply@github.com>2022-07-19 16:42:45 +0200
commit0a61b000e3f10e9be3d8ae1cccf53caa3877a55a (patch)
tree37e5dff8324e3292322a44f9d60a0bfec64aa3f1 /app/views/custom_css
parentab1488a6ad93f572e1d184cb9653f76fd408474f (diff)
parent7205098ccf6573c1bd05da9c7a23a9b17d3fca8a (diff)
Merge pull request #1807 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/custom_css')
-rw-r--r--app/views/custom_css/show.css.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/custom_css/show.css.erb b/app/views/custom_css/show.css.erb
index 521834832..bcbe81962 100644
--- a/app/views/custom_css/show.css.erb
+++ b/app/views/custom_css/show.css.erb
@@ -1,10 +1,12 @@
 <%- if Setting.custom_css.present? %>
-<%= Setting.custom_css %>
+<%= raw Setting.custom_css %>
 
 <%- end %>
 <%- UserRole.where(highlighted: true).select { |role| role.color.present? }.each do |role| %>
 .user-role-<%= role.id %> {
   --user-role-accent: <%= role.color %>;
+  --user-role-background: <%= role.color + '19' %>;
+  --user-role-border: <%= role.color + '80' %>;
 }
 
 <%- end %>