mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
+ isGraphite()
This commit is contained in:
@@ -56,5 +56,11 @@ public class IntelliJLaf extends DarculaLaf {
|
||||
defaults.put("Label.font", font);
|
||||
defaults.put("CheckBox.font", font);
|
||||
defaults.put("RadioButton.font", font);
|
||||
defaults.put("ComboBox.font", font);
|
||||
}
|
||||
|
||||
public static boolean isGraphite() {
|
||||
Color c = UIManager.getColor("controlHighlight");
|
||||
return c != null && c.getBlue() < 150;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user