]> git.0d.be Git - hdm-toner-cartocss.git/blob - palette.mss
adjust name and compare url
[hdm-toner-cartocss.git] / palette.mss
1 /* ****************************************************************** */
2 /* OSM BRIGHT for Imposm                                              */
3 /* ****************************************************************** */
4
5 /* For basic style customization you can simply edit the colors and
6  * fonts defined in this file. For more detailed / advanced
7  * adjustments explore the other files.
8  *
9  * GENERAL NOTES
10  *
11  * There is a slight performance cost in rendering line-caps.  An
12  * effort has been made to restrict line-cap definitions to styles
13  * where the results will be visible (lines at least 2 pixels thick).
14  */
15
16 /* ================================================================== */
17 /* FONTS
18 /* ================================================================== */
19
20 /* directory to load fonts from in addition to the system directories */
21 Map { font-directory: url(./fonts); }
22
23 /* set up font sets for various weights and styles */
24 @regular:           'Noto Sans Regular',
25                     'Noto Sans Arabic Regular',
26                     'Noto Sans Armenian Regular',
27                     'Noto Sans CJK JP Regular',
28                     'Noto Sans Georgian Regular',
29                     'Noto Sans Hebrew Regular',
30                     'Noto Sans Khmer Regular',
31                     'Noto Sans Lao Regular',
32                     'Noto Sans Myanmar Regular',
33                     'Noto Sans Tamil Regular',
34                     'Noto Sans Thai Regular',
35                     'Unifont Medium',
36                     'unifont Medium';
37 @medium:            'Noto Sans Medium',
38                     'Noto Sans Arabic Medium',
39                     'Noto Sans Armenian Medium',
40                     'Noto Sans CJK JP Medium',
41                     'Noto Sans Georgian Medium',
42                     'Noto Sans Hebrew Medium',
43                     'Noto Sans Khmer Medium',
44                     'Noto Sans Lao Medium',
45                     'Noto Sans Myanmar Medium',
46                     'Noto Sans Tamil Medium',
47                     'Noto Sans Thai Medium',
48                     'Unifont Medium',
49                     'unifont Medium';
50 @bold:              'Noto Sans Bold',
51                     'Noto Sans Arabic Bold',
52                     'Noto Sans Armenian Bold',
53                     'Noto Sans CJK JP Bold',
54                     'Noto Sans Georgian Bold',
55                     'Noto Sans Hebrew Bold',
56                     'Noto Sans Khmer Bold',
57                     'Noto Sans Lao Bold',
58                     'Noto Sans Myanmar Bold',
59                     'Noto Sans Tamil Bold',
60                     'Noto Sans Thai Bold',
61                     'Unifont Medium',
62                     'unifont Medium';
63
64 /* Some fonts are larger or smaller than others. Use this variable to
65    globally increase or decrease the font sizes. */
66 /* Note this is only implemented for certain things so far */
67 @text_adjust: 0;
68
69
70 /* ================================================================== */
71 /* LANDUSE & LANDCOVER COLORS
72 /* ================================================================== */
73
74 @land:              #FFFFFF;
75 @water:             #000000;
76 @beach:             #EEE5B2;
77 @cemetery:          #D6DED2;
78 @military:          #D1BFAA;
79 @wetland:           #e3e9e2; //#CFDCD3;
80 @peak:              #69623c;
81 @salt:              #ecf0f1;
82 /* Greens */
83 @park:              #D0DCAE; //#86ac86
84 @wooded:            #B2C29D; //#95ae79;
85 @grass:             @park;
86 @agriculture:       #DEDDBE; //#c7c78d; //#C3D9AD;
87 @heath:             @land;
88 @sports:            @park;
89
90 @residential:       @land;
91 @commercial:        @land;
92 @industrial:         @land;
93
94 @building:          #FFFFFF;
95 @building_edge:     #000000;
96 @building_hedge:    #dcd7d7;
97 @collapsed:         #b25047;
98 @damaged:           #c87c38;
99 @hospital:          #FFFFFF;
100 @school:            #FFFFFF;
101
102
103 /* ================================================================== */
104 /* ROAD COLORS
105 /* ================================================================== */
106
107 /* For each class of road there are three color variables:
108  * - line: for lower zoomlevels when the road is represented by a
109  *         single solid line.
110  * - case: for higher zoomlevels, this color is for the road's
111  *         casing (outline).
112  * - fill: for higher zoomlevels, this color is for the road's
113  *         inner fill (inline).
114  */
115
116 /* ================================================================== */
117 /* ROAD SURFACES
118 /* ================================================================== */
119
120 // @unpaved: darken(@residential, 15%); //#e2d8c3; //#ede7da;
121 @unpaved: #000000; // @residential; //#e2d8c3; //#ede7da;
122 @paved: #aea1a0;
123
124 @unpaved_case: #FFFFFF;
125
126 @motorway_line:     #000000;
127 @motorway_fill:     @motorway_line;
128 @motorway_case:     darken(@motorway_fill, 10%);
129
130 @primary_line:      #000000;
131 @primary_fill:      @primary_line;
132 @primary_case:      @primary_fill * 0.9;
133
134 @secondary_line:    @primary_line;
135 @secondary_fill:    @primary_fill;
136 @secondary_case:    @primary_case;
137
138 @tertiary_line:    @primary_line;
139 @tertiary_fill:    @tertiary_line;
140 @tertiary_case:    @tertiary_fill * 0.9;
141
142 @standard_line:     #000000;
143 @standard_fill:     #000000;
144 @standard_case:     @standard_fill;
145
146 @urban_fill:        @primary_fill;
147 @urban_case:        @urban_fill * 0.9;
148
149 @track_line:        #BFA286;
150 @track_fill:        @unpaved;
151 @track_case:        darken(@unpaved, 20%);
152
153 @pedestrian_line:   #f4f4f4;
154 @pedestrian_fill:   #FFFFFF;
155 @pedestrian_case:   @land;
156
157 @cycle_line:        @standard_line;
158 @cycle_fill:        #FAFAF5;
159 @cycle_case:        @land;
160
161 @rail_line:         #999;
162 @rail_fill:         #fff;
163 @rail_case:         @land;
164
165 @aeroway:           #ddd;
166
167 @ferry:             #42908f;
168
169 /* ================================================================== */
170 /* BOUNDARY COLORS
171 /* ================================================================== */
172
173 @admin_2:           #537076;
174 @admin_3:           #a59c9b;
175 @admin_2_text:      @admin_2;
176 @admin_3_text:      @admin_3;
177
178 /* ================================================================== */
179 /* LABEL COLORS
180 /* ================================================================== */
181
182 /* We set up a default halo color for places so you can edit them all
183    at once or override each individually. */
184 @place_halo:        fadeout(#fff,34%);
185
186 @country_text:      #435;
187 @country_halo:      @place_halo;
188
189 @capital_text:      @country_text;
190 @capital_halo:      @country_halo;
191
192 @state_text:        #a6a6aa;
193 @state_halo:        @place_halo;
194
195 @city_text:         #222;
196 @city_halo:         @place_halo;
197
198 @town_text:         #444;
199 @town_halo:         @place_halo;
200
201 @poi_text:          #537076;
202 @poi_text2:         #868E90;
203 @poi_halo:          @place_halo;
204
205 @road_text:         #000000;
206 @road_halo:         #FFFFFF;
207
208 @housenumber_text:  #797979;
209
210 @other_text:        #888;
211 @other_halo:        @place_halo;
212
213 @locality_text:     #aaa;
214 @locality_halo:     @land;
215
216 /* Also used for other small places: hamlets, suburbs, localities */
217 @village_text:      #888;
218 @village_halo:      @place_halo;
219
220
221 /* ================================================================== */
222 /* OTHERS
223 /* ================================================================== */
224
225 @contour_line:      #d2ccb0;
226 @power_line:        #9a747c;