Tailwindcss

From Han Wiki
Jump to navigation Jump to search
  • Customizing Colors
    • Background colors
      • bg-fuchsia-200
    • Text colors
      • text-white
    • Arbitrary values
      • bg-[#1da1f2], text-gray-100
  • @tailwindcss/typography
    • must always include the 'prose' class when adding a size modifier
    • sizes
      • prose-sm, 0.875rem (14px)
      • prose-base, 1rem (16px)
      • prose-lg, 1.125rem (18px)
      • prose-xl, 1.25rem (20px)
      • prose-2xl, 1.5rem (24px)