For Dark Mode, one can apply a color filter that inverts the brightness without 
changing the hues. I.e. so red stays red but black becomes white etc. Here's an 
example (inverting the L channel in LAB color space):

https://issues.apache.org/jira/secure/attachment/13038140/220101%20Updated%20Dark%20Filter%20Test.png

ImageUtilities actually has support for pluggable color filters already.

Other color scheme changes would probably be best to do once a substantial 
number of icons have been vectorized. Otherwise there will be old bitmap icons 
with the old color scheme next to new icons with the new color scheme. But once 
the icon shapes are drawn, changing the color scheme later should be quite 
easy. It's drawing the actual shapes and bezier curves etc. that take up most 
of the time.

-- Eirik

-----Original Message-----
From: Neil C Smith <[email protected]> 
Sent: Friday, December 31, 2021 6:30 PM
To: [email protected]
Cc: Peter Cheung <[email protected]>; Peter Cheung <[email protected]>; 
Arafat BOUCHAFRA <[email protected]>
Subject: Re: New theme for netbeans, team member wanted

On Tue, 28 Dec 2021 at 12:26, Eirik Bakke <[email protected]> wrote:
> Other topics discussed:
> * Arafat proposed more ambitious changes to NetBeans' look & feel, and we 
> exchanged ideas. Eirik mentioned the recent discussion thread that ended up 
> making FlatLAF the default LAF on NetBeans.
> * Arafat also mentioned possible approaches to get support for animated icons.

All sounds exciting!

While discussing SVG features, a bigger one than animation might be CSS?  Or at 
least, at this stage, could we ensure icons have classes for a small range of 
accent colours?  Obviously, certain things like "stop" you might want always to 
be red.  Whereas other accent colours might be better to pick up from the look 
and feel.  And it would be great to never have to rely on the _dark suffix for 
svg icons.

Obviously there's a need to look at changes in the icon loading to allow 
specifying the right stylesheet via Batik too.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to