Change custom style.css file for examples #1361
Labels
priority: low
rt-frontend
Response Team - Frontend
status: discussion
Needs more discussion, to start or to be closed / merged
type: doc
Related to any type of docs: internal, external, examples
type: enhancement
Context
For the examples, we're using a custom css for the widgets, legends and other elements. Everytime we release a new version of CARTO VL and update the developer center, the link to that references this style changes.
If we have:
And then release a patch version, we'd have:
However, the previous link
https://carto.com/developers/carto-vl/v1.2.5/examples/maps/style.css
won't work anymore.Therefore, if someone has copy-pasted an example from the developer center, as soon as we release a new version, this won't work.
Although you can change the link to use the current version, we should fix that to avoid confusion. I think we should upload this file to the CDN every time we release a new version, and then change the developer center accordingly to use this new link.
I'd upload to the following path:
https://libs.cartocdn.com/carto-vl/custom/v1.2.3/style.css
The text was updated successfully, but these errors were encountered: