Files
zeekayandHanzo Dev f11062f432 fix(analytics): theme-aware hero ground and surfaces to fix light-mode contrast
The /analytics landing page hardcoded theme-independent colors
(var(--pure-black), var(--pure-white), --neutral-*) into the hero ground,
dashboard mock, code windows and section washes. In light mode that meant
near-black ink on a pure-black hero and white chart lines on light
surfaces — unreadable and harsh.

Swap them for @hanzo/design's theme-aware tokens (--background, --muted,
--secondary, --primary, --muted-foreground). Dark rendering is unchanged;
light mode now resolves correctly.

Verified with headless Chromium (hero bg/ink before vs after) and clean
tsc --noEmit / design lint.


Co-authored-by: Hanzo Dev <[email protected]>
2026-10-25 09:02:26 -07:00

23 lines
669 B
TypeScript

import React from "react";
import AIPoweredHeader from "./AIPoweredHeader";
import AIFeatureList from "./AIFeatureList";
import AIAnalysisDemo from "./AIAnalysisDemo";
import { Band } from '@/components/marketing/band'
import { Box } from '@/components/ui'
const GROUND = 'linear-gradient(to bottom, color-mix(in oklab, var(--muted) 20%, transparent), var(--background))'
const AIPowered = () => {
return (
<Band rule={false} pad="$14" measure={1280} ground={GROUND}>
<Box position="relative" z="var(--z-raised)">
<AIPoweredHeader />
<AIFeatureList />
<AIAnalysisDemo />
</Box>
</Band>
);
};
export default AIPowered;