2024-05-03 23:58:28 +00:00
|
|
|
package defaultTheme
|
|
|
|
|
|
|
|
import "image/color"
|
2024-05-27 20:02:57 +00:00
|
|
|
import "git.tebibyte.media/tomo/tomo"
|
2024-05-03 23:58:28 +00:00
|
|
|
import dataTheme "git.tebibyte.media/tomo/nasin/internal/theme"
|
|
|
|
|
2024-05-27 20:02:57 +00:00
|
|
|
// Theme returns Wintergreen, the default Tomo tomo. It is neutral-gray with
|
2024-05-03 23:58:28 +00:00
|
|
|
// green and turquoise accents.
|
2024-05-27 20:02:57 +00:00
|
|
|
func Theme () tomo.Theme {
|
2024-05-03 23:58:28 +00:00
|
|
|
return &dataTheme.Theme {
|
2024-05-27 20:02:57 +00: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 23:58:28 +00:00
|
|
|
},
|
|
|
|
Rules: rules,
|
2024-05-07 03:25:53 +00:00
|
|
|
IconTheme: &iconTheme { },
|
2024-05-03 23:58:28 +00:00
|
|
|
}
|
|
|
|
}
|