Skip to content

Instantly share code, notes, and snippets.

@rimzzlabs
Created December 30, 2022 16:15
Show Gist options
  • Save rimzzlabs/f495942587b1750732e9b1f9b4c2ed05 to your computer and use it in GitHub Desktop.
Save rimzzlabs/f495942587b1750732e9b1f9b4c2ed05 to your computer and use it in GitHub Desktop.
Tailwind Base style for font
@tailwind base;
@tailwind utilities;
@tailwind components;
@layer base {
h1 {
@apply text-4xl font-bold text-theme-800 dark:text-theme-100 md:text-5xl;
}
h2 {
@apply text-3xl font-bold text-theme-800 dark:text-theme-100 md:text-4xl;
}
h3 {
@apply text-2xl font-bold text-theme-800 dark:text-theme-100 md:text-3xl;
}
h4 {
@apply text-xl font-bold text-theme-800 dark:text-theme-100 md:text-2xl;
}
h5 {
@apply text-lg font-bold text-theme-800 dark:text-theme-100 md:text-xl;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment