Skip to content

Commit 8d0cfdc

Browse files
committed
💄 improve visibility on light mode
1 parent 702adf9 commit 8d0cfdc

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const ContentWrapper = styled(Content)`
5151
}
5252
5353
tbody td:nth-child(2) { grid-column-start: 2 }
54-
tbody td:last-child { justify-self: end }
54+
tbody td:last-child { justify-self: end; text-align: end; }
5555
5656
/* .sketch-list__sort-button { padding: 0 } */
5757
tbody {
@@ -60,10 +60,10 @@ const ContentWrapper = styled(Content)`
6060
6161
.sketches-table-container {
6262
padding-bottom: ${remSize(160)};
63-
background: ${prop('backgroundColor')};
63+
background: ${prop('SketchList.background')};
6464
}
6565
.sketches-table__row {
66-
background: ${prop('backgroundColor')} !important; height: auto
66+
background: ${prop('SketchList.card.background')} !important; height: auto
6767
}
6868
6969
tr {

client/theme.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ export default {
106106
Separator: grays.middleLight,
107107

108108
TabHighlight: colors.p5jsPink,
109+
SketchList: {
110+
background: grays.lighter,
111+
card: {
112+
background: grays.lighter
113+
}
114+
}
109115
},
110116
[Theme.dark]: {
111117
colors,
@@ -153,6 +159,12 @@ export default {
153159
Separator: grays.middleDark,
154160

155161
TabHighlight: colors.p5jsPink,
162+
SketchList: {
163+
background: grays.darker,
164+
card: {
165+
background: grays.dark
166+
}
167+
}
156168
},
157169
[Theme.contrast]: {
158170
colors,
@@ -199,6 +211,12 @@ export default {
199211
},
200212
Separator: grays.middleDark,
201213

202-
TabHighlight: colors.yellow,
214+
TabHighlight: grays.darker,
215+
SketchList: {
216+
background: colors.yellow,
217+
card: {
218+
background: grays.dark
219+
}
220+
}
203221
},
204222
};

0 commit comments

Comments
 (0)