UNPKG

redshift

Version:

A JavaScript UX framework. Handles animation, UI physics and user input tracking.

40 lines (34 loc) 817 B
"use strict"; var COLOR = 'colors', POSITIONS = 'positions', TRANSFORM = 'transform', DIMENSIONS = 'dimensions', SHADOW = 'shadow'; module.exports = { // Color properties color: COLOR, backgroundColor: COLOR, borderColor: COLOR, borderTopColor: COLOR, borderRightColor: COLOR, borderBottomColor: COLOR, borderLeftColor: COLOR, outlineColor: COLOR, fill: COLOR, stroke: COLOR, // Dimensions margin: DIMENSIONS, padding: DIMENSIONS, // Positions backgroundPosition: POSITIONS, perspectiveOrigin: POSITIONS, transformOrigin: POSITIONS, // Transform functions skew: TRANSFORM, translate: TRANSFORM, rotate: TRANSFORM, scale: TRANSFORM, // Shadows textShadow: SHADOW, boxShadow: SHADOW };