@goodnight-dev/react-hooks
    Preparing search index...

    Interface ThemePreference

    interface ThemePreference {
        isDarkMode: boolean;
        isLightMode: boolean;
        theme: Theme | undefined;
    }
    Index

    Properties

    isDarkMode: boolean
    isLightMode: boolean
    theme: Theme | undefined

    'dark' or 'light', or undefined before the client has reported its actual preference (always the case during SSR).