mirror of
https://github.com/hanzoai/design.git
synced 2026-10-30 14:58:37 +00:00
The single source of truth for every Hanzo surface: monochrome opacity-ladder tokens (dark-default), self-contained core/forms/overlays/navigation components (each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and the specimen-card guidelines. One import: @hanzoai/design/styles.css.
11 lines
518 B
TypeScript
11 lines
518 B
TypeScript
/** Chrome-gradient headline text — the one gradient Hanzo permits. */
|
|
export interface ChromeTextProps extends React.HTMLAttributes<HTMLElement> {
|
|
/** Element to render, e.g. "h1" | "h2". */
|
|
as?: keyof JSX.IntrinsicElements;
|
|
/** chrome = white→white/60 (default). deep = white→neutral-500, for very large display type. */
|
|
tone?: 'chrome' | 'deep';
|
|
/** Optional uppercase eyebrow rendered above the headline. */
|
|
preHeading?: string;
|
|
}
|
|
export function ChromeText(props: ChromeTextProps): JSX.Element;
|