Remove *Foreground configuration
This commit is contained in:
parent
e2b144d3a6
commit
946e164564
5 changed files with 0 additions and 11 deletions
|
|
@ -179,7 +179,6 @@ func onGuildsDropDownSelected(_ string, i int) {
|
|||
SetReference(channel)
|
||||
switch channel.Type {
|
||||
case discord.GuildCategory:
|
||||
channelNode.SetColor(tcell.GetColor(config.Theme.TreeNodeForeground))
|
||||
channelsTreeNode.AddChild(channelNode)
|
||||
case discord.GuildText, discord.GuildNews:
|
||||
if channel.CategoryID == 0 || channel.CategoryID == discord.NullChannelID {
|
||||
|
|
|
|||
|
|
@ -12,9 +12,7 @@ func NewGuildsDropDown(onGuildsDropDownSelected func(text string, index int), th
|
|||
guildsDropDown.
|
||||
SetLabel("Guild: ").
|
||||
SetSelectedFunc(onGuildsDropDownSelected).
|
||||
SetLabelColor(tcell.GetColor(theme.DropDownForeground)).
|
||||
SetFieldBackgroundColor(tcell.GetColor(theme.DropDownBackground)).
|
||||
SetFieldTextColor(tcell.GetColor(theme.DropDownForeground)).
|
||||
SetBackgroundColor(tcell.GetColor(theme.DropDownBackground)).
|
||||
SetBorder(true).
|
||||
SetBorderPadding(0, 0, 1, 1)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ func NewMessageInputField(onMessageInputFieldDone func(key tcell.Key), theme *ut
|
|||
SetFieldWidth(0).
|
||||
SetDoneFunc(onMessageInputFieldDone).
|
||||
SetFieldBackgroundColor(tcell.GetColor(theme.InputFieldBackground)).
|
||||
SetPlaceholderTextColor(tcell.GetColor(theme.InputFieldPlaceholderForeground)).
|
||||
SetBackgroundColor(tcell.GetColor(theme.InputFieldBackground)).
|
||||
SetBorder(true).
|
||||
SetBorderPadding(0, 0, 1, 1).
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ func NewMessagesTextView(onMessagesTextViewChanged func(), theme *util.Theme) *t
|
|||
SetWordWrap(true).
|
||||
ScrollToEnd().
|
||||
SetChangedFunc(onMessagesTextViewChanged).
|
||||
SetTextColor(tcell.GetColor(theme.TextViewForeground)).
|
||||
SetBackgroundColor(tcell.GetColor(theme.TextViewBackground)).
|
||||
SetBorder(true).
|
||||
SetBorderPadding(0, 0, 1, 1)
|
||||
|
|
|
|||
|
|
@ -10,12 +10,6 @@ type Theme struct {
|
|||
TreeViewBackground string `json:"treeview.background"`
|
||||
TextViewBackground string `json:"textview.background"`
|
||||
InputFieldBackground string `json:"inputField.background"`
|
||||
|
||||
DropDownForeground string `json:"dropdown.foreground"`
|
||||
TextViewForeground string `json:"textview.foreground"`
|
||||
TreeNodeForeground string `json:"treenode.foreground"`
|
||||
InputFieldForeground string `json:"inputField.foreground"`
|
||||
InputFieldPlaceholderForeground string `json:"inputField.placeholderTextForeground"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue