Commit 30240b7
Adam Duskett
add dark mode compatibility
Currently, if a system is in dark mode, the cell text is unreadable because the
cell background, highlight, and text color are permanently set to white.
Add a new method setCellTheme to fix the above issue.
- Set the text colour to WHITE if the system is in dark mode, otherwise BLACK
- Set the cell background color equal to the window background color.1 parent dee2860 commit 30240b7
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
| |||
274 | 281 | | |
275 | 282 | | |
276 | 283 | | |
277 | | - | |
278 | | - | |
| 284 | + | |
279 | 285 | | |
280 | 286 | | |
281 | 287 | | |
| |||
0 commit comments