Darkmodelib is a C++ library that brings modern visual features, such as dark mode, custom color schemes, and Windows 11's Mica material, to applications built with the Win32 API. It provides support for the most common controls and is designed to simplify integration into legacy applications, making it easier to modernize their look and feel without a complete rewrite.
- Native dark mode support for classic Win32 applications
- Custom colors support
- Simplify Mica material and other Windows 11's visual features integration on Windows 11
- Automatic theme switching based on system light/dark mode settings
- Support for common Win32 controls (buttons, edit controls, list views, tree views, ...)
Darkmodelib works best with Windows 10 version 1809 and later, and mainly targets Windows 11, while maintaining fallback compatibility as far as Windows Vista.
- Parts of the code have been backported to Notepad++
- 7-Zip and its fork 7-Zip-zstd
- SumatraPDF
- WinMerge
Code for darkmodelib is licensed on a per-file basis under the MIT or Mozilla Public License, version 2.0.