refactor: enhance axis render function
This commit is contained in:
parent
29a1bdc1fb
commit
9dbea37f55
6 changed files with 97 additions and 82 deletions
2
theme.go
2
theme.go
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue