platform-codebase/@packages/@plugins/src/styled.d.ts

14 lines
369 B
TypeScript
Raw Normal View History

/**
* 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 '@ui/theme'
declare module 'styled-components' {
export interface DefaultTheme extends ThemeInterface {}
}