Primary color - Method 1. Tailwind CSS

There are two methods that you can use to change the primary color in your shadcn/ui kit. In this lesson you will learn how to use Tailwind CSS predefined color as your primary color.

Instructions

  1. Open the variables panel
  2. Switch to 2. Theme collection
  3. Find the ⁠primary-light variable in the colors group
  4. Click on the ⁠neutral/900 variable in the value field
  5. Find and select the ⁠blue/600 variable
  6. Find the ⁠primary-dark variable in the colors group
  7. Click on the current variable in the value field
  8. Find and select the ⁠blue/600 variable
Up next
Primary color - Method 2. Custom color
Learn how to use a custom color as your primary color in the shadcn/ui kit for Figma.