Note: This project is work in progress. It should mostly work for Linux and Windows, but MacOS is not supported yet. Bugs 'n' stuff are also expected.
The purpose of this library is to provide utilities for detecting the current system theme on all major platforms and to register callbacks that can listen for theme changes.
It has been inspired by jsystemthemedetector but differs in some major respects:
- Detects Appearance (the name used for light/dark mode in this library), Accent Color and Font (mostly relevant for Linux).
- Uses
ProcessBuilderand does not require any foreign function interfaces or third-party dependencies (except slf4j for optional logging). - Uses (mostly) desktop-agnostic utilities on Linux.
[Work in progress]
[Work in progress]