1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-14 06:38:30 +09:00
whippy-edition/app/views/custom_css/show.css.erb

13 lines
357 B
Plaintext
Raw Normal View History

<%- if Setting.custom_css.present? %>
2022-07-18 15:41:08 +09: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 %>;
--user-role-background: <%= role.color + '19' %>;
--user-role-border: <%= role.color + '80' %>;
}
<%- end %>