Colour issue... on powershell.

This commit is contained in:
ClementTsang 2020-02-19 22:00:20 -05:00
parent c0fb2bac3f
commit 1c1efcc714
2 changed files with 8 additions and 8 deletions

View file

@ -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,

View file

@ -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?