Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles 5.0 #381

Merged
merged 8 commits into from
Feb 18, 2025
Merged

Styles 5.0 #381

merged 8 commits into from
Feb 18, 2025

Conversation

bdon
Copy link
Member

@bdon bdon commented Feb 17, 2025

Breaking major version with new NPM package name.

  • rename npm package protomaps-themes-base to the more expected @protomaps/basemaps
  • rename Theme object to Flavor, migrate CONTRAST flavor to external repo
  • unify styles API on a single layers function: see changelog for migration guide
  • generate-style generates a single JSON style from CLI

After 5.0 is published, protomaps-themes-base will be deprecated

bdon added 2 commits February 17, 2025 19:45
* rename  to the more expected @protomaps/basemaps
* rename Theme object to Flavor
* unify styles API on a single  function
@bdon bdon merged commit 7caa0f5 into main Feb 18, 2025
5 checks passed
@bdon bdon deleted the styles-5-0 branch February 18, 2025 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant