# Telegram Theme

> Adaptive theme that maps to Telegram CSS variables (`--tg-theme-*`) with 8px radius — for Telegram Mini Apps.

Source: https://gallerykit.n.yatsyk.com/docs/theme-telegram

# @gallerykit/theme-telegram

Importing **@gallerykit/theme-telegram** registers the `telegram` theme and exports `telegramTheme`. The theme reads Telegram's CSS variables so the gallery follows the user's chat theme automatically.

* **Stability:** experimental
* **Dependencies:** `@gallerykit/core`

## Install

```bash
pnpm add @gallerykit/theme-telegram
```

## Quick example

```tsx
import "@gallerykit/theme-telegram";
import "@gallerykit/theme-telegram/styles.css";

<Gallery config={{ layout: "grid", theme: "telegram" }} items={items} />
```

See [Getting Started](./getting-started.mdx) for the full walkthrough and [API](./api.mdx) for the public exports.
