> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Bach builds Windows installers from one bach.toml with the bach command: bach init, bach check, bach preview, bach build. Installs are per user and need no administrator rights by default. installer.scope = "machine" installs for every user after one Windows prompt. On Windows, run setup files with Start-Process -Wait -PassThru in PowerShell, and give signtool arguments that start with the word sign.

# [style]: fonts, colors and backgrounds

> The 14 built-in window styles and every [style] setting: fonts, corner radius, background picture, colors and separate light and dark values.

The window has 14 built-in styles. Choose one with `installer.style`, then change whatever you like in `[style]`. All settings are optional. Size, arrangement and animation are in [`[layout]`](/docs/reference/config/layout). Walkthrough: [Customize the install window](/docs/guides/customize-the-window.md).

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
style = "aurora"

[style]
font = "fonts/Outfit.ttf"
radius = 20
accent = "#22d3ee"

[style.dark]
background = ["#1d0b36", "#0a0416"]
card = "#ffffff0b"
```

## Built-in styles

| Style | Looks like |
| - | - |
| `bach` | White or graphite, black buttons, Inter. The default. |
| `aurora` | Soft violet-to-blue wash, frosted cards, pill buttons |
| `terminal` | Monospaced, near-black with a green glow. Dark by default. |
| `arcade` | Neon pink on deep violet, heavy heading. Dark by default. |
| `forge` | Brushed steel and molten orange. Dark by default. |
| `lagoon` | Calm sea blue, rounded |
| `pixel` | Square corners, monospaced, night blue and gold. Dark by default. |
| `midnight` | Deep navy, glass cards, electric blue. Dark by default. |
| `paper` | Warm paper, serif heading, terracotta |
| `ember` | Charcoal with amber glow. Dark by default. |
| `forest` | Moss and sage, cream cards |
| `blossom` | Soft pink, generous corners |
| `mono` | Black and white, hairlines |
| `frost` | Cool blue-grey, quiet |

`bach styles` describes them with the kinds of apps they suit; `bach preview --style <name>` shows one on your app. `bach init` doesn't choose one for you. Every style has light and dark versions and follows `installer.theme`. They use fonts that Windows 10 and 11 include, and fall back to Inter.

## Fonts, corners, picture

| Setting | Meaning |
| - | - |
| `font` | A Windows font family such as `"Segoe UI"`, a `.ttf` or `.otf` file, or a list of files for several weights. Files ship in the setup file, up to 4 MB each. `.woff`, `.woff2` and `.ttc` aren't supported. |
| `heading_font` | Headings' font, same forms. Default: `font`. |
| `heading_weight` | 100 to 900 (400 regular, 700 bold) |
| `radius` | Corners of cards and fields, 0 to 24 |
| `button_radius` | Corners of buttons and checkboxes, 0 to 16 (16 is a pill) |
| `background_image` | PNG or JPEG covering the window, up to 8 MB |
| `background_image_opacity` | 0 to 1, default 0.35. Needs `background_image`. |

## Colors

`#rrggbb`, or `#rrggbbaa` for transparency. Set in `[style]` for both modes, or `[style.light]` / `[style.dark]` for one mode (which wins).

| Setting | Colors |
| - | - |
| `background` | The window. One color, or two for a top-to-bottom gradient. Opaque only. |
| `card` | The card of choices, license box, key field |
| `text` | Headings and labels |
| `muted_text` | Descriptions, subtitle, footer |
| `accent` | Buttons, progress bar, ticked boxes. Don't also set `installer.accent`. |
| `accent_text` | Text on the accent. Default black or white, whichever reads. |
| `border` | Card edges and dividers |
| `error` | Remove button and failure icons |
| `mark` | The Bach mark and SVG logos |
| `panel` | A layout panel without a picture. Default: a light tint of the accent. |
| `panel_text` | Heading and subtitle on that panel |

Other shades (hover, progress track and so on) are mixed from these.

## Limits and checking

The logo, fonts and pictures together may be at most 16 MB. `bach check` shows a `Look` line such as `arcade style, dark, font Outfit, own colours, own corners, 1 font file, background picture`, and a misspelled style name gets a suggestion.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.