welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
17 lines (16 loc) • 549 B
TypeScript
import { css } from '@xstyled/styled-components';
import { ThemeValues } from '../../theme';
type FontVariation = {
display?: FontDisplay;
extensions?: string[];
isVariable?: boolean;
style?: string;
unicodeRange?: string;
url: string;
weight?: string;
};
export declare function getSource(url: FontVariation['url'], extensions: FontVariation['extensions'], isVariable: FontVariation['isVariable']): string;
export declare const fonts: () => ({ theme }: {
theme: ThemeValues;
}) => ReturnType<typeof css>;
export {};