import { type FlattenedTheme } from '@auth0/auth0-acul-js'; /** * React hook to get the current theme options with flattened configuration from branding context. * * @returns FlattenedTheme object containing colors, fonts, borders, pageBackground, and widget configurations, or null if no branding is available * * @example * ```tsx * import React from 'react'; * import { useAuth0Themes } from '@auth0/auth0-acul-react'; * * const ThemedComponent: React.FC = () => { * const theme = useAuth0Themes(); * * if (!theme) { * return
Body text color: {theme.colors.body_text}
*