glitch-soc/mastodon

View on GitHub
app/views/custom_css/show.css.erb

Summary

Maintainability
Test Coverage
<%- if custom_css_styles.present? %>
<%= raw custom_css_styles %>

<%- end %>
<%- @user_roles.each do |role| %>
.user-role-<%= role.id %> {
  --user-role-accent: <%= role.color %>;
}

<%- end %>