import type { CSSProp } from "styled-components";
import Theme from './theme';

type ThemeType = typeof Theme;

declare module "styled-components" {
    export interface DefaultTheme extends ThemeType {
        colors: ThemeType['colors'];
        radius: ThemeType['radius'];
        breakpoints: ThemeType['breakpoints'];
        media: ThemeType['media'];
    }
}

declare module "react" {
    interface DOMAttributes<T> {
        css?: CSSProp;
    }
}