show.css.erb 357 B

123456789101112
  1. <%- if Setting.custom_css.present? %>
  2. <%= raw Setting.custom_css %>
  3. <%- end %>
  4. <%- UserRole.where(highlighted: true).select { |role| role.color.present? }.each do |role| %>
  5. .user-role-<%= role.id %> {
  6. --user-role-accent: <%= role.color %>;
  7. --user-role-background: <%= role.color + '19' %>;
  8. --user-role-border: <%= role.color + '80' %>;
  9. }
  10. <%- end %>