Project

General

Profile

DarkMode » History » Version 1

Per Amundsen, 03/06/2023 05:19 PM

1 1 Per Amundsen
h1. Dark Mode
2
3
In 4.4 most controls are now either custom drawn, massively hacked or written from scratch to support custom colors and/or borders.
4
5
Toggling dark mode changes the colors for all controls which does not have a color option and Titlebars in all open dialogs, in real time.
6
7
Dark mode is enabled by default if windows dark mode is enabled, it can be toggled Automatic/On/Off in [[Options_Dialog|Options]] -> [[Colors_Options|Colors]].
8
9
h2. Notes
10
11
[[Channeledit_Dialog|Channel Editor]] Topic preview uses the [[Topicbox_Control|Topicbox]] background and text color to simulate how the topic with colors will look.
12
13
[[Channellist_Dialog|Channel List]] uses the message area background and text color to accurately show topic with colors.
14
15
[[Themes_Dialog|Theme Manager]] theme preview uses the colors from the theme to accurately show the preview.
16
17
The current dark mode colors are set to make things looks apart and reduce brightness, they will be tweaked based on feedback.
18
19
It is not possible to change the selection color of textboxes and possibly other controls.
20
21
It is not possible to change the colors of scrollbars, a custom scrollbar can be made from scratch, but it would only be useable by controls created from scratch.
22
23
It does not seem to be possible to change or draw the datetime picker dropdown, a custom one could be made, but seems unnecessary for just one single use case (Create client SSL/TLS certificate).
24
25
Save/open/browse folder/file dialogs are controlled by windows and will only be dark when windows have dark mode enabled.
26
27
Titlebars are only dark when dark mode in windows is enabled. AdiIRC will change them automatically when dark mode is enabled in both windows and AdiIRC.
28
29
It is currently "not possible":https://github.com/dotnet/winforms/issues/3691 to change the colors of Titlebars for MDI windows.
30
31
[[/dialog|Scripted Dialogs]] are currently excluded from dark mode, except the Titlebar.
32
33
h2. TODO
34
35
Figure out a reasonable color to use for link controls and installed dictionaries in "Add Dictionaries" dialog.
36
Add option to set a custom font for all controls which does not currently have a font option.
37
Change the individual control colors based on feedback.
38
39
h2. Maybe?
40
41
Look into whether it's possible to custom draw or use a image for up/down arrows on numeric uo/down to something with more light grayish colors?
42
Look into whether it's possible to custom draw or use a image for down arrow on dropdowns to something with more light grayish colors?
43
Look into whether it's possible to custom draw the check mark on checkboxes/radiobuttons to a more light grayish color?
44
Options to change the dark mode colors to something custom?
45
Some controls can be custom drawn with a custom selection color, not sure if it's worth it?
46
Custom scrollbars for custom created controls?
47
Apply dark mode to scripted dialogs?