Skip to content

Commit

Permalink
feat(inspector|themeing): update for atuin#2319 with theme and naviga…
Browse files Browse the repository at this point in the history
…ble inspector
  • Loading branch information
philtweir committed Dec 29, 2024
1 parent ac90fdf commit fc93cf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/content/docs/configuration/key-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,6 @@ Open the inspector with ctrl-o
| Esc | Close the inspector, returning to the shell |
| ctrl+o | Close the inspector, returning to search view |
| ctrl+d | Delete the inspected item from the history |
|| Inspect the previous item in the history |
|| Inspect the next item in the history |
| tab | Select current item and edit |
5 changes: 5 additions & 0 deletions src/content/docs/guide/theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Where `THEMENAME` is a known theme. The following themes are available out-of-th
* default theme (can be explicitly referenced with an empty name `""`)
* `autumn` theme
* `marine` theme
* `(none)` theme (removes all styling)

These are present to ensure users and developers can try out theming, but in general, you
will need to download themes or make your own.
Expand Down Expand Up @@ -102,6 +103,10 @@ where not all of the *Meanings* need to be explicitly defined. If they are absen
then the color will be chosen from the parent theme, if one is defined, or if that
key is missing in the `theme` block, from the default theme.

If the entire named theme is missing, which is inherently an error, then the theme
will drop to `(none)` and leave Atuin unstyled, rather than trying to fallback to
the any default, or other, theme.

This theme file should be moved to `~/.config/atuin/themes/my-theme.toml` and the
following added to `~/.config/atuin/config.toml`:

Expand Down

0 comments on commit fc93cf8

Please sign in to comment.