From b6b635c1a8c71dec494785cb4a2f099a2fbd1aa2 Mon Sep 17 00:00:00 2001 From: Shivansh Bhatnagar Date: Sat, 8 Jun 2024 01:23:09 +0530 Subject: [PATCH] Added Kavoon Font --- frontend/src/index.css | 2 ++ frontend/src/pages/Home.tsx | 2 +- frontend/tailwind.config.js | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index a168df0..99faddc 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Kavoon&display=swap'); + @tailwind base; @tailwind components; @tailwind utilities; diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx index 2f1b13a..e3810cf 100644 --- a/frontend/src/pages/Home.tsx +++ b/frontend/src/pages/Home.tsx @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'; function Home() { return ( <> -
Home Page
+
Home Page
Play ); diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 7d7d2c4..c0d14e7 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -5,7 +5,11 @@ export default { './src/**/*.{tsx,ts}', ], theme: { - extend: {}, + extend: { + fontFamily: { + kavoon: ['Kavoon', 'serif'], + }, + }, }, plugins: [], }