changes shades of red in calendar, slider in settings has same style as all the other sliders
This commit is contained in:
@@ -53,7 +53,7 @@ export default class CalendarView extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function toCalFormat(bleedingDaysSortedByDate) {
|
function toCalFormat(bleedingDaysSortedByDate) {
|
||||||
const shadesOfRed = ['#ffbaba', '#ff7b7b', '#ff5252', '#ff0000']
|
const shadesOfRed = ['#ffcbbf', '#ffb19f', '#ff977e', '#ff7e5f'] // light to dark
|
||||||
return bleedingDaysSortedByDate.reduce((acc, day) => {
|
return bleedingDaysSortedByDate.reduce((acc, day) => {
|
||||||
acc[day.date] = {
|
acc[day.date] = {
|
||||||
startingDay: true,
|
startingDay: true,
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ class TempReminderPicker extends Component {
|
|||||||
}
|
}
|
||||||
if (!switchOn) saveTempReminder({ enabled: false })
|
if (!switchOn) saveTempReminder({ enabled: false })
|
||||||
}}
|
}}
|
||||||
onTintColor={secondaryColor}
|
|
||||||
/>
|
/>
|
||||||
<DateTimePicker
|
<DateTimePicker
|
||||||
mode="time"
|
mode="time"
|
||||||
|
|||||||
Reference in New Issue
Block a user