use hexadecimal color values for hud_color* settings
This commit is contained in:
parent
2d97ed1416
commit
b614f723c8
16
src/var.rs
16
src/var.rs
|
@ -155,14 +155,14 @@ impl Default for Settings {
|
||||||
font_size_choices: 28.0,
|
font_size_choices: 28.0,
|
||||||
font_size_console: 20.0,
|
font_size_console: 20.0,
|
||||||
font_size_speedometer: 34.0,
|
font_size_speedometer: 34.0,
|
||||||
hud_color: Color::rgb(0.1, 0.5, 0.1),
|
hud_color: Color::hex("#197F19").unwrap(),
|
||||||
hud_color_console: Color::rgb(0.1, 0.5, 0.1),
|
hud_color_console: Color::hex("#197F19").unwrap(),
|
||||||
hud_color_console_warn: Color::rgb(1.0, 0.3, 0.3),
|
hud_color_console_warn: Color::hex("#FF4C4C").unwrap(),
|
||||||
hud_color_console_system: Color::rgb(0.5, 0.5, 0.5),
|
hud_color_console_system: Color::hex("#7F7F7F").unwrap(),
|
||||||
hud_color_alert: Color::rgb(0.6, 0.094, 0.322),
|
hud_color_alert: Color::hex("#991752").unwrap(),
|
||||||
hud_color_subtitles: Color::rgb(0.8, 0.8, 0.8),
|
hud_color_subtitles: Color::hex("#CCCCCC").unwrap(),
|
||||||
hud_color_choices: Color::rgb(0.45, 0.45, 0.45),
|
hud_color_choices: Color::hex("#727272").unwrap(),
|
||||||
hud_color_speedometer: Color::rgb(0.749, 0.0745, 0.31765),
|
hud_color_speedometer: Color::hex("#BE1251").unwrap(),
|
||||||
chat_speed: DEFAULT_CHAT_SPEED * if dev_mode { 2.5 } else { 1.0 },
|
chat_speed: DEFAULT_CHAT_SPEED * if dev_mode { 2.5 } else { 1.0 },
|
||||||
hud_active: false,
|
hud_active: false,
|
||||||
map_active: false,
|
map_active: false,
|
||||||
|
|
Loading…
Reference in a new issue