1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-27 22:38:35 +09:00
whippy-edition/app/views/custom_css/show.css.erb
2023-07-27 16:05:24 +02:00

11 lines
257 B
Plaintext

<%- if Setting.custom_css.present? %>
<%= 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 %>