@empathyco/x-tailwindcss
Version:
Empathy X Tailwind plugin
17 lines (15 loc) • 429 B
JavaScript
/**
* Returns the `light` variant for component `badge`.
*
* @param helpers - The {@link TailwindHelpers} to generate CSS.
* @returns The {@link CssStyleOptions} for the variant.
*/
function badgeLight({ theme }) {
return {
light: {
backgroundColor: `var(--badge-color-25, ${theme('x.colors.neutral.0')})`,
color: theme('x.colors.neutral.90'),
},
};
}
export { badgeLight };