RFR: 8345348: CSS media feature queries [v9]

John Hendrikx jhendrikx at openjdk.org
Sat Apr 12 18:35:32 UTC 2025


On Fri, 11 Apr 2025 22:57:51 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> > You seem to be arguing against media queries themselves
> 
> Probably. I am afraid the CSS subsystem will grow into a monster (I mean, it already is).
> 
> The follow up question is what you guys think about updating `modena.css` to support the dark mode? I understand the platform preferences and these media queries are prerequisites, what are other things that we'll need?

With some minimal style changes (and a hack to change the window border to dark mode on Windows) I get this out of modena.css:

![image](https://github.com/user-attachments/assets/3f2023ad-b147-4656-9cc9-57691b96befb)

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1655#issuecomment-2798941260


More information about the openjfx-dev mailing list