Changing the text color of tracks
This commit is contained in:
parent
b1b8703753
commit
1846eebea3
3 changed files with 14 additions and 3 deletions
|
|
@ -70,7 +70,7 @@
|
|||
%dt Track:
|
||||
%dd
|
||||
- if @event.track
|
||||
%span.label{:style =>"background-color: #{@event.track.color};"}
|
||||
%span.label{:style =>"background-color: #{@event.track.color}; color: #{ contrast_color(@event.track.color) }"}
|
||||
= @event.track.name
|
||||
.col-md-12
|
||||
%dt Difficulty:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue