UNPKG

@wix/css-property-parser

Version:

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

17 lines (16 loc) 595 B
// Border Inline Start Color property parser // Handles parsing of CSS border-inline-start-color property // https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-start-color import { parseLogicalBorderColorProperty, logicalBorderColorToCSSValue } from './shared-logical-border.js'; /** * Parse a CSS border-inline-start-color property string */ export function parse(value) { return parseLogicalBorderColorProperty(value); } /** * Convert BorderInlineStartColorValue back to CSS string */ export function toCSSValue(parsed) { return logicalBorderColorToCSSValue(parsed); }