Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

463 B
Raw Blame
import { useMemo } from "react";
import { useLogoAssets } from "@editor/hooks/useLogoAssets";

/** Theme-specific no-text logo SVG URLs under the `modern-logo` folder. */
export function useLogoPath(): { dark: string; light: string } {
  const { folderPath } = useLogoAssets();

  return useMemo(
    () => ({
      dark: `${folderPath}/StirlingPDFLogoNoTextDark.svg`,
      light: `${folderPath}/StirlingPDFLogoNoTextLight.svg`,
    }),
    [folderPath],
  );
}