References: https://todo.sr.ht/~eliasnaur/gio/500
diff --git a/widget/material/theme.go b/widget/material/theme.go
index 3da7f4e7..0ed497a6 100644
--- a/widget/material/theme.go
+++ b/widget/material/theme.go
@@ -58,8 +58,8 @@ func NewTheme() *Theme {
t.Palette = Palette{
Fg: rgb(0x000000),
Bg: rgb(0xffffff),
- ContrastBg: rgb(0x3f51b5),
- ContrastFg: rgb(0xffffff),
+ ContrastBg: rgb(0xdfdbd8),
+ ContrastFg: rgb(0x000000),
}
t.TextSize = 16
On Mon, 2 Sept 2024 at 20:19, Anthony Starks <ajstarks@gmail.com> wrote:
>
> References: https://todo.sr.ht/~eliasnaur/gio/500
>
> diff --git a/widget/material/theme.go b/widget/material/theme.go
> index 3da7f4e7..0ed497a6 100644
> --- a/widget/material/theme.go
> +++ b/widget/material/theme.go
> @@ -58,8 +58,8 @@ func NewTheme() *Theme {
> t.Palette = Palette{
> Fg: rgb(0x000000),
> Bg: rgb(0xffffff),
> - ContrastBg: rgb(0x3f51b5),
> - ContrastFg: rgb(0xffffff),
> + ContrastBg: rgb(0xdfdbd8),
> + ContrastFg: rgb(0x000000),
> }
> t.TextSize = 16
This is better for the particular Wayland you're using, but won't fit
better with the
other platforms.
As Egon points out in https://todo.sr.ht/~eliasnaur/gio/500#event-239805, the
right fix seems to introduce a way to query the platform system colors and use
them from Decoration.
Thanks,
Elias