Skip to content

Commit 42b9f86

Browse files
style: redesign map tooltips with rich structured layout (#184)
- New MapTooltip component with kicker label, stat grid, outlined CTA - Entity-specific tooltips: Territory, Grid Operator, Transmission, EV Charging, Pricing Node, Power Plant - Territory tooltip shows Customers, ISO/RTO (baCode), State, Segment in 2x2 grid - Segment labels map full enum values (DISTRIBUTION_COOPERATIVE → 'Distribution Co-op') - 'View details →' styled as outlined pill button matching Nick's design - Tile prep script updated to include baCode for territory tiles - Replaces old plain-text tooltips across all map layers Co-authored-by: texture-coding-agent <coding-agent@texturehq.com>
1 parent cd8b30b commit 42b9f86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/explorer/MapTooltip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const styles = {
8383
},
8484
statLabel: {
8585
fontFamily: FONTS.mono,
86-
fontSize: 10,
86+
fontSize: 9.5,
8787
fontWeight: 500 as const,
8888
letterSpacing: "0.08em",
8989
textTransform: "uppercase" as const,
@@ -101,7 +101,7 @@ const styles = {
101101
borderRadius: 6,
102102
marginTop: 12,
103103
fontFamily: FONTS.sans,
104-
fontSize: 13,
104+
fontSize: 12.5,
105105
fontWeight: 500 as const,
106106
color: COLORS.muted,
107107
letterSpacing: "-0.01em",

0 commit comments

Comments
 (0)