@empathyco/x-tailwindcss
Version:
Empathy X Tailwind plugin
23 lines (20 loc) • 545 B
JavaScript
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 };