Changing the text color of tracks

This commit is contained in:
Ana 2016-06-20 17:09:39 +02:00
parent b1b8703753
commit 1846eebea3
3 changed files with 14 additions and 3 deletions

View file

@ -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: