tsParticles - v0.0.0
    Preparing search index...

    Options to set the default theme

    interface IThemeDefault {
        auto: boolean;
        mode: "any" | "dark" | "light" | ThemeMode;
        value: boolean;
    }

    Implemented by

    Index

    Properties

    Properties

    auto: boolean

    If set to true, this theme will be switched when the mode matches the user OS theme

    mode: "any" | "dark" | "light" | ThemeMode

    Default theme mode any: Sets the default theme for every configuration dark: Sets the default theme when the user has dark mode set light: Sets the default theme when the user has light mode set If dark or light themes are set, the any default theme will be used only for unset modes

    value: boolean

    Sets or unsets the default flag to this theme and mode