UNPKG

@empathyco/x-tailwindcss

Version:
23 lines (20 loc) 537 B
import { rename } from '@empathyco/x-utils'; import { textDefault } from './default.js'; import { textSizes } from './sizes.js'; /** * Returns the component `text2` CSS. * * @param helpers - The {@link TailwindHelpers} to generate CSS. * @returns The {@link CssStyleOptions} for the component. */ function text2(helpers) { return { '.x-text2': { ...textDefault(helpers), ...rename({ ...textSizes(helpers), }, { prefix: '&-' }), }, }; } export { text2 };