> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/berry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/berry/v3.8.0/project-config.md).

# Project Configuration

Berry makes it easy for you to manage your settings all in one place, we call it a single source of truth, this will help you to keep everything organized and make it easier to add new settings in the future. You can change things like font, border, theme layout, language, and more. You can find all of these settings in the **`..src/config.js`** file.

<table data-full-width="false"><thead><tr><th>Option</th><th>Default</th><th>Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>layout</strong></td><td>Vertical</td><td>string</td><td>Horizontal or vertical layout</td></tr><tr><td><strong>drawerType</strong></td><td>default</td><td>string</td><td>Mini drawer or default</td></tr><tr><td><strong>fontFamily</strong></td><td>'Roboto', sans-serif</td><td>String</td><td>set font family</td></tr><tr><td><strong>borderRadius</strong></td><td>12</td><td>number</td><td>border-radius for card and textboxes</td></tr><tr><td><strong>outlinedFilled</strong></td><td>true</td><td>boolean</td><td>defines backfill color for textboxes. setting it false will show transparent background for outline textboxes</td></tr><tr><td><strong>dashboardPath</strong></td><td>/dashboard/default</td><td>string</td><td>default path once login success</td></tr><tr><td><strong>navType</strong></td><td>light</td><td>String</td><td><code>light, dark</code></td></tr><tr><td><strong>presetColor</strong></td><td>default</td><td>string</td><td><code>theme color</code></td></tr><tr><td><strong>locale</strong></td><td>en</td><td>String</td><td><p><code>en</code> - English</p><p><code>fr</code> - français</p><p><code>ro</code> - Română</p><p><code>zh</code> - 中国人</p></td></tr><tr><td><strong>rtlLayout</strong></td><td>false</td><td>boolean</td><td>set layout from right to left.</td></tr><tr><td><strong>container</strong></td><td>false</td><td>string</td><td>set container layout</td></tr></tbody></table>

{% tabs %}
{% tab title="JavaScript" %}

```javascript
import LAYOUT_CONST from 'constant';

export const DASHBOARD_PATH = '/dashboard/default';
export const HORIZONTAL_MAX_ITEM = 7;

const config = {
    layout: LAYOUT_CONST.VERTICAL_LAYOUT, // vertical, horizontal
    drawerType: LAYOUT_CONST.DEFAULT_DRAWER, // default, mini-drawer
    fontFamily: `'Roboto', sans-serif`,
    borderRadius: 8,
    outlinedFilled: true,
    navType: 'light', // light, dark
    presetColor: 'default', // default, theme1, theme2, theme3, theme4, theme5, theme6
    locale: 'en', // 'en' - English, 'fr' - French, 'ro' - Romanian, 'zh' - Chinese
    rtlLayout: false,
    container: false
};

export default config;
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
import LAYOUT_CONST from 'constant';

// types
import { ConfigProps } from 'types/config';

export const DASHBOARD_PATH = '/dashboard/default';
export const HORIZONTAL_MAX_ITEM = 7;

const config: ConfigProps = {
    layout: LAYOUT_CONST.VERTICAL_LAYOUT, // vertical, horizontal
    drawerType: LAYOUT_CONST.DEFAULT_DRAWER, // default, mini-drawer
    fontFamily: `'Roboto', sans-serif`,
    borderRadius: 8,
    outlinedFilled: true,
    navType: 'light', // light, dark
    presetColor: 'default', // default, theme1, theme2, theme3, theme4, theme5, theme6
    locale: 'en', // 'en' - English, 'fr' - French, 'ro' - Romanian, 'zh' - Chinese
    rtlLayout: false,
    container: false
};

export default config;
```

{% endtab %}
{% endtabs %}


---

# 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 dynamically by asking a question.

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

```
GET https://codedthemes.gitbook.io/berry/v3.8.0/project-config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
