Platform preferences API

Thiago Milczarek Sayão thiago.sayao at gmail.com
Fri Jun 16 15:45:57 UTC 2023


I was thinking mostly about colors. Those will be hard because the tendency
to have css styles. Might not even be a solid color.

Light and Dark mode could be useful and seems like a hardened feature
everywhere. Maybe a Modena dark css should be shipped together (for optimal
use)?

-- Thiago







Em sex., 16 de jun. de 2023 11:52, Michael Strauß <michaelstrau2 at gmail.com>
escreveu:

> My perception is entirely different. In the last few years, most
> operating systems seem to have embraced the light/dark mode concept.
> More and more applications (as well as web applications) support dark
> mode in addition to the default light mode, and many try to adapt to
> the OS.
> That is certainly true for widely used applications like web browsers,
> social media apps, and IDEs.
>
> It's true that the Linux situation is a bit complicated, but Windows,
> Apple operating systems, and Android have strong dark mode support.
>
> In addition, platform preferences are not only about visual
> appearance, but can also be relevant for behavioral settings. For
> example, macOS has an OS setting that controls whether clicking on a
> scrollbar moves the content page by page, or directly to the clicked
> spot. Skins could use those kinds of non-visual preferences in the
> future.
>
>
> On Fri, Jun 16, 2023 at 2:09 AM Thiago Milczarek Sayão
> <thiago.sayao at gmail.com> wrote:
> >
> > I think we should wait and don't do this in the short term.
> >
> > Many recent apps don't care for platform appearance at all.
> >
> > Take Microsoft windows for an example, there are many layers of
> "evolution" and they all look different on the same OS.
> >
> > Linux will be a nightmare, you have many desktop environments, and if
> you only consider gnome, it's all CSS based and you can't just obtain a
> color (because it's on the css). Recent Ubuntu have accent colors, but
> that's if you use the Yaru theme.
> >
> >
> > If in the future apps start to look the same again we should consider
> it. The tendency right now seems to be "apps don't have to look the same".
> >
> > Behavior should be consistent, style probably don't.
> >
> > -- Thiago
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230616/131d3d63/attachment.htm>


More information about the openjfx-dev mailing list