refactor: enhance axis render function

This commit is contained in:
vicanso 2022-02-01 09:26:57 +08:00
parent 29a1bdc1fb
commit 9dbea37f55
6 changed files with 97 additions and 82 deletions

View file

@ -121,7 +121,7 @@ func (t *Theme) GetBackgroundColor() drawing.Color {
return drawing.ColorWhite
}
func (t *Theme) GetTitleColor() drawing.Color {
func (t *Theme) GetTextColor() drawing.Color {
if t.IsDark() {
return drawing.Color{
R: 238,