-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.mss
101 lines (78 loc) · 2.86 KB
/
vars.mss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// Language
@name: '[name]';
// set up font sets for various weights and styles
@sans_lt: "Roboto Medium";
@sans_lt_italic: "Open Sans Italic","Arial Unicode MS Regular";
@sans: "Open Sans Semibold","Arial Unicode MS Regular";
@sans_bold: "Open Sans Bold","Arial Unicode MS Regular";
@sans_italic: "Open Sans Semibold Italic","Arial Unicode MS Regular";
@sans_bold_italic: "Open Sans Bold Italic","Arial Unicode MS Regular";
// =====================================================================
// LANDUSE & LANDCOVER COLORS
// =====================================================================
@land: #F5F4F2;
@water: #73B6E6;
@grass: #E1EBB0;
@sand: #F7ECD2;
@rock: #D8D7D5;
@park: #C8DF9F;
@cemetery: #D5DCC2;
@wood: darken(#B0C89F, 4);
@industrial: #DDDCDC;
@agriculture: darken(#E8D5C3, 3);
@snow: #EDE5DD;
@crop: #E9E5C2;
@building: darken(@land, 8);
@hospital: #F2E3E1;
@school: #F2EAB8;
@pitch: #b8d781;
@sports: @park;
@parking: fadeout(@road_fill, 75%);
// =====================================================================
// ROAD COLORS
// =====================================================================
// For each class of road there are three color variables:
// - line: for lower zoomlevels when the road is represented by a
// single solid line.
// - case: for higher zoomlevels, this color is for the road's
// casing (outline).
// - fill: for higher zoomlevels, this color is for the road's
// inner fill (inline).
@motorway_line: #fff;
@motorway_fill: #fff;
@motorway_case: #000;
@main_line: #fff;
@main_fill: #fff;
@main_case: #000;
@road_line: #fff;
@road_fill: #fff;
@road_case: #000;
@pedestrian_line: #fff;
@pedestrian_fill: @pedestrian_line;
@pedestrian_case: @road_case;
@path_line: #fff;
@path_fill: #fff;
@path_case: @land;
@rail_line: #aaa;
@rail_fill: #fff;
@rail_case: @land;
@bridge_case: #999;
// =====================================================================
// LABEL COLORS
// =====================================================================
// We set up a default halo color for places so you can edit them all
// at once or override each individually.
@place_halo: #fff;
@town_text: @land * 0.2;
@town_halo: @place_halo;
@poi_text: @poi_text;
@road_text: #666;
@road_halo: #fff;
@other_text: darken(@land,50)*0.8;
@other_halo: @place_halo;
@locality_text: #aaa;
@locality_halo: @land;
// Also used for other small places: hamlets, suburbs, localities
@village_text: #888;
@village_halo: @place_halo;
@transport_text: #445;