Skip to content

Commit

Permalink
fix(darkmode): metric title is now shown in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
herrtxbias committed Mar 18, 2021
1 parent 1ca79a3 commit 547bad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/livewire/home/metric.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
title: {
display: true,
fontSize: 20,
fontColor: '{{ config('statuspage.darkmode') ? '#ffffff' : '#000000' }}',
fontColor: '{{ session()->get('darkmode', config('statuspage.darkmode')) ? '#ffffff' : '#000000' }}',
text: '{{ $metric->title }}'
},
scales: {
Expand Down
2 changes: 1 addition & 1 deletion routes/api/maintenances/maintenances.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
'title' => 'required|string|min:3',
'status' => 'integer|min:0|max:3',
'visibility' => 'boolean',
'scheduled_at' => 'date|after:'.Carbon::now(),
'scheduled_at' => 'required|date|after:'.Carbon::now(),
'end_at' => 'nullable|date',
'components' => 'array',
'message' => 'required|string',
Expand Down

0 comments on commit 547bad3

Please sign in to comment.