Skip to content

Commit dbcc51f

Browse files
committed
Change font to Dm+Sans in tailwind config
1 parent 4b31641 commit dbcc51f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/components/pages/Home/Hero/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function Hero() {
1212

1313
<div className={`z-10 text-center sm:text-left md:text-left lg:text-left py-20 xl:py-32 px-5 sm:px-3 lg:px-0 xl:px-0 `}>
1414
<h1
15-
className={`font-inter gradient-text-2 text-5xl lg:text-5xl xl:text-5xl 2xl:text-7xl lg:leading-[50px] leading-none font-semibold pb-5`}
15+
className={`font-dmSans gradient-text-2 text-5xl lg:text-5xl xl:text-5xl 2xl:text-7xl lg:leading-[50px] leading-none font-semibold pb-5`}
1616
>
1717
<span>Tashi Protocol</span>
1818

src/index.css

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
2+
3+
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100;0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,100;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,800;1,9..40,900;1,9..40,1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
24
@tailwind base;
35
@tailwind components;
46
@tailwind utilities;

tailwind.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ export default {
66
theme: {
77
extend: {
88
fontFamily: {
9-
inter: ['Inter'],
10-
custom: ['CustomFontName']
9+
inter: ['DM+Sans'],
10+
custom: ['CustomFontName'],
11+
dmSans: ['DM+Sans']
1112
},
1213

1314
colors: {

0 commit comments

Comments
 (0)