Platform preferences API
Andy Goryachev
andy.goryachev at oracle.com
Fri Jun 16 15:57:53 UTC 2023
+1 for getPaint()
+1 for modena dark css
-andy
From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Michael Strauß <michaelstrau2 at gmail.com>
Date: Friday, June 16, 2023 at 08:56
To: Thiago Milczarek Sayão <thiago.sayao at gmail.com>
Cc: openjfx-dev <openjfx-dev at openjdk.org>
Subject: Re: Platform preferences API
Maybe the Preferences API should have a convenience method like
Optional<Paint> getPaint(String key);
instead of getColor, to allow for cases when an OS defines complex
paint instead of solid colors.
I like your idea of shipping a Modena Dark variant. We should consider
this as a potential follow-up RFE.
On Fri, Jun 16, 2023 at 5:46 PM Thiago Milczarek Sayão
<thiago.sayao at gmail.com> wrote:
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230616/4c97a19f/attachment.htm>
More information about the openjfx-dev
mailing list