Styling the application
To build the user interface supastarter comes with Tailwind CSS and Radix UI pre-installed.
Why Tailwind CSS and Radix UI
The combination of Tailwind CSS and Radix UI allows gives ready-to-use, complex UI components that can be fully customized to match your brands design.
Theme configuration
In the packages/config/tailwind/index.ts
file you can configure the Tailwind CSS theme. Next to the default Tailwind CSS
theme configuration you will also find two color variable objects in the file for light and dark mode. These color variables
will be passed into the Tailwind CSS theme configuration and are used across the UI of the application.
shadcn/ui
supastarter is also fully compatible with shadcn/ui, which is an amazing tool to quickly build your own component library with Radix UI and Tailwind CSS.
To use the shadcn/ui CLI in your supastarter project simply run the following command from your projects root:
For example to add the skeleton component you would run: