Hello, is there a way to programmatically check the current MPS theme that is applied? If there is where can I find it?...
This is an auto-generated question from the MPS Slack community: Hello, is there a way to programmatically check the current MPS theme that is applied? If there is where can I find it?
3 comments
Sort by
Date
Votes
You can check current look and feel like this:
```LafManager.getInstance().getCurrentLookAndFeel().getName()```
If you need check if theme is dark or not you can do it like this:
```UIUtil.isUnderDarcula()```
Thank you!
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
Post is closed for comments.