widget/material: use more readable editor default selection color

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Chris Waldon
2021-02-05 08:16:16 -05:00
committed by Elias Naur
parent 403f01655a
commit 6682f75db9
+1 -1
View File
@@ -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),
}
}