@empathyco/x-tailwindcss
Version:
Empathy X Tailwind plugin
26 lines (23 loc) • 681 B
JavaScript
import { text1 } from './text1/index.js';
import { text2 } from './text2/index.js';
import { title1 } from './title1/index.js';
import { title2 } from './title2/index.js';
import { title3 } from './title3/index.js';
import { title4 } from './title4/index.js';
/**
* Returns all the typography components.
*
* @param helpers - The {@link TailwindHelpers} to generate CSS.
* @returns The {@link CssStyleOptions} for the component.
*/
function typography(helpers) {
return {
...text1(helpers),
...text2(helpers),
...title1(helpers),
...title2(helpers),
...title3(helpers),
...title4(helpers),
};
}
export { typography };