diff --git a/app/helpers/absences_helper.rb b/app/helpers/absences_helper.rb index d7255d5ea..dd5922c4f 100644 --- a/app/helpers/absences_helper.rb +++ b/app/helpers/absences_helper.rb @@ -1,5 +1,5 @@ module AbsencesHelper - CALENDAR_BACKGROUND_COLOR = "rgba(127, 140, 141, 0.7)".freeze + CALENDAR_BACKGROUND_COLOR = "rgba(52, 57, 58, 0.7)".freeze def absence_tag(absence) if absence.expired? diff --git a/app/services/off_days.rb b/app/services/off_days.rb index 2931b6653..555b15b95 100644 --- a/app/services/off_days.rb +++ b/app/services/off_days.rb @@ -65,6 +65,7 @@ def self.to_full_calendar_array start: jour_ferie.beginning_of_day.as_json, end: jour_ferie.end_of_day.as_json, backgroundColor: AbsencesHelper::CALENDAR_BACKGROUND_COLOR, + textColor: "white", } end end