Customization

Change colors, fonts, content and images in a TailTemplates Tailwind CSS template.


Colors and fonts

Brand colors, fonts and other design tokens live in the Tailwind CSS theme. In most templates that's the tailwind.config.js file in the project root:

module.exports = {
  theme: {
    extend: {
      colors: {
        primary: "#0063F7", // change this to your brand color
      },
      fontFamily: {
        sans: ["Inter", "sans-serif"],
      },
    },
  },
};

Change a value once and every class that uses it (for example bg-primary or text-primary) updates across the whole template.

If a template uses Tailwind CSS v4, the theme is defined in the main CSS file with @theme instead:

@theme {
  --color-primary: #0063f7;
}

Content and images

  • Text and links: edit the HTML pages (or the components in Next.js templates) directly.
  • Images: replace the files in the images folder (src/images or public). Keeping the same file names means you don't need to change any code.
  • Logo and favicon: replace the logo image and the favicon file, then update the alt text.

Removing sections you don't need

Pages are built from self-contained sections (hero, features, pricing and so on). In the HTML templates, sections are usually marked with start and end comments; delete everything between them to remove a section cleanly. In Next.js templates, remove the section's component from the page file.

After customizing

Run npm run build again to generate an updated production build. See Quick Start for deployment.