erroneousboat-slack-term/config/theme.go

31 lines
818 B
Go
Raw Permalink Normal View History

2017-12-16 22:54:00 +01:00
package config
type Theme struct {
View View `json:"view"`
2017-12-16 22:54:00 +01:00
Channel Channel `json:"channel"`
Message Message `json:"message"`
}
type View struct {
2018-10-13 14:17:08 +02:00
Fg string `json:"fg"` // Foreground text
Bg string `json:"bg"` // Background text
BorderFg string `json:"border_fg"` // Border foreground
BorderBg string `json:"border_bg"` // Border background
2018-10-13 15:35:24 +02:00
LabelFg string `json:"label_fg"` // Label text foreground
LabelBg string `json:"label_bg"` // Label text background
2017-12-16 22:54:00 +01:00
}
type Message struct {
Time string `json:"time"`
Name string `json:"name"`
2019-02-16 22:45:36 +01:00
Thread string `json:"thread"`
Text string `json:"text"`
TimeFormat string `json:"time_format"`
2017-12-16 22:54:00 +01:00
}
type Channel struct {
Prefix string `json:"prefix"`
Icon string `json:"icon"`
Text string `json:"text"`
2017-12-16 22:54:00 +01:00
}