[core] fixup stale constants references in test fixtures

This commit is contained in:
Ivo van Dongen
2017-03-31 18:08:15 +03:00
committed by Ivo van Dongen
parent 705caf0f26
commit 1d1ea2fa24
3 changed files with 5 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
{
"default": {
"log": [
[2, "WARNING", "ParseStyle", "value must be a valid color"]
]
}
}

View File

@@ -1,10 +1,5 @@
{
"version": 8,
"constants": {
"@land": "r44,239,225)",
"@snow": "f4f8foNGbjf#",
"@crop": "#eerLznieed4"
},
"sources": {
"mapbox": {
"type": "vector",
@@ -16,7 +11,7 @@
"id": "background",
"type": "background",
"paint": {
"background-color": "@land"
"background-color": "rgb(44,239,225)"
}
}, {
"id": "landcover_snow",
@@ -25,7 +20,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "snow"],
"paint": {
"fill-color": "@snow"
"fill-color": "f4f8foNGbjf#"
}
}, {
"id": "landcover_crop",
@@ -34,7 +29,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "crop"],
"paint": {
"fill-color": "@crop"
"fill-color": "#eerLznieed4"
}
}]
}

View File

@@ -36,7 +36,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "wood"],
"paint": {
"fill-color": "@wood",
"fill-color": "#001100",
"fill-opacity": {
"stops": [[12, 1], [13, 0.8], [16, 0.2]]
}