UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

11 lines (10 loc) 378 B
import { BorderColorValue } from '../types'; export type { BorderColorValue, BorderColorExpanded } from '../types'; /** * Parse a CSS border-color property string */ export declare function parse(value: string): BorderColorValue | null; /** * Convert BorderColorValue back to CSS string */ export declare function toCSSValue(parsed: BorderColorValue | null): string | null;