Dark mode for CodeBlocks in Windows 10/11
This repository has been archived on 2025-02-07. You can view files and clone it, but cannot push or open issues or pull requests.
2023-11-26 14:37:44 +01:00
codeblocks-source/src Added #include <wx/hashmap.h> 2023-11-26 13:35:18 +01:00
cbdark.png Add files via upload 2023-11-26 14:36:59 +01:00
default.conf Configuration file with colors for dark mode 2023-11-26 12:42:05 +01:00
README.md Update README.md 2023-11-26 14:37:44 +01:00

Dark mode for CodeBlocks in Windows 10/11

This is an experimental dark mode build of CodeBlocks IDE. It uses a still-in-development version of wxWidgets 3.3, which does have a MSWEnableDarkMode() function (https://docs.wxwidgets.org/latest/classwx_app.html#af8c93d7e3345e62a58325f3ab1d158d6)

How to run it

Just download pre-built files from Releases, run with CbLauncher.exe (that way it loads configuration file with dark mode settings from a local directory - it works in portable mode)

Screenshot

How to build it

Notes/issues/todo

  • Dark mode will be always on in this build, a toggle setting could be added
  • Lexers XML files contain only one variant of color settings, if dark mode were to be switched on/off then a way of switching between different color settings would need to be added
  • TODO: How to get rid of default.conf file and set all necessary colors directly in source code
  • There are various places where colors are set, e.g. caret color is set independently of lexer colors
  • TODO: Add detection of dark mode and automatic settings of appropriate colors