From b4400dfe13ea86cb6abaf7177c119fc1576939cc Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Tue, 16 Jun 2020 16:46:46 +0200 Subject: [PATCH] Use terminal blue as default selection background (closes #129) --- CHANGELOG.md | 5 +++++ src/ui/style.rs | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0664aaf8..a23064af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Changed +- Use terminal blue as default selection background ([#129](https://github.com/extrawurst/gitui/issues/129)) + ## [0.7.0] - 2020-06-15 ### Added diff --git a/src/ui/style.rs b/src/ui/style.rs index 540da03d..57559850 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -241,8 +241,8 @@ impl Default for Theme { Self { selected_tab: Color::Yellow, command_fg: Color::White, - selection_bg: Color::Rgb(0, 0, 100), - cmdbar_extra_lines_bg: Color::Rgb(0, 0, 80), + selection_bg: Color::Blue, + cmdbar_extra_lines_bg: Color::Blue, disabled_fg: Color::DarkGray, diff_line_add: Color::Green, diff_line_delete: Color::Red, @@ -251,7 +251,7 @@ impl Default for Theme { diff_file_moved: Color::LightMagenta, diff_file_modified: Color::Yellow, commit_hash: Color::Magenta, - commit_time: Color::Rgb(110, 110, 255), + commit_time: Color::LightCyan, commit_author: Color::Green, danger_fg: Color::Red, }