229 lines
No EOL
4.7 KiB
JSON
229 lines
No EOL
4.7 KiB
JSON
{
|
|
"version": 8,
|
|
"name": "Robrix Dark Theme",
|
|
"sources": {
|
|
"mbtiles": {
|
|
"type": "vector",
|
|
"url": "local://kenya-shortbread-1.0.mbtiles"
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "#0f172a"
|
|
}
|
|
},
|
|
{
|
|
"id": "water",
|
|
"type": "fill",
|
|
"source-layer": "water",
|
|
"paint": {
|
|
"fill-color": "#0c4a6e"
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse",
|
|
"type": "fill",
|
|
"source-layer": "landuse",
|
|
"paint": {
|
|
"fill-color": "#172033"
|
|
}
|
|
},
|
|
{
|
|
"id": "landuse-park",
|
|
"type": "fill",
|
|
"source-layer": "landuse",
|
|
"filter": ["==", "class", "park"],
|
|
"paint": {
|
|
"fill-color": "#14532d"
|
|
}
|
|
},
|
|
{
|
|
"id": "buildings",
|
|
"type": "fill",
|
|
"source-layer": "buildings",
|
|
"paint": {
|
|
"fill-color": "#1e293b"
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-motorway",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "motorway"],
|
|
"layout": {
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 1.5,
|
|
18, 12
|
|
],
|
|
"line-cap": "round",
|
|
"line-join": "round"
|
|
},
|
|
"paint": {
|
|
"line-color": "#7c2d12",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 1.5,
|
|
18, 12
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-trunk",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "trunk"],
|
|
"paint": {
|
|
"line-color": "#854d0e",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 1.2,
|
|
18, 10
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-primary",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "primary"],
|
|
"paint": {
|
|
"line-color": "#4b5563",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 1.0,
|
|
18, 8
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-secondary",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "secondary"],
|
|
"paint": {
|
|
"line-color": "#374151",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.8,
|
|
18, 6
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-tertiary",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "tertiary"],
|
|
"paint": {
|
|
"line-color": "#334155",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.6,
|
|
18, 5
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-residential",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"filter": ["==", "class", "residential"],
|
|
"paint": {
|
|
"line-color": "#2f3a49",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.4,
|
|
18, 3
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "roads-default",
|
|
"type": "line",
|
|
"source-layer": "roads",
|
|
"paint": {
|
|
"line-color": "#334155",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.3,
|
|
18, 2.5
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "waterways",
|
|
"type": "line",
|
|
"source-layer": "waterways",
|
|
"paint": {
|
|
"line-color": "#0369a1",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.5,
|
|
18, 4
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "railways",
|
|
"type": "line",
|
|
"source-layer": "railways",
|
|
"paint": {
|
|
"line-color": "#64748b",
|
|
"line-width": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 0.5,
|
|
18, 3
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "labels",
|
|
"type": "symbol",
|
|
"source-layer": "labels",
|
|
"layout": {
|
|
"text-field": ["get", "name"],
|
|
"text-font": ["DIN Pro Medium", "Arial Unicode MS Regular"],
|
|
"text-size": [
|
|
"interpolate",
|
|
["exponential", 1.2],
|
|
["zoom"],
|
|
12, 10,
|
|
18, 14
|
|
],
|
|
"text-allow-overlap": false,
|
|
"text-optional": true
|
|
},
|
|
"paint": {
|
|
"text-color": "#e0f2fe",
|
|
"text-halo-color": "#0f172a",
|
|
"text-halo-width": 2
|
|
}
|
|
}
|
|
],
|
|
"glyphs": "local://fonts/{fontstack}/{range}.pbf",
|
|
"sprite": "local://sprites/sprite"
|
|
} |