💄 improve visibility on light mode

This commit is contained in:
ghalestrilo 2020-08-10 15:04:41 -03:00
parent 702adf93f6
commit 8d0cfdcfb4
2 changed files with 22 additions and 4 deletions

View File

@ -51,7 +51,7 @@ const ContentWrapper = styled(Content)`
} }
tbody td:nth-child(2) { grid-column-start: 2 } tbody td:nth-child(2) { grid-column-start: 2 }
tbody td:last-child { justify-self: end } tbody td:last-child { justify-self: end; text-align: end; }
/* .sketch-list__sort-button { padding: 0 } */ /* .sketch-list__sort-button { padding: 0 } */
tbody { tbody {
@ -60,10 +60,10 @@ const ContentWrapper = styled(Content)`
.sketches-table-container { .sketches-table-container {
padding-bottom: ${remSize(160)}; padding-bottom: ${remSize(160)};
background: ${prop('backgroundColor')}; background: ${prop('SketchList.background')};
} }
.sketches-table__row { .sketches-table__row {
background: ${prop('backgroundColor')} !important; height: auto background: ${prop('SketchList.card.background')} !important; height: auto
} }
tr { tr {

View File

@ -106,6 +106,12 @@ export default {
Separator: grays.middleLight, Separator: grays.middleLight,
TabHighlight: colors.p5jsPink, TabHighlight: colors.p5jsPink,
SketchList: {
background: grays.lighter,
card: {
background: grays.lighter
}
}
}, },
[Theme.dark]: { [Theme.dark]: {
colors, colors,
@ -153,6 +159,12 @@ export default {
Separator: grays.middleDark, Separator: grays.middleDark,
TabHighlight: colors.p5jsPink, TabHighlight: colors.p5jsPink,
SketchList: {
background: grays.darker,
card: {
background: grays.dark
}
}
}, },
[Theme.contrast]: { [Theme.contrast]: {
colors, colors,
@ -199,6 +211,12 @@ export default {
}, },
Separator: grays.middleDark, Separator: grays.middleDark,
TabHighlight: colors.yellow, TabHighlight: grays.darker,
SketchList: {
background: colors.yellow,
card: {
background: grays.dark
}
}
}, },
}; };