CLOVER Website - v0.3.1
    Preparing search index...

    Function useTheme

    • Custom hook to manage theme (light/dark) in a React application. It synchronizes the theme with localStorage and applies the theme to the document.

      Returns { theme: string; toggleTheme: () => void }

      • Contains the current theme and a function to toggle the theme.