Skip to content

Benzor94/SystemThemeDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System theme detector

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 ProcessBuilder and does not require any foreign function interfaces or third-party dependencies (except slf4j for optional logging).
  • Uses (mostly) desktop-agnostic utilities on Linux.

Usage

[Work in progress]

Installation

[Work in progress]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages