mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
306aff80d0
...as well as the few remaining references to set_foreground_color(). These properties are not being used for rendering anymore, presumably because they completely mess up theming - assigning random white and gray backgrounds just doesn't work with dark themes. I've chosen to not replace most of the few remaining uses of this broken functionality with custom palette colors (the closest replacement is background_role) for now (except for Minesweeper where squares with mines are painted red again now), as no one has actually complained about them being broken, so it must look somewhat decent (some just look right anyway). :^) Examples of this are the taskbar buttons, which apparently had a DarkGray foreground color for minimized windows once - this has since been replaced with bold/regular font. Another one is the Profiler's ProfileTimelineWidget, which is supposed to have a white background - which it didn't have for quite some time, it's grey now (with the default theme, that is). Doesn't look bad either. |
||
---|---|---|
.. | ||
SampleLib | ||
CMakeLists.txt | ||
lib.h | ||
main.cpp |