mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
disabled night color scheme
This commit is contained in:
parent
78904c007f
commit
6cf9ba678c
68
data/night_colors.json
Normal file
68
data/night_colors.json
Normal 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
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -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),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user