Themes Coder Ionic UIUXDocs
Build with UIUX

Angular project structure

Open the Angular project, change its colours, and find the screens and templates 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 Main folder of the project.

    Selecting the Main folder
  4. Check that the terminal is in the project folder.

    The terminal in the project folder

The project looks like this:

The Angular project structure

Change the colours#

The colour scheme is set in the services (theme.service and custom-theme.service), which save the chosen theme in local storage.

The theme services

To use your own colours, 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/app, with its page.html, page.scss, page.ts and page.module.ts. Copy the folder of the component or screen you want.

A page's files

Use a template#

Each template has its own folder. Pick the template's folder:

The templates folder

Its images and other assets are here:

A template's assets

Routes#

To get a template's or page's routes, open app-routing.module.ts and copy the paths you need. Comments in the file mark which paths belong to which template.

app-routing.module.ts