Backstage
    Preparing search index...

    Function genPageTheme

    • Utility to not have to write colors and shapes twice.

      Parameters

      • props: { colors: string[]; options?: { fontColor?: string }; shape: string }

      Returns PageTheme

      As the background shapes and colors are decorative, we place them onto the page as a CSS background-image instead of an HTML element of its own.