versatiles-org / versatiles-style

create map styles
Other
20 stars 4 forks source link

colorful contains invalid colors #14

Closed pnorman closed 6 months ago

pnorman commented 6 months ago

When I load the colorful style with Maputnik v1.7.0 I get a bunch of errors like below

Layer 'land-industrial': color expected, "#fff4c255" found — switch to layer
Layer 'land-residential': color expected, "#eae6e133" found — switch to layer
Layer 'street-pedestrian-zone': color expected, "#fdf5ff40" found
Layer 'label-street-pedestrian': color expected, "#ffffffcc" found — switch to layer
Layer 'label-street-livingstreet': color expected, "#ffffffcc" found — switch to layer
Layer 'label-street-residential': color expected, "#ffffffcc" found — switch to layer
Layer 'label-street-unclassified': color expected, "#ffffffcc" found — switch to layer
Layer 'label-street-tertiary': color expected, "#ffffffcc" found — switch to layer

The specification defines color as HTML-style hex values, rgb, rgba, hsl, and hsla as well as HTML color names. The HTML spec defines colors as strings exactly 7 characters long including the number sign.

#ffffffcc does not meet any of the color definitions that Maplibre has.