Source: react/context/applicationFont.js

import { createContext, useContext } from "@/import/react";

const ApplicationFontContext = createContext();
export default ApplicationFontContext;

/**
 * Modals are mounted outside the next.js app div. Use this context to retrieve the font.
 * Use the 'variable' key for TailwindCSS usage.
 * @returns {unknown}
 */
export function useApplicationFont() {
  return useContext(ApplicationFontContext);
}