> For the complete documentation index, see [llms.txt](https://devmosaic.gitbook.io/devmosaic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devmosaic.gitbook.io/devmosaic/resources/devmosaic-banking/themes-and-locales.md).

# Themes And Locales

### UI Themes

Theme file:

```
data/ui.lua
```

Set the active theme:

```lua
local activeTheme = 'lime'
```

Themes set CSS variables:

```lua
['--accent']
['--accent-deep']
['--accent-rgb']
['--accent-soft']
['--accent-glow']
```

Example:

```lua
blue = theme('#60a5fa', '#3b82f6', '96, 165, 250', '0.10', '0.50')
```

Restart `dm-banking` after changing `data/ui.lua`.

### Locales

Locale files:

```
locales/*.json
```

Set active locale:

```lua
Config.Locale = 'en'
```

The script ships with multiple locale files. If a key is missing, the UI or Lua fallback text is used.

### Brand Name

The bank brand should stay:

```
Fleeca Bank
```

Do not translate the bank name unless you intentionally want a custom brand.

### Adding New Text

When adding a new text key:

1. Add the key in `locales/en.json`.
2. Add the same key to every other locale file.
3. Use the locale helper in UI or Lua.
4. Restart the resource.
