At first glance, this proposal looks good, with it we could provide a dark mode 
stylesheet.

Questions:
1. what are the plans / commitments for actually developing the dark mode 
stylesheet?
2. are there plans / necessity of adding more similar properties to the Scene?

3. are there plans to provide a similar proposal for variables, for example to 
be able to size controls consistently 
https://bugs.openjdk.org/browse/JDK-8314683 ?

One more tangentially related question: do you think it's possible to be able 
to determine which selector in which stylesheet was used, for debugging 
purposes?  For example, be able to enable logging?

Thanks!
-andy



From: openjfx-dev <openjfx-dev-r...@openjdk.org> on behalf of Michael Strauß 
<michaelstr...@gmail.com>
Date: Monday, December 2, 2024 at 08:23
To: openjfx-dev <openjfx-dev@openjdk.org>
Subject: CSS Media Queries
Hi everyone,

here's a proposal to add media queries to JavaFX, which is a powerful
feature to adjust stylesheets to changes in the runtime environment.

Proposal: https://gist.github.com/mstr2/cbb93bff03e073ec0c32aac317b22de7
PR: https://github.com/openjdk/jfx/pull/1655

Reply via email to