Re: dark theme
"'Neil Hodgson' via scite-interest" <[email protected]> Thu, 4 May 2023 09:04:29 +1000
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Andrew Strain: > I am trying to work out a patch for the dark mode feature but am stuck on correctly scoping > a kind of global variable named `bool invertBrightness` so that it can be set when properties are in Stick it on SciTEBase which is unfortunately huge as it is easy to access everywhere. > I find it works nicely while being so short, a 'flaw' is that the result is less saturated than the original, however less saturation might even be aesthetic when lit on a dark background. It's difficult to invert light consistently: colours near to white/black are commonly difficult and SciTE uses them a fair bit. For example, check Perl examples (like lexilla/test/examples/perl/perl-test-sub-prototypes.pl) to see how pastel background colours look. Its likely gamma curve related but may need special cases light colours. Neil -- You received this message because you are subscribed to the Google Groups "scite-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/96F61A8F-4473-4156-AF07-7F1B7CACC1E4%40me.com.