mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-23 04:33:10 +00:00
Colour issue... on powershell.
This commit is contained in:
parent
c0fb2bac3f
commit
1c1efcc714
2 changed files with 8 additions and 8 deletions
|
@ -4,8 +4,8 @@ use tui::style::{Color, Modifier, Style};
|
|||
|
||||
use crate::{constants::*, utils::error};
|
||||
|
||||
const STANDARD_FIRST_COLOUR: Color = Color::Magenta;
|
||||
const STANDARD_SECOND_COLOUR: Color = Color::Yellow;
|
||||
const STANDARD_FIRST_COLOUR: Color = Color::LightMagenta;
|
||||
const STANDARD_SECOND_COLOUR: Color = Color::LightYellow;
|
||||
|
||||
pub struct CanvasColours {
|
||||
pub currently_selected_text_colour: Color,
|
||||
|
|
|
@ -32,12 +32,12 @@ pub fn gen_n_styles(num_to_gen: i32) -> Vec<Style> {
|
|||
|
||||
// Generate colours
|
||||
let mut colour_vec: Vec<Style> = vec![
|
||||
Style::default().fg(Color::Magenta),
|
||||
Style::default().fg(Color::Yellow),
|
||||
Style::default().fg(Color::Red),
|
||||
Style::default().fg(Color::Cyan),
|
||||
Style::default().fg(Color::Green),
|
||||
Style::default().fg(Color::Blue),
|
||||
Style::default().fg(Color::LightMagenta),
|
||||
Style::default().fg(Color::LightYellow),
|
||||
Style::default().fg(Color::LightRed),
|
||||
Style::default().fg(Color::LightCyan),
|
||||
Style::default().fg(Color::LightGreen),
|
||||
Style::default().fg(Color::LightBlue),
|
||||
];
|
||||
|
||||
let mut h: f32 = 0.4; // We don't need random colours... right?
|
||||
|
|
Loading…
Reference in a new issue