Skip to content

Dark mode for CodeBlocks in Windows 10/11

NotificationsYou must be signed in to change notification settings

adbrt/codeblocks-dark-mode-msw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce0a321 · Nov 26, 2023

History

16 Commits
Nov 26, 2023
Nov 26, 2023
Nov 26, 2023
Nov 26, 2023

Repository files navigation

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

About

Dark mode for CodeBlocks in Windows 10/11

Resources

Stars

Watchers

Forks

Packages

No packages published