@metamask/design-system-twrnc-preset
Version:
13 lines • 704 B
text/typescript
import type { TwConfig } from "twrnc";
import type { Theme } from "./Theme.types.cjs";
/**
* Generates a Tailwind CSS configuration object based on the specified theme.
* This configuration extends the base Tailwind settings with custom theme colors, typography settings,
* and other style properties for use in React Native with `twrnc`.
*
* @param theme - The theme ('light' or 'dark'). Specifies whether to use light or dark mode styles.
* @returns A Tailwind CSS configuration object with extended theme properties and plugins.
*/
export declare const generateTailwindConfig: (theme: Theme) => TwConfig;
export { Theme } from "./Theme.types.cjs";
//# sourceMappingURL=tailwind.config.d.cts.map