# Rime · Squirrel

The candidate window's colour scheme, added as a patch in squirrel.custom.yaml, so rime_ice and other schemas keep updating as they are.

- id: `rime-squirrel`
- Runs on: macOS
- Install: One command, id rime
- Input methods

## Install

```sh
npx github:pseudoyu/poi-theme install rime
```

## What it changes

- `~/Library/Rime/squirrel.custom.yaml`: 3 keys under patch: the colour scheme itself, and which scheme is in use

## Then

- Redeploy: the input menu, then Deploy, or ⌃ ⌥ `.

## Undo

```sh
npx github:pseudoyu/poi-theme uninstall rime
```

Takes out exactly what went in: new files are removed, added lines and blocks are taken out, and a file that was there before comes back from its .pre-poi copy.

## Good to know

- rime_ice ships its own squirrel.yaml and overwrites it when it updates. The installer never touches that file, only the .custom.yaml beside it.
- If your .custom.yaml already picks a colour scheme, only that choice is replaced, and the file as it was is kept as squirrel.custom.yaml.pre-poi.
- Rime writes colours blue first, as 0xBBGGRR. Copy values from the generated file, not from the palette.

## Where it has been checked

- macOS (macOS 27): The same files, in daily use

## Files

- https://poi.pseudoyu.com/files/rime-squirrel/machine/squirrel.custom.yaml
