diff --git a/src/layer/hillshade.js b/src/layer/hillshade.js index 52d969602..b9425d7f5 100644 --- a/src/layer/hillshade.js +++ b/src/layer/hillshade.js @@ -1,4 +1,4 @@ -import { hillshadeShadow, hillshadeHighlight } from "../constants/color"; +import * as Color from "../constants/color.js"; export const hillshading = { id: "hillshading", @@ -17,7 +17,7 @@ export const hillshading = { 17, 0.1, ], - "hillshade-shadow-color": hillshadeShadow, - "hillshade-highlight-color": hillshadeHighlight, + "hillshade-shadow-color": Color.hillshadeShadow, + "hillshade-highlight-color": Color.hillshadeHighlight, }, };