The useThemeSettings
hook is an interface for accessing the global theme settings within a Weaverse Hydrogen theme, enabling components to adapt to merchant-configured preferences.
Usage
Import the hook from @weaverse/hydrogen
package then call it within a React component to get an object containing the current global theme settings.
For a deeper understanding of how global theme settings are established and how they interact with the useThemeSettings
hook, you can reference the Global Theme Settings article.