Skip to content

armgit / mapcn

Public Imported from GitHub
0

Beautiful map components. 100% Free, Zero config, one command setup.

TypeScript

Update choropleth to use monochrome styling

anmol6a68670913b1
diff --git a/src/registry/blocks/choropleth/data.ts b/src/registry/blocks/choropleth/data.ts
index f1528c1..cb7cf00 100644
--- a/src/registry/blocks/choropleth/data.ts
+++ b/src/registry/blocks/choropleth/data.ts
@@ -50,14 +50,14 @@ export const mapConfig = {
light: {
background: "#fafafa",
base: "#eef0f3",
- ramp: ["#bfdbfe", "#60a5fa", "#3b82f6", "#1d4ed8"],
- hover: "#1e3a8a",
+ ramp: ["#d4d4d4", "#a3a3a3", "#525252", "#262626"],
+ hover: "#0a0a0a",
},
dark: {
background: "#0a0a0a",
base: "#1a1a1a",
- ramp: ["#1d4ed8", "#3b82f6", "#60a5fa", "#93c5fd"],
- hover: "#bfdbfe",
+ ramp: ["#404040", "#737373", "#a3a3a3", "#d4d4d4"],
+ hover: "#fafafa",
},
} satisfies Record<Theme, ChoroplethColors>,
};