umd-styles-library
    Preparing search index...
    • Creates a stylesheet string from a JSS object.

      Parameters

      • stylesObject: Record<string, any>

        Object of CSS properties

      • options: { prettify?: boolean } = {}

        Configuration options

        • Optionalprettify?: boolean

          Whether to format the CSS with line breaks and indentation (default: false)

      Returns Promise<string>

      The stylesheet string with converted properties

      import * as Styles from '@universityofmaryland/web-styles-library';
      await Styles.utilities.create.style.toString({
      ...Styles.element,
      ...Styles.layout.grid,
      })

      1.2.0