Skip to content

9.1.0

Choose a tag to compare

@marbris marbris released this 06 Oct 16:32
· 77 commits to main since this release

A minor version: no keys changed. Mostly themes, plus a few fixes to the printing view and the rules panel.

Themes

  • New themes. Dark: tokyonight, dracula, catppuccin-mocha. Light: gruvbox-light, catppuccin-latte. The light themes' colors are darkened from the published palettes, so they stand out from the background and from each other.
  • The theme's background fills the whole screen. Before, it showed only in the gaps between words, so any theme whose background differed from the terminal's (nord, for one) looked boxy. A theme can set "transparent": true to keep your terminal's background, and terminal does.
  • Fixes to built-in themes now reach you. ttr used to copy the built-in themes into ~/.config/ttr/themes/, and those copies hid any later fixes. It no longer copies them, and it removes the old copies on start if you never changed them. A theme you edited is kept.
  • Clearer color names. white and gray are now fgBright and fgMuted, because in a light theme the brightest text is black. The old names still work. The selection has its own color, bgSel.
  • ttr theme edit writes the file in reading order, with a comment per group. ttr theme labels the swatches and lines them up, however long a theme's name is.

Printing view

  • Closing the statistics (s) or a card's printed history (gv) goes back to the printing view if that's where you were.
  • Opening the rules from the printing view shows the rule in the info panel. Going back to the list brings the picture back.

Rules

  • Examples in a rule sit apart from it, each under an "Example" label and indented.
  • With the rules, lists or settings panel in front, the list you're editing no longer offers card keys that do nothing there.