This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/custom_css/show.css.erb

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 %>