Configuration

theme.yaml

Every field in theme.yaml: the interface's colours, density, diff and board settings.

This page lists every field in theme.yaml, the file that holds the interface's appearance.

config/theme.yaml
surface: ink
accent: violet
colour_amount: full
mode: dark
density: compact
diff:
  layout: split
board:
  group_by: repo
editor: code

Settings › Appearance and Settings › Board & code write this file. A save changes only the keys it sends, and a key the file leaves out takes its default. When a file sets surface, a missing accent is none and a missing colour_amount is subtle. A file that sets colour_amount: mono must leave accent out or set it to none; Kraft refuses a file that pairs mono with another accent.

FieldTypeDefaultMeaning
surfacegraphite, slate, ink, sand or mossinkThe base colours of the page.
accentnone, blue, violet, green, amber or rosevioletThe accent colour. Settings › Appearance offers none, blue, violet and rose; the web UI paints green and amber as none, since those are the signal colours.
colour_amountmono, subtle or fullfullHow much colour the surfaces, the accent and the status colours carry. mono leaves only grey.
modelight, dark or systemdarkThe colour mode.
densitycompact or comfortablecompactHow tightly rows and text are spaced.
code_scheme.lightauto, none or solarized-lightautoThe syntax colours in review diffs in light mode.
code_scheme.darkauto, none, solarized-dark, monokai or draculaautoThe syntax colours in review diffs in dark mode.
diff.layoutunified or splitunifiedThe layout of the review page's diff.
diff.colourstheme, safe or plainthemeThe colours of the review page's diff: status colours (theme), colorblind-safe blue and orange (safe), or marks only (plain).
diff.show_whitespacebooleantrueShow whitespace changes. false hides lines that differ only in whitespace.
diff.word_highlightbooleantrueHighlight changed words: a stronger tint on the words that changed inside a line.
diff.wrap_linesbooleanfalseWrap long lines. false scrolls sideways.
diff.one_file_at_a_timebooleantrueShow one file at a time, with the file tree beside it.
board.group_bystatus, repo or chainstatusWhat the board groups items by. A file with template is read as chain.
board.show_doneinteger, at least 15How many of the newest done items the board's Done group lists before show all N.
board.open_inpeek or fullpeekWhether opening an item shows the side panel (peek) or the item page (full).
palettenocturne, rose, forest, amber or slateunsetLegacy. Kraft converts it once at startup into surface, accent and colour_amount, and keeps the original as theme.yaml.pre-2.0. How. If theme.yaml.pre-ux2 or theme.yaml.pre-1.5 already exists, Kraft keeps that file as the backup and writes no theme.yaml.pre-2.0.
editorcode, cursor, zed or obsidianunsetThe editor a document's Open in editor uses. Left out, it is KRAFT_EDITOR, else the system's default app.

A legacy palette key

A palette key in a file (nocturne, rose, forest, amber or slate) is converted once at startup into the three keys that draw the same look, and Kraft saves the original as theme.yaml.pre-2.0. A palette that reappears, from an old browser tab's save or a hand edit, is read as it was and converted the same way at the next start.

The conversion sets colour_amount to the file's own value, else full. With colour_amount: mono, accent is none instead of the one in the table:

palettesurfaceaccent
nocturne, roseinkviolet
forestmossgreen
ambersandamber
slateslateblue

A file that already sets its own surface only loses the palette. A file that doesn't parse or holds a value Kraft doesn't know is left alone. If the converted look is wrong:

  • Pick the surface, accent and amount of colour on Settings › Appearance.
  • To go back to the file as it was, stop Kraft, copy the backup (theme.yaml.pre-2.0, or the .pre-ux2 or .pre-1.5 copy already there) from ~/.kraft/config/ over theme.yaml and start Kraft again. The next start converts its palette once more, and the saved copy is never overwritten.
  • A theme.yaml that doesn't parse leaves the interface on its defaults, and kraft admin doctor has no row for it. Fix the key by hand, or delete the file to start from the defaults.
  • Settings: the Appearance and Board & code screens that write this file.
  • Configuration: the other files in the config directory.
Copyright © 2026