Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parse kitty.conf theme files (litmus-fp9r)

StatusDone · archived
TypeTask
Prioritynormal
Parent(litmus-f1b3)

Parse kitty.conf theme files directly as input (no canonical format yet).

Summary of Changes

  • Added to — parses with/without prefix, case-insensitive
  • Created with struct and parser
    • Handles: name metadata comment, foreground/background, color0–color15, cursor, selection_background/foreground
    • Returns if required fields missing; optional fields (cursor, selection) are when absent
    • 4 unit tests all passing
  • Added to — converts → with sensible defaults
  • Updated : accepts file paths as CLI args; if provided, uses only those themes; otherwise falls back to hardcoded themes