ui-theme/dist/components/ThemeCssVariables.d.ts
Natalie aaf23fa33f feat(@cocotte/ui-theme): extract UI theme package to @ct/@packages
Re-scoped from @lilith/ui-theme to @cocotte/ui-theme. In-set cross-package deps
re-pointed to @cocotte; out-of-set @lilith deps preserved (same Verdaccio).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 13:04:11 -04:00

25 lines
No EOL
759 B
TypeScript

/** @jsxImportSource react */
/**
* Global style component that injects theme values as CSS custom properties on :root.
*
* Opt-in via `<ThemeProvider cssVariables>` or standalone `<ThemeCssVariables />`.
*
* @example
* ```tsx
* // Via ThemeProvider prop
* <ThemeProvider themeName="cyberpunk" cssVariables>
* <App />
* </ThemeProvider>
*
* // Or standalone (must be inside ThemeProvider)
* <ThemeCssVariables />
*
* // Then use in CSS:
* .card {
* background: var(--theme-color-background-primary);
* border-radius: var(--theme-radius-md);
* }
* ```
*/
export declare const ThemeCssVariables: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
//# sourceMappingURL=ThemeCssVariables.d.ts.map