2017-12-16 22:54:00 +01:00
|
|
|
package config
|
|
|
|
|
|
|
|
type Theme struct {
|
2017-12-17 12:22:04 +01:00
|
|
|
View View `json:"view"`
|
2017-12-16 22:54:00 +01:00
|
|
|
Channel Channel `json:"channel"`
|
2017-12-17 12:22:04 +01:00
|
|
|
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 {
|
2018-08-11 13:10:36 +02:00
|
|
|
Time string `json:"time"`
|
|
|
|
Name string `json:"name"`
|
2019-02-16 22:45:36 +01:00
|
|
|
Thread string `json:"thread"`
|
2018-08-11 13:10:36 +02:00
|
|
|
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"`
|
2017-12-17 12:22:04 +01:00
|
|
|
Text string `json:"text"`
|
2017-12-16 22:54:00 +01:00
|
|
|
}
|