Help Center
Search for a Question

Type your question or search keyword

Do you still need our help?
Ticket #2023-0001
John Smith 19 Apr, 2025 Active
How to Change primary Colors?

It seems like you want to change the primary colors defined in your Tailwind CSS configuration. In your current configuration, you have defined primary colors with various shades ranging from 50 to 950. If you want to change these colors, you can simply replace the hex values with the ones you desire.

User Avatar

To change the primary color in Tailwind CSS, update your tailwind.config.js file with the custom colors you want to use:

// tailwind.config.js
module.exports = {
    theme: {
        extend: {
        colors: {
            primary: {
            50: '#f0f9ff',
            100: '#e0f2fe',
            // Add all your custom color shades here
            900: '#0c4a6e',
            }
        }
        }
    }
}

Then you can use these colors in your HTML with utility classes like bg-primary-500 or text-primary-700.

Comment