# Zinn for Rex

The Zinn color palette for [Rex](https://www.superlogical.com/rex), with light and dark appearances.

Verified with Rex Beta 0.1.0 (1696).

## Screenshots

### Shell

![Shell, dark mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738548/Screenshot_2026-11-02_at_23.10.07_mstbjr.png)

![Shell, light mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738547/Screenshot_2026-11-02_at_23.10.27_skpr4r.png)

### Editor

![Editor, dark mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738547/Screenshot_2026-11-02_at_23.10.09_ujdyah.png)

![Editor, light mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738546/Screenshot_2026-11-02_at_23.10.29_aszp7y.png)

### Agent

![Agent, dark mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738547/Screenshot_2026-11-02_at_23.10.12_dltw4l.png)

![Agent, light mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738546/Screenshot_2026-11-02_at_23.10.31_tldiia.png)

### Diff

![Diff, dark mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738547/Screenshot_2026-11-02_at_23.10.15_zwr8qq.png)

![Diff, light mode](https://res.cloudinary.com/drwbqceye/image/upload/v1793738546/Screenshot_2026-11-02_at_23.10.33_ukllwx.png)

## Installation

Download both files and import them with the Rex CLI.

1. Download [zinn-dark](https://zinn.sh/integrations/rex/theme/zinn-dark) and [zinn-light](https://zinn.sh/integrations/rex/theme/zinn-light).
2. Import each file with `rex do client.theme.import`.
3. Import both files to fill the dark and light sides of the theme pair.

Rex uses the file name as the theme name and an import applies the theme immediately. With one app client connected, `rex do` picks it automatically. With more than one, add `-C` with the label from `rex client ls`. Switch the appearance mode to move between the two.

The files are in Ghostty's theme format, so they also work in Ghostty itself.

Rex's [settings reference](https://www.superlogical.com/rex/docs/reference/mac-settings#import-theme) covers Import Theme and the theme sheet.

```sh
curl -fsSL https://zinn.sh/integrations/rex/theme/zinn-dark -o zinn-dark
curl -fsSL https://zinn.sh/integrations/rex/theme/zinn-light -o zinn-light
rex do client.theme.import path="$PWD/zinn-dark"
rex do client.theme.import path="$PWD/zinn-light"
```

[Theme source](https://github.com/yethranayeh/zinn/tree/main/integrations/rex/theme) · [All integrations](https://zinn.sh/integrations)
