Composable fade under line animation style selector
Creates fade under line animation styles with configurable color options. This function replaces the need for multiple separate exports like fadeUnderRed, fadeUnderGray, etc.
Optional
Configuration object for color variant
JSS object with composed styles and appropriate className
// Red fade under (default)const styles = composeFadeUnder();// Gray fade underconst styles = composeFadeUnder({ color: 'gray' });// Gold fade underconst styles = composeFadeUnder({ color: 'gold' }); Copy
// Red fade under (default)const styles = composeFadeUnder();// Gray fade underconst styles = composeFadeUnder({ color: 'gray' });// Gold fade underconst styles = composeFadeUnder({ color: 'gold' });
1.7.0
Composable fade under line animation style selector
Creates fade under line animation styles with configurable color options. This function replaces the need for multiple separate exports like fadeUnderRed, fadeUnderGray, etc.