Skip to content

Commit

Permalink
fix: weird coloring of status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
wllfaria committed May 22, 2024
1 parent f667183 commit 4a0f57a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion colors/src/colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl Default for PrimaryColors {
fn default() -> Self {
PrimaryColors {
foreground: Color::Rgb(0x0F, 0x14, 0x19),
background: Color::Rgb(0x18, 0x16, 0x16),
background: Color::Rgb(0x1f, 0x1f, 0x28),
accent: Color::Rgb(0xb6, 0x92, 0x7b),
hover: Color::Rgb(0x38, 0x38, 0x38),
}
Expand Down
3 changes: 1 addition & 2 deletions tui/src/components/api_explorer/req_editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ impl<'re> ReqEditor<'re> {
.add(cursor.content.len())
.add(percentage.content.len());

let padding = Span::from(" ".repeat(size.width.sub(content_len as u16).into()))
.bg(self.colors.normal.black);
let padding = Span::from(" ".repeat(size.width.sub(content_len as u16).into()));

match self.editor_mode {
EditorMode::Insert => {
Expand Down

0 comments on commit 4a0f57a

Please sign in to comment.