daisy / pipeline-ui

A user interface for the DAISY Pipeline 2
MIT License
5 stars 2 forks source link

Drop down box is white in dark mode on Windows #122

Closed ways2read closed 10 months ago

ways2read commented 1 year ago

In Windows 11 Settings I set my default app mode to Dark. The Pipeline app is now dark, but the drop-down controls (e.g. Select a script) have a white background. I don't think that's right,

I attach a screenshot of how it looks on my system, and how the settings app has a drop-down list in dark mode.

image image

marisademeglio commented 1 year ago

Interesting, thanks for the report.

We may double check how we use electron's nativeTheme module.

Worth noting that macOS, the background of the select element matches the visual theme:

Screenshot 2023-03-16 at 10 23 33 Screenshot 2023-03-16 at 10 23 55
NPavie commented 1 year ago

I found out that edge (which is used for the web views rendering on windows) does not apply the dark mode on some controls, included dropdowns, by default. But this can be fixed in styling.