Skip to content

Commit fb2f190

Browse files
committed
Remove open sans
1 parent 1ee55ea commit fb2f190

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/pages/_app.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useEffect, useRef, useState } from "react";
22
import { motion, useReducedMotion, MotionConfig, AnimatePresence } from "framer-motion";
3-
import { Open_Sans } from 'next/font/google';
43
import type { AppProps } from 'next/app';
54
import Head from "next/head";
65

@@ -10,11 +9,6 @@ import GoogleAnalytics from "@/components/analytics/GoogleAnalytics";
109

1110
import '@/styles/main.css';
1211

13-
const openSans = Open_Sans({
14-
subsets: ['latin'],
15-
variable: "--font-open-sans"
16-
});
17-
1812
const pageTransition = {
1913
duration: .35,
2014
ease: "easeOut"
@@ -51,7 +45,7 @@ export default function App({ Component, pageProps, router }: AppProps) {
5145
<title>Commit Rocket</title>
5246
</Head>
5347
<GoogleAnalytics />
54-
<div className={"flex flex-col overflow-auto scroll-smooth scroll-p-4 " + openSans.variable}>
48+
<div className="flex flex-col overflow-auto font-sans scroll-smooth scroll-p-4">
5549
<Header />
5650
<AnimatePresence mode="wait">
5751
<motion.div

tailwind.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const plugin = require("tailwindcss/plugin");
2-
const { fontFamily } = require('tailwindcss/defaultTheme');
32

43
/** @type {import('tailwindcss').Config} */
54
module.exports = {
@@ -30,9 +29,6 @@ module.exports = {
3029
DEFAULT: "#FFE4CC",
3130
contrast: "#282828"
3231
}
33-
},
34-
fontFamily: {
35-
openSans: ["var(--font-open-sans)", ...fontFamily.sans]
3632
}
3733
},
3834
},

0 commit comments

Comments
 (0)