Skip to content

Commit

Permalink
Rename color variable
Browse files Browse the repository at this point in the history
Same color as waterLabel, but now named urbanSubAreaLabel
  • Loading branch information
wmisener committed Nov 21, 2024
1 parent 7e14ef8 commit 442676e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/constants/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export const airportOutline = "hsl(250, 41%, 79%)";
export const airportRunway = "hsl(250, 41%, 79%)";
export const airportLabel = "hsl(250, 71%, 29%)";

export const urbanSubAreaLabel = "hsl(211, 43%, 28%)";

//TODO - rename this variable to "palette"
export const palette = {
black: "black",
Expand Down
6 changes: 3 additions & 3 deletions src/layer/place.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const suburb = {
id: "place_suburb",
type: "symbol",
paint: {
"text-color": Color.waterLabel,
"text-color": Color.urbanSubAreaLabel,
"text-halo-color": labelHaloColor,
"text-halo-width": [
"interpolate",
Expand Down Expand Up @@ -270,7 +270,7 @@ export const quarter = {
id: "place_quarter",
type: "symbol",
paint: {
"text-color": Color.waterLabel,
"text-color": Color.urbanSubAreaLabel,
"text-halo-color": labelHaloColor,
"text-halo-width": [
"interpolate",
Expand Down Expand Up @@ -326,7 +326,7 @@ export const neighborhood = {
id: "place_neighborhood",
type: "symbol",
paint: {
"text-color": Color.waterLabel,
"text-color": Color.urbanSubAreaLabel,
"text-halo-color": labelHaloColor,
"text-halo-width": [
"interpolate",
Expand Down

0 comments on commit 442676e

Please sign in to comment.