Hello, everyone :hand:. I am creating a theme. Bes...
# intellij-plugins
j
Hello, everyone . I am creating a theme. Besides colors and other simple values that are allowed in the
.theme.json
file, I am curious whether it is possible to change fonts for particular UI components. Let's say I want to change the "quick fixes" or "context actions" popup menu to be rendered using a monospaced font, but not other menus, just popups that are invoked from the editor. Is it possible? I had some luck when I tried implementing a custom Look and Feel by extending
DarculaLaf
and setting font using
defaults.put("PopupMenu.font", ...)
. That way, popup menus are indeed rendered with monospaced fonts. However, manually registering a custom LaF does not take
.theme.json
into account because I think the theme provider, with a provided JSON file, somehow creates and registers the LoF instance internally. Darcula is also an old look, I want to make changes to the current modern Idea look. I tried several things with
UIManager
, like changing defaults for a
currentLookAndFeel
in
StartupActivity
, but that didn't work... If someone has some ideas on how to implement this, I would appreciate some help. Thanks! 🙏