]> git.0d.be Git - hdm-toner-cartocss.git/blob - palette.mss
use local shape files for land-{low,high} layers
[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:              #F7F6F1;
75 @water:             #90cccb; //#79c1c0
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:             #E1E9D6;
88 @sports:            @park;
89
90 @residential:       darken(@land, 4%);
91 @commercial:        @land * 0.97;
92 @industrial:        #D7C8CB;
93
94 @building:          #dcd7d7;
95 @building_hedge:    #dcd7d7;
96 @collapsed:         #b25047;
97 @damaged:           #c87c38;
98 @hospital:          rgb(229,198,195);
99 @school:            #E2D6CD;
100
101
102 /* ================================================================== */
103 /* ROAD COLORS
104 /* ================================================================== */
105
106 /* For each class of road there are three color variables:
107  * - line: for lower zoomlevels when the road is represented by a
108  *         single solid line.
109  * - case: for higher zoomlevels, this color is for the road's
110  *         casing (outline).
111  * - fill: for higher zoomlevels, this color is for the road's
112  *         inner fill (inline).
113  */
114
115 /* ================================================================== */
116 /* ROAD SURFACES
117 /* ================================================================== */
118
119 // @unpaved: darken(@residential, 15%); //#e2d8c3; //#ede7da;
120 @unpaved: @residential; //#e2d8c3; //#ede7da;
121 @paved: #aea1a0;
122
123 @unpaved_case: darken(@unpaved, 15%);
124
125 @motorway_line:     #a098b0; //#44366e;
126 @motorway_fill:     @motorway_line;
127 @motorway_case:     darken(@motorway_fill, 10%);
128
129 @primary_line:      #d2938e;
130 @primary_fill:      @primary_line;
131 @primary_case:      @primary_fill * 0.9;
132
133 @secondary_line:    #e9cbb0;
134 @secondary_fill:    @secondary_line;
135 @secondary_case:    @secondary_fill * 0.9;
136
137 @tertiary_line:    #dbde99;
138 @tertiary_fill:    @tertiary_line;
139 @tertiary_case:    @tertiary_fill * 0.9;
140
141 @standard_line:     #d2938e;
142 @standard_fill:     #e4e1d1;
143 @standard_case:     @standard_fill * 0.9;
144
145 @urban_fill:        #f7f6f1;
146 @urban_case:        @urban_fill * 0.9;
147
148 @track_line:        #BFA286;
149 @track_fill:        @unpaved;
150 @track_case:        darken(@unpaved, 20%);
151
152 @pedestrian_line:   #CBC5BF;
153 @pedestrian_fill:   #BFA286;
154 @pedestrian_case:   @land;
155
156 @cycle_line:        @standard_line;
157 @cycle_fill:        #FAFAF5;
158 @cycle_case:        @land;
159
160 @rail_line:         #999;
161 @rail_fill:         #fff;
162 @rail_case:         @land;
163
164 @aeroway:           #ddd;
165
166 @ferry:             #42908f;
167
168 /* ================================================================== */
169 /* BOUNDARY COLORS
170 /* ================================================================== */
171
172 @admin_2:           #537076;
173 @admin_3:           #a59c9b;
174 @admin_2_text:      @admin_2;
175 @admin_3_text:      @admin_3;
176
177 /* ================================================================== */
178 /* LABEL COLORS
179 /* ================================================================== */
180
181 /* We set up a default halo color for places so you can edit them all
182    at once or override each individually. */
183 @place_halo:        fadeout(#fff,34%);
184
185 @country_text:      #435;
186 @country_halo:      @place_halo;
187
188 @capital_text:      @country_text;
189 @capital_halo:      @country_halo;
190
191 @state_text:        #a6a6aa;
192 @state_halo:        @place_halo;
193
194 @city_text:         #222;
195 @city_halo:         @place_halo;
196
197 @town_text:         #444;
198 @town_halo:         @place_halo;
199
200 @poi_text:          #537076;
201 @poi_text2:         #868E90;
202 @poi_halo:          @place_halo;
203
204 @road_text:         #525252;
205 @road_halo:         rgba(255,255,255,0.8);
206
207 @housenumber_text:  #797979;
208
209 @other_text:        #888;
210 @other_halo:        @place_halo;
211
212 @locality_text:     #aaa;
213 @locality_halo:     @land;
214
215 /* Also used for other small places: hamlets, suburbs, localities */
216 @village_text:      #888;
217 @village_halo:      @place_halo;
218
219
220 /* ================================================================== */
221 /* OTHERS
222 /* ================================================================== */
223
224 @contour_line:      #d2ccb0;
225 @power_line:        #9a747c;