Migrate from globalStyle to cardSystem recipes
masterTo reduce globalStyle usage in horizontal cards, replace old static CSS imports with the cardSystem recipe. This provides type-safe styling for wrappers, headers, and content.
Target Components:
src/components/timeline-elements/timeline-card/timeline-horizontal-card.tsxsrc/components/timeline-elements/timeline-card/timeline-horizontal-card.styles.ts
// Replace with cardSystem recipes
import { cardSystem } from '../card-system-v2.css';
// Old globalStyle patterns → New recipes
const wrapper = cardSystem.wrapper({ mode: 'horizontal', interactive: true });
const header = cardSystem.header({ variant: 'default' });
const content = cardSystem.content({ spacing: 'normal' });