Skip to main content

Styles and Assets

CSS styles

We use Tailwind CSS framework with some customization which you will find at :

open [your-frontend-project]/tailwind.config.js

For Tailwind CSS documentation:

Go to Tailwind CSS

Icons

For our icons

open [your-frontend-project]/src/components/icons

For Adding a custom Icon

To add a custom icon please follow this procedure.

  1. Open your custom SVG icon file in the code editor and copy all the code.
  2. Then Go to src -> components -> icons folder and create a new .tsx file.
  3. Then here create a function component and paste your copied SVG code inside the return statement.
  4. Then covert all the SVG's kebab-cases properties into camelCase format except the data-name property. For ex. change the stroke-width and fill-color into strokeWidth and fillColor. (for reference you can see one of our icon. )
  5. If your custom SVG code has any single custom color then change them into fillColor.