Skip to content

Commit

Permalink
For now, the minibuffer palette is hardcoded
Browse files Browse the repository at this point in the history
So the app using the minibuffer needs to provide palette names
"minibuffer" and "minibuffer-buttons"
  • Loading branch information
gcla committed Jul 12, 2020
1 parent e1fa8cf commit 2eda27c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/palette.go
Expand Up @@ -67,6 +67,8 @@ var (
"filter-intermediate": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorOrange),
"dialog": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorYellow),
"dialog-buttons": gowid.MakePaletteEntry(gowid.ColorYellow, gowid.ColorBlack),
"minibuffer": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorYellow),
"minibuffer-buttons": gowid.MakePaletteEntry(gowid.ColorYellow, gowid.ColorBlack),
"button": gowid.MakePaletteEntry(gowid.ColorDarkBlue, ButtonBg),
"button-focus": gowid.MakePaletteEntry(gowid.ColorWhite, gowid.ColorDarkBlue),
"button-selected": gowid.MakePaletteEntry(PktListCellSelectedFgReg, PktListCellSelectedBgReg),
Expand Down Expand Up @@ -139,6 +141,8 @@ var (
"filter-intermediate": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorOrange),
"dialog": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorYellow),
"dialog-buttons": gowid.MakePaletteEntry(gowid.ColorYellow, gowid.ColorBlack),
"minibuffer": gowid.MakePaletteEntry(gowid.ColorBlack, gowid.ColorYellow),
"minibuffer-buttons": gowid.MakePaletteEntry(gowid.ColorYellow, gowid.ColorBlack),
"button": gowid.MakePaletteEntry(gowid.ColorBlack, ButtonBgDark),
"button-focus": gowid.MakePaletteEntry(gowid.ColorWhite, gowid.ColorMagenta),
"button-selected": gowid.MakePaletteEntry(PktListCellSelectedFgDark, PktListCellSelectedBgDark),
Expand Down

0 comments on commit 2eda27c

Please sign in to comment.