mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-04 20:19:04 +01:00
44b2ee3485
* Add customizable user roles * Various fixes and improvements * Add migration for old settings and fix tootctl role management
10 lines
253 B
Text
10 lines
253 B
Text
<%- if Setting.custom_css.present? %>
|
|
<%= 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 %>
|