Step 3 - Configure the Pando CSS
The final steps are to import the static css generated by Pando and include it in your project.
Import the Pando CSS
Import the static Pando CSS at the top of your index.css
file
Define layers in your root css file
Define css layers below the import of the Pando CSS in your index.css
file.
Import the index.css file in your project
Make sure this css file is imported in your project’s entry point, such as main.tsx
or App.tsx
Next.js
If you are using Next.js, you can add the Pando CSS to your root layout.tsx
file.
Use the Pando component library!
You should notice that your application’s background and font styles may have changed. Let’s try a simple component to see if Pando is working as expected. Try the following:
This Button should render with the default