UNPKG

@tiller-ds/theme

Version:

Theme module of Tiller Design System

13 lines (12 loc) 585 B
import colors from "tailwindcss/colors"; import defaultTheme from "tailwindcss/defaultTheme"; declare type Shade = "50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; interface ThemeColorShades { default: Shade; light: Shade; dark: Shade; contrast: string; } export declare function color(colorName: string, shades?: Partial<ThemeColorShades>, colorsConfig?: Partial<typeof colors>): any; export declare function font(size: string, lineHeight?: string, weight?: string, themeConfig?: Partial<typeof defaultTheme>): any; export {};