disabled night color scheme

This commit is contained in:
Dustin Carlino 2019-10-31 17:06:03 -07:00
parent 78904c007f
commit 6cf9ba678c
2 changed files with 76 additions and 2 deletions

68
data/night_colors.json Normal file
View File

@ -0,0 +1,68 @@
{
"map": {
"building": {
"RGBA": [
0.259,
0.129,
0.549,
1.0
]
},
"building path": {
"RGBA": [
0.49,
0.337,
0.788,
1.0
]
},
"grass": {
"RGBA": [
0.024,
0.243,
0.537,
1.0
]
},
"map background": {
"RGBA": [
0.031,
0.031,
0.282,
1.0
]
},
"unzoomed arterial road": {
"RGBA": [
0.333,
0.145,
0.482,
1.0
]
},
"unzoomed highway road": {
"RGBA": [
0.867,
0.122,
0.5,
1.0
]
},
"unzoomed residential road": {
"RGBA": [
0.302,
0.318,
0.675,
1.0
]
},
"water": {
"RGBA": [
0.165,
0.263,
0.667,
1.0
]
}
}
}

View File

@ -49,8 +49,14 @@ impl UI {
Vec::new()
} else {
vec![
("assets/water_texture.png", Color::rgb(164, 200, 234)),
("assets/grass_texture.png", Color::rgb(148, 200, 74)),
(
"assets/water_texture.png",
cs.get_def("water", Color::rgb(164, 200, 234)),
),
(
"assets/grass_texture.png",
cs.get_def("grass", Color::rgb(148, 200, 74)),
),
("assets/pedestrian.png", Color::rgb(51, 178, 178)),
("assets/car.png", Color::CYAN),
]