1use widgetry::Color;
2
3lazy_static::lazy_static! {
4 pub static ref CELLS: [Color; 10] = [
7 Color::hex("#8dd3c7"),
8 Color::hex("#ffffb3"),
9 Color::hex("#bebada"),
10 Color::hex("#80b1d3"),
11 Color::hex("#fdb462"),
12 Color::hex("#b3de69"),
13 Color::hex("#fccde5"),
14 Color::hex("#bc80bd"),
15 Color::hex("#ccebc5"),
16 Color::hex("#ffed6f"),
17 ];
18
19 pub static ref PLAN_ROUTE_BEFORE: Color = Color::PURPLE;
20 pub static ref PLAN_ROUTE_AFTER: Color = Color::CYAN;
21 pub static ref PLAN_ROUTE_BIKE: Color = Color::GREEN;
22 pub static ref PLAN_ROUTE_WALK: Color = Color::BLUE;
23
24 pub static ref BUS_ROUTE: Color = Color::hex("#0672B9");
25
26 pub static ref POROUS: Color = Color::hex("#99BA98");
28 pub static ref SEMI_PERMEABLE: Color = Color::hex("#EFC796");
29 pub static ref IMPERMEABLE: Color = Color::hex("#E99875");
30
31 pub static ref SPEED_LIMITS: [Color; 4] = [
33 Color::hex("#00AB4D"),
34 Color::hex("#8ECA4D"),
35 Color::hex("#F7BB00"),
36 Color::hex("#BB0000"),
37 ];
38
39 pub static ref NETWORK_SEGREGATED_LANE: Color = Color::hex("#028A0F");
40 pub static ref NETWORK_QUIET_STREET: Color = Color::hex("#03AC13");
41 pub static ref NETWORK_PAINTED_LANE: Color = Color::hex("#90EE90");
42 pub static ref NETWORK_THROUGH_TRAFFIC_STREET: Color = Color::hex("#F3A4A4");
43}
44
45pub const DISCONNECTED_CELL: Color = Color::RED.alpha(0.5);
46
47pub const BLOCK_IN_BOUNDARY: Color = Color::BLUE.alpha(0.5);
48pub const BLOCK_IN_FRONTIER: Color = Color::CYAN.alpha(0.2);
49
50pub const LOCAL_ROAD_LABEL: Color = Color::BLACK;
52pub const MAIN_ROAD_LABEL: Color = Color::WHITE;
53pub const HOVER: Color = Color::CYAN.alpha(0.5);
54
55pub const TURN_PERMITTED_DESTINATION: Color = Color::YELLOW.alpha(0.8);
56pub const TURN_RESTRICTED_DESTINATION: Color = Color::RED.alpha(0.8);