Skip to content

Commit

Permalink
fix: invert bg / fg for the status bar
Browse files Browse the repository at this point in the history
related to
- 4067a1d show the mode in reverse compared to the hints
  • Loading branch information
amtoine committed Aug 21, 2023
1 parent 070e069 commit c5339a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions examples/configuration/themes/dark.nuon
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
selected_symbol: "", # the symbol to show to the left of the row under the cursor
status_bar: {
normal: { # the colors for the status bar in NORMAL mode
background: white,
foreground: reset,
background: reset,
foreground: white,
},
insert: { # the colors for the status bar in INSERT mode
background: lightyellow,
foreground: reset,
background: reset,
foreground: lightyellow,
},
peek: { # the colors for the status bar in PEEKING mode
background: lightgreen,
foreground: reset,
background: reset,
foreground: lightgreen,
}
bottom: { # the colors for the status bar in BOTTOM mode
background: lightmagenta,
foreground: reset,
background: reset,
foreground: lightmagenta,
}
}
}
16 changes: 8 additions & 8 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,20 +145,20 @@ impl Config {
selected_symbol: "".into(),
status_bar: StatusBarColorConfig {
normal: BgFgColorConfig {
background: Color::White,
foreground: Color::Reset,
background: Color::Reset,
foreground: Color::White,
},
insert: BgFgColorConfig {
background: Color::LightYellow,
foreground: Color::Reset,
background: Color::Reset,
foreground: Color::LightYellow,
},
peek: BgFgColorConfig {
background: Color::LightGreen,
foreground: Color::Reset,
background: Color::Reset,
foreground: Color::LightGreen,
},
bottom: BgFgColorConfig {
background: Color::LightMagenta,
foreground: Color::Reset,
background: Color::Reset,
foreground: Color::LightMagenta,
},
},
},
Expand Down

0 comments on commit c5339a0

Please sign in to comment.