Skip to content

Commit

Permalink
chore(docs): elaborate on themes a little
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Dec 6, 2023
1 parent 5144bb9 commit 06623ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ better dictation of the information on screen for the visually impaired.

## Themes

Forms can be themed.
`huh?` contains a powerful theme abstraction.

Supply your own custom theme or choose from one of the four predefined themes:

Expand All @@ -259,6 +259,12 @@ Supply your own custom theme or choose from one of the four predefined themes:
<img alt="Default-themed form" width="400" src="https://stuff.charm.sh/huh/themes/default-theme.png">
</p>

Themes are more then just colors: they can take advantage of the full range of
[Lip Gloss][lipgloss] style. For high level theme reference see
[the docs](https://pkg.go.dev/github.com/charmbracelet/huh#Theme).

[lipgloss]: https://github.com/charmbracelet/lipgloss

## Spinner

Spinners come built in to `huh` for loading actions. It's useful to indicate
Expand Down

0 comments on commit 06623ad

Please sign in to comment.