Tailwindcss

Revision as of 16:49, 21 February 2022 by Mhan (talk | contribs) (iwu)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  • 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)