From 6682f75db903d9467c12eb6a4b9febc4840b7fbe Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Fri, 5 Feb 2021 08:16:16 -0500 Subject: [PATCH] widget/material: use more readable editor default selection color Signed-off-by: Chris Waldon --- widget/material/editor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/material/editor.go b/widget/material/editor.go index 69bf7d75..12d7b29f 100644 --- a/widget/material/editor.go +++ b/widget/material/editor.go @@ -38,7 +38,7 @@ func Editor(th *Theme, editor *widget.Editor, hint string) EditorStyle { shaper: th.Shaper, Hint: hint, HintColor: f32color.MulAlpha(th.Palette.Fg, 0xbb), - SelectionColor: th.Palette.ContrastBg, + SelectionColor: f32color.MulAlpha(th.Palette.ContrastBg, 0x60), } }