Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new fontsizes + change fontsize and line height in cards #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const featuredBlogs = await Promise.all(
<div class='flex py-16 md:py-0 gap-6 h-full'>
<QuoteIcon className='w-6 h-6 md:w-10 fill-juxt shrink-0' />
<div class='flex flex-col justify-between text-white gap-4 max-w-xs sm:max-w-sm md:max-w-none'>
<div class='text-xl md:text-2xl'>{quote}</div>
<div class='text-xl leading-snug'>{quote}</div>
<div class='text-sm uppercase font-semibold'>{name}</div>
</div>
</div>
Expand Down
15 changes: 15 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ module.exports = {
}
}
}
},
fontSize: {
xxs: '0.579rem',
xs: '0.694rem',
sm: '0.833rem',
base: '1rem',
md: '1.2rem',
lg: '1.44rem',
xl: '1.728rem',
'2xl': '2.074rem',
'3xl': '2.488rem',
'4xl': '2.986rem',
'5xl': '3.583rem',
'6xl': '4.3rem',
'7xl': '5.16rem'
}
},
plugins: [require('@tailwindcss/typography')]
Expand Down