Fix badge color not affected (#18826)
* Fix badge color not affected * Generate user role css
This commit is contained in:
parent
ec83e2a35e
commit
f248d95be2
2 changed files with 5 additions and 3 deletions
|
@ -5,6 +5,8 @@
|
|||
<%- 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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue