2024-06-03 01:48:13 -06:00
|
|
|
package aluminumStyle
|
|
|
|
|
|
|
|
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-03 01:48:13 -06:00
|
|
|
|
|
|
|
// New returns Aluminum, a futuristic, bluish-white style.
|
2024-06-11 22:19:12 -06:00
|
|
|
func New () *style.Style {
|
|
|
|
return &style.Style {
|
2024-06-03 01:48:13 -06:00
|
|
|
Colors: map[tomo.Color] color.Color {
|
|
|
|
tomo.ColorBackground: colorBackground,
|
|
|
|
tomo.ColorForeground: colorForeground,
|
2024-06-03 20:49:02 -06:00
|
|
|
tomo.ColorRaised: colorRaised,
|
|
|
|
tomo.ColorSunken: colorSunken,
|
2024-06-03 01:48:13 -06:00
|
|
|
tomo.ColorAccent: colorFocus,
|
|
|
|
},
|
|
|
|
Rules: rules,
|
|
|
|
}
|
|
|
|
}
|