💅Customization
In this part of the documentation, we are going to show you how you can customize the tailwind.config.js file.
You can add your personalized styling by customizing the config file. You can customize things like Colors, Screens, Spacing, and many more.
Colors:
To customize colors,, all you have to do is add the custom color values inside the color key. This way you can add custom colors for your project.
Dark Mode Settings
We follow official Tailwind CSS approach while managing dark mode, please follow detailed documentation with examples here
Spacing:
Just like the colors you can customize spacing by adding the values to the spacing key.
Note: The spacing values are inherited by padding, margin, width, height, maxHeight, and the rest of the pacing properties.
Screen:
You can add custom breakpoints by adding the custom values to the screen key.
This is how you can add custom styling to your Tailwind CSS project. If you want to learn more and customize other things like font family, opacity, etc, check out the Tailwind CSS documentation.
Last updated