UNPKG

@empathyco/x-tailwindcss

Version:
22 lines (20 loc) 565 B
/** * Default dynamic utility styles. * * @param helpers - A set of tailwind helpers to create the dynamic utilities. * @returns All the styles for each utility and the values they are going to be generated with. * * @public */ function dynamicUtilities({ theme }) { return { // TODO: replace this example styles with actual design styles 'font-util': { styles: (value) => ({ fontSize: value, }), values: theme('x.spacing'), }, }; } export { dynamicUtilities as default };