m3-svelte
Version:
M3 Svelte implements the Material 3 design system in Svelte. See the [website](https://ktibow.github.io/m3-svelte/) for demos and usage instructions.
7 lines (6 loc) • 325 B
TypeScript
import { type DynamicScheme } from "@ktibow/material-color-utilities-nightly";
/**
* @returns A string of CSS code with custom properties representing the color scheme values.
* */
export declare const genCSS: (light: DynamicScheme, dark: DynamicScheme) => string;
export declare const parseSize: (size: string) => number;