show.css.erb 257 B

12345678910
  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. }
  8. <%- end %>