QuickDevGuide

Home › Tailwind CSS

Typography & Colors — Tailwind CSS

Font Size Class Size Line Height text-xs 0.75rem (12px) 1rem text-sm 0.875rem (14px) 1.25rem text-base 1rem (16px) 1.5rem text-lg 1.125rem (18px) 1.75rem text-xl 1.25rem (20px) 1.75rem text-2xl 1.5rem (24px) 2rem text-4xl 2.25rem (36px) 2.5rem Font Weight, Style & Alignment Color System Tailwind provides a comprehensive color palette with shades from 50 (lightest) to 950 (darkest): Color Palette Shades Available colors: slate, gray, zinc, neutral, stone, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose. Each with shades: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950.

Key Takeaways