Composable event meta item style selector
Creates event metadata item styles with configurable theme options. This function allows theme-aware color selection for event metadata.
Optional
Configuration object for theme variant
JSS object with composed styles and appropriate className
// Light theme (default)const styles = composeItem();// Dark themeconst styles = composeItem({ theme: 'dark' });// In element builder with themeconst styleElements = { ...event.meta.composeItem({ theme: isThemeDark ? 'dark' : 'light' })}; Copy
// Light theme (default)const styles = composeItem();// Dark themeconst styles = composeItem({ theme: 'dark' });// In element builder with themeconst styleElements = { ...event.meta.composeItem({ theme: isThemeDark ? 'dark' : 'light' })};
1.7.0
Composable event meta item style selector
Creates event metadata item styles with configurable theme options. This function allows theme-aware color selection for event metadata.