Wintergreen theme constructor returns *dataTheme.Theme

This commit is contained in:
Sasha Koshka 2024-05-28 21:56:20 -04:00
parent fc8da2abd5
commit 7d9d93fa3f

View File

@ -6,7 +6,7 @@ import dataTheme "git.tebibyte.media/tomo/nasin/internal/theme"
// Theme returns Wintergreen, the default Tomo tomo. It is neutral-gray with // Theme returns Wintergreen, the default Tomo tomo. It is neutral-gray with
// green and turquoise accents. // green and turquoise accents.
func Theme () tomo.Theme { func Theme () *dataTheme.Theme {
return &dataTheme.Theme { return &dataTheme.Theme {
Colors: map[tomo.Color] color.Color { Colors: map[tomo.Color] color.Color {
tomo.ColorBackground: colorBackground, tomo.ColorBackground: colorBackground,