vt-social/app/views/custom_css/show.css.erb

11 lines
257 B
Plaintext
Raw Normal View History

<%- if Setting.custom_css.present? %>
2022-07-18 06:41:08 +00:00
<%= 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 %>;
}
<%- end %>