about summary refs log tree commit diff
path: root/app/views/custom_css
diff options
context:
space:
mode:
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 %>