20 lines
509 B
Go
20 lines
509 B
Go
package aluminumStyle
|
|
|
|
import "image/color"
|
|
import "git.tebibyte.media/tomo/tomo"
|
|
import "git.tebibyte.media/tomo/nasin/internal/style"
|
|
|
|
// New returns Aluminum, a futuristic, bluish-white style.
|
|
func New () *style.Style {
|
|
return &style.Style {
|
|
Colors: map[tomo.Color] color.Color {
|
|
tomo.ColorBackground: colorBackground,
|
|
tomo.ColorForeground: colorForeground,
|
|
tomo.ColorRaised: colorRaised,
|
|
tomo.ColorSunken: colorSunken,
|
|
tomo.ColorAccent: colorFocus,
|
|
},
|
|
Rules: rules,
|
|
}
|
|
}
|