How the customize the theme of your supastarter application
Jonathan Wilke
10/31/2023
supastarter v2 has been designed to be fully customized in every aspect. In this guide we will show you how you can easily change the theme of supastarter to make it match your brands design.
1. Set color variables
In the /packages/config/tailwind/index.ts
file you find the theme configuration of your application.
The are config objects for both light and dark mode.
Change these variables to adjust the colors of your application. Make sure to update the dark mode variables as well.
You might also want to change the border radius in the tailwind theme config below to make your UI components looks less/more rounded.
2. Set typography
To change the typography, you need to import the new font first. You can do this in the /apps/web/app/[locale]/layout.tsx
.
Learn more about how to use next/font in the offical Next.js documentation.
That's all you need to customize the default theme. Of course you can also customize every components style individually.
The ultimate starter kit to build a scalable and production-ready SaaS
Save endless hours of development time and focus on what's important for your customers with our SaaS starter kits for Next.js 14 and Nuxt 3
Get startedStay up to date
Sign up for our newsletter and we will keep you updated on everything going on with supastarter.