Update custom-css.mdx

This commit is contained in:
Peer Richelsen
2025-02-19 10:24:27 +01:00
committed by GitHub
parent 112aa8201f
commit 5ca063d4e8
@@ -2,10 +2,6 @@
title: "How to add custom CSS"
---
<Warning>
Adding or modifying CSS counts as changing the code, so as per [our license](https://github.com/calcom/cal.com/blob/main/LICENSE) **you must either open-source your modified version or purchase an enterprise license.**
</Warning>
Cal.com uses [TailwindCSS](https://tailwindcss.com/) as a replacement for traditional CSS styling within the application, but some people prefer to add CSS styles themselves.
CSS files should be stored in the `styles` directory within the codebase.
@@ -33,4 +29,4 @@ import "../styles/your-new-stylesheet.css";
These styles will apply to all pages and components in your application.
</Info>
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside** **`pages/_app.tsx`**.
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside** **`pages/_app.tsx`**.