|
@@ -16,12 +16,16 @@ type (
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
GuildsTreeTheme struct {
|
|
GuildsTreeTheme struct {
|
|
|
- AutoExpandFolders bool `toml:"auto_expand_folders"`
|
|
|
|
|
- Graphics bool `toml:"graphics"`
|
|
|
|
|
|
|
+ AutoExpandFolders bool `toml:"auto_expand_folders"`
|
|
|
|
|
+ ChannelColor string `toml:"channel_color"`
|
|
|
|
|
+ Graphics bool `toml:"graphics"`
|
|
|
|
|
+ GuildColor string `toml:"guild_color"`
|
|
|
|
|
+ PrivateChannelColor string `toml:"private_channel_color"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
MessagesTextTheme struct {
|
|
MessagesTextTheme struct {
|
|
|
AuthorColor string `toml:"author_color"`
|
|
AuthorColor string `toml:"author_color"`
|
|
|
|
|
+ ContentColor string `toml:"content_color"`
|
|
|
EmoteColor string `toml:"emote_color"`
|
|
EmoteColor string `toml:"emote_color"`
|
|
|
ReplyIndicator string `toml:"reply_indicator"`
|
|
ReplyIndicator string `toml:"reply_indicator"`
|
|
|
}
|
|
}
|
|
@@ -37,11 +41,15 @@ func defaultTheme() Theme {
|
|
|
TitleColor: "default",
|
|
TitleColor: "default",
|
|
|
|
|
|
|
|
GuildsTree: GuildsTreeTheme{
|
|
GuildsTree: GuildsTreeTheme{
|
|
|
- AutoExpandFolders: true,
|
|
|
|
|
- Graphics: true,
|
|
|
|
|
|
|
+ AutoExpandFolders: true,
|
|
|
|
|
+ ChannelColor: tview.Styles.PrimaryTextColor.String(),
|
|
|
|
|
+ Graphics: true,
|
|
|
|
|
+ GuildColor: tview.Styles.PrimaryTextColor.String(),
|
|
|
|
|
+ PrivateChannelColor: tview.Styles.PrimaryTextColor.String(),
|
|
|
},
|
|
},
|
|
|
MessagesText: MessagesTextTheme{
|
|
MessagesText: MessagesTextTheme{
|
|
|
AuthorColor: "aqua",
|
|
AuthorColor: "aqua",
|
|
|
|
|
+ ContentColor: tview.Styles.PrimaryTextColor.String(),
|
|
|
EmoteColor: "green",
|
|
EmoteColor: "green",
|
|
|
ReplyIndicator: string(tview.BoxDrawingsLightArcDownAndRight) + " ",
|
|
ReplyIndicator: string(tview.BoxDrawingsLightArcDownAndRight) + " ",
|
|
|
},
|
|
},
|