2022-07-05 10:41:40 +10:00
|
|
|
<%- if Setting.custom_css.present? %>
|
2022-07-18 16:41:08 +10:00
|
|
|
<%= raw Setting.custom_css %>
|
2022-07-05 10:41:40 +10:00
|
|
|
|
|
|
|
<%- end %>
|
|
|
|
<%- UserRole.where(highlighted: true).select { |role| role.color.present? }.each do |role| %>
|
|
|
|
.user-role-<%= role.id %> {
|
|
|
|
--user-role-accent: <%= role.color %>;
|
2022-07-19 09:06:11 +10:00
|
|
|
--user-role-background: <%= role.color + '19' %>;
|
|
|
|
--user-role-border: <%= role.color + '80' %>;
|
2022-07-05 10:41:40 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
<%- end %>
|