This commit is contained in:
MartinBraquet
2025-09-12 15:01:57 +02:00
parent 08272dd04e
commit d11f9e4971
2 changed files with 7 additions and 8 deletions

View File

@@ -24,11 +24,11 @@ const logoFont = Major_Mono_Display({
subsets: ['latin'],
})
const mainFont = Figtree({
weight: ['300', '400', '500', '600', '700'],
variable: '--font-main',
subsets: ['latin'],
})
// const mainFont = Figtree({
// weight: ['300', '400', '500', '600', '700'],
// variable: '--font-main',
// subsets: ['latin'],
// })
function printBuildInfo() {
// These are undefined if e.g. dev server
@@ -110,7 +110,7 @@ function MyApp({ Component, pageProps }: AppProps<ManifoldPageProps>) {
className={clsx(
'contents font-normal',
logoFont.variable,
mainFont.variable
// mainFont.variable
)}
>
<AuthProvider serverUser={pageProps.auth}>

View File

@@ -2,7 +2,6 @@
@tailwind components;
@tailwind utilities;
/*make var font-main*/
:root {
--font-main: "Crimson Pro", Georgia, "Times New Roman", Times, serif;
}
@@ -13,7 +12,7 @@
@layer base {
body {
font-family: "Crimson Pro", Georgia, "Times New Roman", Times, serif;
font-family: var(--font-main), serif;
}
button, input, label {