You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because fonts must be specified with COLORREF values in .thm files, there is no way to use system colours. The closest you can get is omitting colour specifications, which will use default colours in many cases (but not all, for example, Hypertext text is always black by default).
When a user has selected a high-contrast colour scheme, these hardcoded colours are often unreadable or invisible.
There should be a way to specify standard system colours in the theme file. See the workaround for CPython in my custom bootstrap app where I handle WM_CTLCOLORSTATIC and WM_CTLCOLORBTN and map "known" colours into system colours.
Originally opened by stevedower
The text was updated successfully, but these errors were encountered:
Because fonts must be specified with COLORREF values in .thm files, there is no way to use system colours. The closest you can get is omitting colour specifications, which will use default colours in many cases (but not all, for example, Hypertext text is always black by default).
When a user has selected a high-contrast colour scheme, these hardcoded colours are often unreadable or invisible.
There should be a way to specify standard system colours in the theme file. See the workaround for CPython in my custom bootstrap app where I handle
WM_CTLCOLORSTATIC
andWM_CTLCOLORBTN
and map "known" colours into system colours.The text was updated successfully, but these errors were encountered: