Composable highlight background style selector
Creates highlight background styles with configurable color options. Highlight backgrounds feature a red accent border and responsive padding.
Optional
Configuration object for style variants
JSS object with composed styles and appropriate className
// White background (default)const styles = composeHighlight();// Light gray backgroundconst styles = composeHighlight({ color: 'light' });// Dark gray backgroundconst styles = composeHighlight({ color: 'dark' }); Copy
// White background (default)const styles = composeHighlight();// Light gray backgroundconst styles = composeHighlight({ color: 'light' });// Dark gray backgroundconst styles = composeHighlight({ color: 'dark' });
1.7.0
Composable highlight background style selector
Creates highlight background styles with configurable color options. Highlight backgrounds feature a red accent border and responsive padding.