From 9c0430e7764eb475c28585be21d594a5de4d151c Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 2 Dec 2024 10:29:17 +0100 Subject: [PATCH] fix: fonts export and examples usages --- examples/next-advanced/src/pages/_app.tsx | 1 + examples/next-advanced/src/pages/_document.tsx | 4 ---- examples/next-login/src/pages/_app.tsx | 1 + examples/next-login/src/pages/_document.tsx | 4 ---- examples/next-simple/src/pages/_app.tsx | 1 + examples/next-simple/src/pages/_document.tsx | 4 ---- packages/fonts/package.json | 13 +++++++++++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/next-advanced/src/pages/_app.tsx b/examples/next-advanced/src/pages/_app.tsx index ee460cfaff..0204439fac 100644 --- a/examples/next-advanced/src/pages/_app.tsx +++ b/examples/next-advanced/src/pages/_app.tsx @@ -6,6 +6,7 @@ import Footer from '../components/Footer' import GlobalStyle from '../components/GlobalStyle' import Head from '../components/Head' import Header from '../components/Header' +import '@ultraviolet/fonts/fonts.css' type Themes = 'light' | 'dark' diff --git a/examples/next-advanced/src/pages/_document.tsx b/examples/next-advanced/src/pages/_document.tsx index 9d110914c9..11ac597ff4 100644 --- a/examples/next-advanced/src/pages/_document.tsx +++ b/examples/next-advanced/src/pages/_document.tsx @@ -34,10 +34,6 @@ class MyDocument extends Document { name="twitter:image" content="https://ultraviolet.scaleway.com/social.png" /> - () => css` diff --git a/examples/next-login/src/pages/_document.tsx b/examples/next-login/src/pages/_document.tsx index 9d110914c9..11ac597ff4 100644 --- a/examples/next-login/src/pages/_document.tsx +++ b/examples/next-login/src/pages/_document.tsx @@ -34,10 +34,6 @@ class MyDocument extends Document { name="twitter:image" content="https://ultraviolet.scaleway.com/social.png" /> - ( diff --git a/examples/next-simple/src/pages/_document.tsx b/examples/next-simple/src/pages/_document.tsx index 9d110914c9..11ac597ff4 100644 --- a/examples/next-simple/src/pages/_document.tsx +++ b/examples/next-simple/src/pages/_document.tsx @@ -34,10 +34,6 @@ class MyDocument extends Document { name="twitter:image" content="https://ultraviolet.scaleway.com/social.png" /> -