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>
17 lines
No EOL
594 B
TypeScript
17 lines
No EOL
594 B
TypeScript
/**
|
|
* Styled Components Type Augmentation
|
|
*
|
|
* Extends styled-components DefaultTheme with our ThemeInterface.
|
|
* This allows TypeScript to recognize theme properties in styled components.
|
|
*
|
|
* This is a .ts file (not .d.ts) so tsc emits it to dist/ and consumers
|
|
* automatically receive the augmentation when importing @cocotte/ui-theme.
|
|
*/
|
|
import 'styled-components';
|
|
import type { ThemeInterface } from './types/ThemeInterface';
|
|
declare module 'styled-components' {
|
|
interface DefaultTheme extends ThemeInterface {
|
|
}
|
|
}
|
|
export {};
|
|
//# sourceMappingURL=styled-augmentation.d.ts.map
|