Highlight weekend dates in chart

This commit is contained in:
livi
2023-10-25 21:27:14 +02:00
committed by bl00dymarie
parent 54b08c15bb
commit f304fee293
4 changed files with 49 additions and 14 deletions
+18 -10
View File
@@ -1,7 +1,14 @@
const redColor = '#c3000d'
export const shadesOfRed = ['#e7999e', '#db666d', '#cf323d', '#c3000d'] // light to dark
const violetColor = '#6a7b98'
const shadesOfViolet = ['#e3e7ed', '#c8cfdc', '#acb8cb', '#91a0ba', '#7689a9', violetColor] // light to dark
const shadesOfViolet = [
'#e3e7ed',
'#c8cfdc',
'#acb8cb',
'#91a0ba',
'#7689a9',
violetColor,
] // light to dark
const yellowColor = '#dbb40c'
const shadesOfYellow = ['#f0e19d', '#e9d26d', '#e2c33c', yellowColor] // light to dark
const magentaColor = '#6f2565'
@@ -16,6 +23,7 @@ export default {
greyDark: '#555',
grey: '#888',
greyLight: '#CCC',
greyVeryLight: '#F4F4F4',
orange: '#F38337',
purple: '#3A2671',
purpleLight: '#938EB2',
@@ -23,37 +31,37 @@ export default {
turquoise: '#CFECEA',
turquoiseLight: '#E9F2ED',
iconColors: {
'bleeding': {
bleeding: {
color: redColor,
shades: shadesOfRed,
},
'mucus': {
mucus: {
color: violetColor,
shades: shadesOfViolet,
},
'cervix': {
cervix: {
color: yellowColor,
shades: shadesOfYellow,
},
'sex': {
sex: {
color: magentaColor,
shades: shadesOfMagenta,
},
'desire': {
desire: {
color: pinkColor,
shades: shadesOfPink,
},
'pain': {
pain: {
color: lightGreenColor,
shades: [lightGreenColor],
},
'mood': {
mood: {
color: orangeColor,
shades: [orangeColor],
},
'note': {
note: {
color: mintColor,
shades: [mintColor],
},
},
}
}