# Design System

The Design System is the visual foundation of your Digia application. Before you start building pages or components, it's essential to define your global styles. This ensures consistency across your entire app and makes updates effortless.

## Core Elements

* [**Colors**](/ui-building-blocks/design-system/colors.md): Define your primary, secondary, and accent colors. These tokens are available throughout the builder.
* [**Typography**](/ui-building-blocks/design-system/typography.md): Set up your text styles (Headings, Body, Captions) to maintain readability and visual hierarchy.

## Why Start Here?

Defining your Design System first allows you to:

1. **Build Faster**: No need to manually pick hex codes for every button.
2. **Maintain Consistency**: Change a color in one place, and it updates everywhere.
3. **Stay On-Brand**: Ensure every screen matches your brand guidelines.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digia.tech/ui-building-blocks/design-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
