@swr-data-lab/components 2.4.5 → 2.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,11 +39,11 @@ const shades = {
|
|
|
39
39
|
dark5: '#005163'
|
|
40
40
|
},
|
|
41
41
|
yellow: {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
light5: '#FFFDB2',
|
|
43
|
+
light4: '#FEF67C',
|
|
44
44
|
light3: '#FDEF3E',
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
light2: '#FAE617',
|
|
46
|
+
light1: '#F5DF13',
|
|
47
47
|
base: '#EFD710',
|
|
48
48
|
dark1: '#E3CA0D',
|
|
49
49
|
dark2: '#DCC10A',
|
|
@@ -3,6 +3,7 @@ import tokens from '../tokens';
|
|
|
3
3
|
// Ideally majorCities would include Frankfurt and Leipzig, but they're not
|
|
4
4
|
// state capitals so they're not available in the versatiles data until z6
|
|
5
5
|
const majorCities = [
|
|
6
|
+
'Berlin',
|
|
6
7
|
'Stuttgart',
|
|
7
8
|
'München',
|
|
8
9
|
'Mainz',
|
|
@@ -157,24 +158,7 @@ export default function makePlaceLabels() {
|
|
|
157
158
|
layout: {
|
|
158
159
|
'text-size': {
|
|
159
160
|
stops: [
|
|
160
|
-
[7,
|
|
161
|
-
[15, 21]
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
paint: {
|
|
166
|
-
'text-color': tokens.label_secondary
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
id: 'label-place-capital',
|
|
171
|
-
filter: ['all', ['==', 'kind', 'capital'], ['>', 'population', 1000000]],
|
|
172
|
-
minzoom: 5,
|
|
173
|
-
maxzoom: 12,
|
|
174
|
-
layout: {
|
|
175
|
-
'text-size': {
|
|
176
|
-
stops: [
|
|
177
|
-
[7, 15],
|
|
161
|
+
[7, 13],
|
|
178
162
|
[15, 21]
|
|
179
163
|
]
|
|
180
164
|
}
|