Hi all,
just a question, the function brighter
and darker
works in a strange way for me:
@Override
public @NotNull Color brighter() {
if (func != null) {
return lazy(() -> func.get().brighter());
}
if (name != null) {
return calculateColor(name, defaultColor).brighter();
}
return new JBColor(super.brighter(), getDarkVariant().brighter());
}
This is a snippet from JBColor.java
class.
I was expecting that making a light theme color brighter will make it darker for the dark theme, instead make both brighter, that I don’t think is the opposite of dark theme way (I make a color bright in light theme to reduce the contrast with the background).
Should I open a YouTrack bug?