UNPKG

@platform/css

Version:

Helpers for working with inline CSS.

9 lines (8 loc) 640 B
import { t } from '../common'; export * from './util'; export declare const MEDIA_QUERY_RETINA = "@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)"; export declare const image: (image1x: string | undefined, image2x: string | undefined, options?: t.CssFormatImageOptions) => t.ICssBackgroundImage; export declare const toPositionEdges: (key: string, value?: any) => t.CssEdgePosition | undefined; export declare const formatPositionEdges: (key: string, target: any) => void; export declare const transform: (style?: t.CssProps | t.CssValue | t.Falsy) => t.CssProps | t.CssValue; export declare const format: t.CssFormat;