Replies: 1 comment 2 replies
-
Inheriting light/dark mode is what should be happening right now - if it isn't, that's a bug. From the screenshots you've provided, there is a dark style being inherited; the text color is being applied correctly to the button, but it appears the background color (both of the button and the widget) isn't being set (or, is being set to the wrong value). Although Toga supports changing text/background color on widgets, my strong advice is that it should be used extremely sparingly. Operating system vendors spend a lot of time developing and testing styles; and they spend a lot of time making system wide color defaults. Unless there's a really good, reason, users shouldn't override those defaults. "I prefer buttons to be green and have larger text" isn't a good reason, because your preferences won't necessarily be my preferences. |
Beta Was this translation helpful? Give feedback.
-
Here is a comparison on MacOS Monterey.
Inheriting light/dark mode from the OS might be something for further down the track, however in the meantime it would be useful imo to have the ability to add "text_color" to the button widget.
Toga in Mac light mode:
Toga in Mac dark mode:
This is what native light and dark modes looks like:
Beta Was this translation helpful? Give feedback.
All reactions