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.
8 lines (7 loc) • 400 B
TypeScript
import { type DynamicScheme } from "@material/material-color-utilities";
import { type SerializedScheme } from "./utils";
/**
* @description Serializes the {@link DynamicScheme} so that it can be used by {@link StyleFromScheme} and {@link genCSS}.
* @param scheme The theme generated by material-color-utils.
* */
export declare const serializeScheme: (scheme: DynamicScheme) => SerializedScheme;