16 lines
853 B
TypeScript
16 lines
853 B
TypeScript
import type { CssRenderer } from '../definitions.js';
|
|
import type { CssProperties } from '../types.js';
|
|
export declare function renderFontFace(properties: CssProperties, minify: boolean): string;
|
|
export declare function renderCssVariable(key: string, values: Array<string>, minify: boolean): string;
|
|
export declare function withFamily(family: string, properties: CssProperties): CssProperties;
|
|
/** If the value contains spaces (which would be incorrectly interpreted), we wrap it in quotes. */
|
|
export declare function handleValueWithSpaces(value: string): string;
|
|
export declare class MinifiableCssRenderer implements CssRenderer {
|
|
#private;
|
|
constructor({ minify }: {
|
|
minify: boolean;
|
|
});
|
|
generateFontFace(family: string, properties: CssProperties): string;
|
|
generateCssVariable(key: string, values: Array<string>): string;
|
|
}
|