> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/design.md).

# Design

Customize enrolment forms with colors, typography, subtitles, header images and a light or dark palette.

The enrolment form is flexible and customizable. It uses the Material-UI (MUI) theming system, described in the [MUI Theming Documentation](https://mui.com/customization/theming/). This page lists the design elements and how to customize them.

Edit the design in the form's **Advanced** tab (YAML), see [Enrolment form](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form.md). The form YAML carries `headerImage` and `theme` (an MUI theme: `theme.palette` for colors; other MUI theme keys are passed through as written).

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2Fgit-blob-e43bfb843650ffe3a1ca9d138c8c47b5961114e9%2Fenrolment-form-advanced-yaml-clean.png?alt=media" alt="Advanced tab of an enrolment form with the YAML editor"><figcaption><p>The Advanced tab holds the form definition in YAML.</p></figcaption></figure>

## Colors

Adapt the colors to the brand palette in `theme.palette`. The form uses a light palette by default; for a dark form, set `theme.palette.mode` to `dark` in the form YAML.

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2FWEzc01bEh2FUD92PHta0%2Fenroll-design-colors.png?alt=media&#x26;token=02cdce27-6838-4106-8939-06705fac0f1c" alt="Color settings for the enrolment form theme"><figcaption><p>Color settings of the form theme.</p></figcaption></figure>

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2FKcuycQexm5r2BDJI19ge%2Fenroll-design-colors-2.png?alt=media&#x26;token=599c4f27-9849-42e2-8a92-a1f03ef47f46" alt="Additional color settings for the enrolment form theme"><figcaption><p>Secondary and background colors of the form theme.</p></figcaption></figure>

## Typography

Fonts, sizes and weights are configurable through the MUI theming system, to match the brand guidelines.

<figure><img src="https://831874859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlFokgwgJiwLXu7G8MVSJ%2Fuploads%2FDszSEFZzZV8ttG0L76Wu%2Fenroll-design-typography.png?alt=media&#x26;token=33fc187b-fd0a-4f8a-b564-43360746efcd" alt="Typography settings for the enrolment form"><figcaption><p>Font family, size and weight settings of the form theme.</p></figcaption></figure>

## Subtitle

The subtitle is the `description` text shown under the form title. It is a form text like the others, translated per language (see [Localize form text and consent wording](https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form.md#localize-form-text-and-consent-wording)). Variants `descriptionExistingUser` and `descriptionNewUser` replace it for known and new customers. Use it for an incentive or a call to action, and keep it concise. Examples:

* Get 10% off
* Receive news from \[brand name]
* Join now!

## Header image

The header image enhances the visual appeal of the form. Specify it in one of two ways:

1. As a URL: `headerImage: https://…`.
2. As an object with `url` and `additionalStyles`. `additionalStyles` uses JSS syntax and overrides the header styles.

```yaml
headerImage:
  url: https://example.com/header.png
```

An image stored on the platform goes in the `/public` folder and its URL starts with `/public/`.

The image is displayed with `background-size: cover` and `height: 200px`. The width is responsive, with a minimum of 280px and about 400px on modern smartphones.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/guides-enrolment/enrolment/enrolment-form/design.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
