Skip to main content

CSS

We already import and config Tailwind CSS in our frontend project, you can use it directly.

Custom CSS​

You can create custom CSS files under frontend/src/styles directory and add it in frontend/src/styles/index.css

For example

.alert {
@apply rounded;
@apply text-gray-700 bg-gray-100;
@apply p-4;
@apply text-sm;
}
tip

In SaaS Hammer, we already built some components for developers to use directly or customize if they want.

You can check Component Library to learn more.