about summary refs log tree commit diff
path: root/app/views/custom_css/show.css.erb
blob: 521834832e52e71040a7a6306251237d12291798 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<%- if Setting.custom_css.present? %>
<%= 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 %>;
}

<%- end %>