+1 for getPaint() +1 for modena dark css
-andy From: openjfx-dev <openjfx-dev-r...@openjdk.org> on behalf of Michael Strauß <michaelstr...@gmail.com> Date: Friday, June 16, 2023 at 08:56 To: Thiago Milczarek Sayão <thiago.sa...@gmail.com> Cc: openjfx-dev <openjfx-dev@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.sa...@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