#useTheme
#Import
import { useTheme } from 'bumbag';
#Usage
The useTheme
hook retrieves the theme object from Bumbag's context.
Primary color code: #574feb
#Schema
const { theme, setTheme } = useTheme()
#Return values
theme
Object
Returns the theme object from context.
setTheme(theme)
Object
Sets the theme.