13 lines
378 B
TypeScript
Executable file
13 lines
378 B
TypeScript
Executable file
/**
|
|
* Styled Components Type Augmentation
|
|
*
|
|
* Extends styled-components DefaultTheme with our ThemeInterface.
|
|
* This allows TypeScript to recognize theme properties in styled components.
|
|
*/
|
|
|
|
import 'styled-components';
|
|
import type { ThemeInterface } from '@lilith/ui-theme';
|
|
|
|
declare module 'styled-components' {
|
|
export interface DefaultTheme extends ThemeInterface {}
|
|
}
|