<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: rgb(255, 255, 255);">I like this idea and also agree that Modena looks dated.<br>I also understand John's concerns.<br></span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: rgb(255, 255, 255);">In my mind, I would mix both approaches:<br>- A new Theme that follows modern approaches and make use of the new features like media queries<br>- The theme is therefore more accessible (by default), takes into account the theme, high contrast, transparency, reduced motion and accent colors<br>- The Theme is also much more easy to customize. <br>Modena is, as of now, not. It is possible, sure, but a lot work is needed. Especially when you want to support all the things mentioned above<br>- A new theme can therefore be created very quickly. The documentation is good (in the CSS and reference manual)<br>-> Example: It should be easy to change from/to rounded or flat corners (e.g. using a variable)<br>If you want to do that now, you need to overwrite the '-fx-background-radius' for a lot of Controls.<br></span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">These are things that come to mind.</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">And that will be very helpful when creating a customized theme and incorporating the corporate style of the project.</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"> </div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">I agree that more details can be discussed here so that we can all decide together what the new theme should look like.</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"> </div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;">-- Marius</div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div id="sub-body-container" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229);">
<div style="margin: 0px 0px 10px;">
<div><strong>Gesendet: </strong>Dienstag, 3. Dezember 2024 um 01:03</div>
<div><strong>Von: </strong>"Michael Strauß" <michaelstrau2@gmail.com></div>
<div><strong>An: </strong>"Kevin Rushforth" <kevin.rushforth@oracle.com></div>
<div><strong>CC: </strong>openjfx-dev <openjfx-dev@openjdk.org></div>
<div><strong>Betreff: </strong>A new theme for JavaFX</div>
</div>
Continuing the discussion that was started in the CSS media queries thread:<br><br><br>On Mon, Dec 2, 2024 at 11:55 PM Kevin Rushforth<br><kevin.rushforth@oracle.com> wrote:<br>> > I'm thinking a bit bigger than just "Modena Dark". Since JFX 19, we've<br>> > added focusVisible, platform preferences, CSS transitions, and now<br>> > hopefully media queries. After this is done, I think we should<br>> > leverage all of those new features, and create a bold new theme for<br>> > JavaFX that feels at home in the year 2025.<br>><br>> Depending on the scope, that's a pretty ambitious goal. :) Were you<br>> thinking of something derived from Modena (e.g., a "Modena 2025") that<br>> incorporates all of those things and maybe a few other tweaks? Or are<br>> you thinking a brand new "from scratch" theme? Based on past experience<br>> (the switch from Caspian to Modena in FX 8), the latter will require<br>> quite a lot of work, and someone with a good artistic eye and attention<br>> to detail to drive it. I expect it would be a fairly long process and<br>> require a *lot* of testing.<br>><br>> Anyway, that doesn't need to slow down this feature. This feature would<br>> help with either approach. And application developers would be able to<br>> take advantage in their own stylesheets before that.<br><br><br>While I think that Modena is a nice-looking theme, I can't help but<br>think that it's a nice-looking theme for the mid-2010's. It dates the<br>JavaFX platform, and its look and feel is the first thing that people<br>see when they interact with JavaFX (either with the framework itself,<br>or with user-facing applications). The UI landscape has evolved quite<br>a lot in the past decade. I think there is great value in completely<br>modernizing the JavaFX user experience, firmly and boldly moving it<br>forward, and making the framework attractive again for a new<br>generation of developers.<br><br>Ideally, this is more than a "Modena 2025" refresh. I completely agree<br>that this is a big project, and it requires talented people to pull it<br>off. However, there _are_ talented UI designers and developers in the<br>JavaFX community. I hope this will start a discussion on how a modern<br>JavaFX user experience can look like, and how we'd be able to achieve<br>it.</div>