Skip to content

Commit

Permalink
fix sprite theme name in generate-styles (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored Oct 3, 2024
1 parent 6008b1a commit 468df9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions styles/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protomaps-themes-base",
"version": "4.0.0",
"version": "4.0.1",
"description": "Protomaps basemap themes for MapLibre GL JS",
"type": "module",
"main": "dist/cjs/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion styles/src/generate_styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for (const theme of ["light", "dark", "white", "grayscale", "black"]) {
},
},
layers: layers,
sprite: "https://protomaps.github.io/basemaps-assets/sprites/v3/light",
sprite: `https://protomaps.github.io/basemaps-assets/sprites/v3/${theme}`,
glyphs:
"https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf",
};
Expand Down

0 comments on commit 468df9f

Please sign in to comment.