UNPKG

cssclasscrafter

Version:

CSSClassCrafter is an npm library that enables developers to dynamically generate CSS classes based on user-defined configuration files. With a simple JSON format for specifying styles, it streamlines the styling process, allowing for easy customization a

22 lines (19 loc) 365 B
// directionPrefixes.mjs export const paddingDirections = { all: 'p', top: 'pt', bottom: 'pb', left: 'pl', right: 'pr', vertical: 'pv', horizontal: 'ph' }; export const marginDirections = { all: 'm', top: 'mt', bottom: 'mb', left: 'ml', right: 'mr', vertical: 'mv', horizontal: 'mh' };