histoire
Version:
A fast story book powered by Vite
8 lines • 1.97 kB
TypeScript
import type { TailwindToken, TailwindTokenCategory } from '../types.js';
/** Render finite visual sample without altering authored/copyable token value. */
export declare function renderTokenSample(category: TailwindTokenCategory, token: TailwindToken, state: Record<string, any>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>;
/** Scoped sample geometry; controls retain their own shared style/theme. */
export declare const tailwindSampleCss = "\n.histoire-tailwind-sample {\n min-width: 0;\n max-width: 100%;\n overflow: auto;\n padding: 8px;\n}\n.histoire-tailwind-value { min-width: 0; }\n.histoire-tailwind-color .histoire-tailwind-value {\n height: 80px;\n border-radius: 4px;\n}\n.histoire-tailwind-text-color .histoire-tailwind-value { min-height: 80px; }\n.histoire-tailwind-border-color .histoire-tailwind-value {\n height: 80px;\n border: 2px solid;\n border-radius: 4px;\n}\n.histoire-tailwind-text .histoire-tailwind-value { overflow-wrap: anywhere; }\n.histoire-tailwind-box, .histoire-tailwind-border { padding: 24px; }\n.histoire-tailwind-box .histoire-tailwind-value, .histoire-tailwind-border .histoire-tailwind-value {\n width: 96px;\n height: 96px;\n background: rgb(113 113 122 / .5);\n}\n.histoire-tailwind-border .histoire-tailwind-value { border-style: solid; }\n.histoire-tailwind-width .histoire-tailwind-value {\n height: 32px;\n background: rgb(113 113 122 / .5);\n}\n.histoire-tailwind-height { max-height: 240px; }\n.histoire-tailwind-height .histoire-tailwind-value {\n width: 64px;\n background: rgb(113 113 122 / .5);\n}\n.histoire-tailwind-padding .histoire-tailwind-value {\n width: fit-content;\n background: rgb(113 113 122 / .15);\n}\n.histoire-tailwind-margin { border: 1px dashed rgb(113 113 122 / .5); }\n.histoire-tailwind-inner {\n width: 48px;\n height: 48px;\n background: rgb(113 113 122 / .5);\n}\n";
//# sourceMappingURL=render.d.ts.map