TAMS Club Calendar Frontend Documentation
    Preparing search index...

    Function darkSwitch

    • Sets a style depending on whether or not the theme is light/dark

      Parameters

      • theme: Theme

        The Mui theme object

      • lightStyle: string

        Light theme style

      • darkStyle: string

        Dark theme style

      Returns string

      Either the dark or light theme style, depending on the current mode