nasin/internal/style/fallback/wintergreen.go

21 lines
558 B
Go
Raw Normal View History

2024-06-03 01:04:29 -06:00
package fallbackStyle
import "image/color"
import "git.tebibyte.media/tomo/tomo"
2024-06-11 22:19:12 -06:00
import "git.tebibyte.media/tomo/nasin/internal/style"
2024-06-11 22:19:12 -06:00
// New returns Wintergreen, the default Tomo style. It is neutral-gray with
// green and turquoise accents.
func New () *style.Style {
return &style.Style {
Colors: map[tomo.Color] color.Color {
tomo.ColorBackground: colorBackground,
tomo.ColorForeground: colorForeground,
tomo.ColorRaised: colorCarved,
tomo.ColorSunken: colorCarved,
tomo.ColorAccent: colorFocus,
},
Rules: rules,
}
}