import { Theme } from '@thematic/core' ; import { useContext } from 'react' ; import { ThematicContext } from './ThematicContext' ; /**
 * Hook to retrieve the thematic theme directly.
 */ export function useThematic ( ) { return useContext ( ThematicContext ) ; }