> For the complete documentation index, see [llms.txt](https://tefox-scripts.gitbook.io/tefox-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tefox-scripts.gitbook.io/tefox-scripts-docs/tefox-scripts-documentation/tefox-idcards/configuration.md). Agents can also search and read this documentation through its [MCP server](https://tefox-scripts.gitbook.io/tefox-scripts-docs/~gitbook/mcp).

# Configuration

All settings are managed in <mark style="color:purple;">config.lua</mark>.

### **Framework selection:**

```lua
Config.Framework = "auto"-- "qbcore" | "esx" | "qbus" | "auto" | "qbox"
```

It is recommended to keep this on \[object Object] so the script automatically detects your framework.

### **Card text color:**

Each card allows you to change the text color:

```lua
text = "dark" -- or "light"
```

This allows you to use dark or white text depending on the card background.

### **Example:**

```lua
Config.Cards = {
  id = {
    item = "id_card",
    subTitle = "Citizen Card",
    background = "id_bg.png",
    backgroundBack = "id_back.png",
    animKey = "id",
    text = "dark", -- or "light"
    flipMode = "both",
    showBackToTarget = true
  }
}
```
