2023-05-09 19:31:05 -07:00

16 lines
412 B
TypeScript

import "styled-components";
import type colors from "styles/defaultTheme/colors";
import type formats from "styles/defaultTheme/formats";
import type sizes from "styles/defaultTheme/sizes";
declare module "styled-components" {
export interface DefaultTheme {
colors: typeof colors;
formats: typeof formats;
name: string;
sizes: typeof sizes;
}
export function useTheme(): DefaultTheme;
}