UNPKG

@linaria/tags

Version:

Blazing fast zero-runtime CSS in JS library

65 lines 1.44 kB
// https://www.w3.org/TR/css-values-4/ export const units = [ // font relative lengths 'em', 'ex', 'cap', 'ch', 'ic', 'rem', 'lh', 'rlh', // viewport percentage lengths 'vw', 'vh', 'vi', 'vb', 'vmin', 'vmax', // absolute lengths 'cm', 'mm', 'Q', 'in', 'pc', 'pt', 'px', // angle units 'deg', 'grad', 'rad', 'turn', // duration units 's', 'ms', // frequency units 'Hz', 'kHz', // resolution units 'dpi', 'dpcm', 'dppx', 'x', // https://www.w3.org/TR/css-grid-1/#fr-unit 'fr', // percentages '%']; export const unitless = { animationIterationCount: true, borderImageOutset: true, borderImageSlice: true, borderImageWidth: true, boxFlex: true, boxFlexGroup: true, boxOrdinalGroup: true, columnCount: true, columns: true, flex: true, flexGrow: true, flexPositive: true, flexShrink: true, flexNegative: true, flexOrder: true, gridRow: true, gridRowEnd: true, gridRowSpan: true, gridRowStart: true, gridColumn: true, gridColumnEnd: true, gridColumnSpan: true, gridColumnStart: true, fontWeight: true, lineClamp: true, lineHeight: true, opacity: true, order: true, orphans: true, tabSize: true, widows: true, zIndex: true, zoom: true, // SVG-related properties fillOpacity: true, floodOpacity: true, stopOpacity: true, strokeDasharray: true, strokeDashoffset: true, strokeMiterlimit: true, strokeOpacity: true, strokeWidth: true }; //# sourceMappingURL=units.js.map