2024-05-03 17:58:28 -06:00
|
|
|
package defaultTheme
|
|
|
|
|
|
|
|
import "image/color"
|
2024-05-27 14:02:57 -06:00
|
|
|
import "git.tebibyte.media/tomo/tomo"
|
2024-05-03 17:58:28 -06:00
|
|
|
import dataTheme "git.tebibyte.media/tomo/nasin/internal/theme"
|
|
|
|
|
2024-05-27 14:02:57 -06:00
|
|
|
// Theme returns Wintergreen, the default Tomo tomo. It is neutral-gray with
|
2024-05-03 17:58:28 -06:00
|
|
|
// green and turquoise accents.
|
2024-05-28 19:56:20 -06:00
|
|
|
func Theme () *dataTheme.Theme {
|
2024-05-03 17:58:28 -06:00
|
|
|
return &dataTheme.Theme {
|
2024-05-27 14:02:57 -06:00
|
|
|
Colors: map[tomo.Color] color.Color {
|
|
|
|
tomo.ColorBackground: colorBackground,
|
|
|
|
tomo.ColorForeground: colorForeground,
|
|
|
|
tomo.ColorRaised: colorCarved,
|
|
|
|
tomo.ColorSunken: colorCarved,
|
|
|
|
tomo.ColorAccent: colorFocus,
|
2024-05-03 17:58:28 -06:00
|
|
|
},
|
|
|
|
Rules: rules,
|
2024-05-06 21:25:53 -06:00
|
|
|
IconTheme: &iconTheme { },
|
2024-05-03 17:58:28 -06:00
|
|
|
}
|
|
|
|
}
|