From b614f723c8ce512f68e459ef12ab0a93aaa6230d Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 30 Apr 2024 23:47:26 +0200 Subject: [PATCH] use hexadecimal color values for hud_color* settings --- src/var.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/var.rs b/src/var.rs index 7bd7bc9..cb56168 100644 --- a/src/var.rs +++ b/src/var.rs @@ -155,14 +155,14 @@ impl Default for Settings { font_size_choices: 28.0, font_size_console: 20.0, font_size_speedometer: 34.0, - hud_color: Color::rgb(0.1, 0.5, 0.1), - hud_color_console: Color::rgb(0.1, 0.5, 0.1), - hud_color_console_warn: Color::rgb(1.0, 0.3, 0.3), - hud_color_console_system: Color::rgb(0.5, 0.5, 0.5), - hud_color_alert: Color::rgb(0.6, 0.094, 0.322), - hud_color_subtitles: Color::rgb(0.8, 0.8, 0.8), - hud_color_choices: Color::rgb(0.45, 0.45, 0.45), - hud_color_speedometer: Color::rgb(0.749, 0.0745, 0.31765), + hud_color: Color::hex("#197F19").unwrap(), + hud_color_console: Color::hex("#197F19").unwrap(), + hud_color_console_warn: Color::hex("#FF4C4C").unwrap(), + hud_color_console_system: Color::hex("#7F7F7F").unwrap(), + hud_color_alert: Color::hex("#991752").unwrap(), + hud_color_subtitles: Color::hex("#CCCCCC").unwrap(), + hud_color_choices: Color::hex("#727272").unwrap(), + hud_color_speedometer: Color::hex("#BE1251").unwrap(), chat_speed: DEFAULT_CHAT_SPEED * if dev_mode { 2.5 } else { 1.0 }, hud_active: false, map_active: false,