14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
|
|
/**
|
||
|
|
* 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/theme-provider';
|
||
|
|
|
||
|
|
declare module 'styled-components' {
|
||
|
|
export interface DefaultTheme extends ThemeInterface {}
|
||
|
|
}
|