umd-styles-library
    Preparing search index...

    Function composeAdvanced

    • Composable advanced rich text style selector

      Creates advanced rich text styles with support for lists, tables, code blocks, and quotes. Supports theme and color configuration.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Light theme (default)
      const styles = composeAdvanced();

      // Dark theme
      const styles = composeAdvanced({ theme: 'dark' });

      // With explicit gray color
      const styles = composeAdvanced({ color: token.color.gray.dark });

      // With theme-aware subdued color
      import { theme } from '@universityofmaryland/web-utilities-library/theme';
      const styles = composeAdvanced({ color: theme.subdued(isThemeDark) });

      1.7.0