Update custom-css.mdx
This commit is contained in:
@@ -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`**.
|
||||
|
||||
Reference in New Issue
Block a user