Themes Coder Ionic UIUXDocs
Build with UIUX

React project structure

Open the React project, change its colours, and find the screens to copy.

Open the project#

  1. Open Visual Studio Code.

    Visual Studio Code welcome screen
  2. Choose File → Open Folder.

    File, Open Folder
  3. Select the project folder. The React version has one folder per source code: UIUX, mini apps, scripts and each template.

    The React source code folders
  4. Check that the terminal is in the project folder.

    The terminal in the project folder

The project looks like this:

The React project structure

Change the colours#

The colours are CSS variables in variables.css. To use your own, follow the same pattern: switch the default values for the colours you want, as in the commented examples.

Theme colour variables

Find a screen or component#

Every page is in its own folder under src/pages, with its page.tsx and page.scss. Copy the folder of the component or screen you want.

A page's files

Use a template#

The Becrux, Lesath and Rigel templates are separate source codes, with the same structure as above.

Routes#

To get a page's route, open App.tsx and copy the paths you need. Comments in the file mark the paths.

Routes in App.tsx