Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SVG font loading from unpkg.com due to undefined version #7919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonesbusy
Copy link

Looks the Vite migration done on 4892468

Renamed from vars but one was missed.

I found this issue when trying to investigate font that were not loaded from SVG

    <style class="style-fonts">
      @font-face {
        font-family: "Virgil";
        src: url("https://unpkg.com/@excalidraw/excalidraw@undefined/dist/excalidraw-assets/Virgil.woff2");
      }
      @font-face {
        font-family: "Cascadia";
        src: url("https://unpkg.com/@excalidraw/excalidraw@undefined/dist/excalidraw-assets/Cascadia.woff2");
      }
      @font-face {
        font-family: "Assistant";
        src: url("https://unpkg.com/@excalidraw/excalidraw@undefined/dist/excalidraw-assets/Assistant-Regular.woff2");
      }
    </style>

Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview Apr 22, 2024 6:01pm
excalidraw-package-example ✅ Ready (Inspect) Visit Preview Apr 22, 2024 6:01pm
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview Apr 22, 2024 6:01pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 6:01pm

@jonesbusy
Copy link
Author

Any news here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant