mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 16:49:28 -04:00
Fix font
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user