UNPKG

@empathyco/x-tailwindcss

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