mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-15 01:17:13 +00:00
19 lines
667 B
VHS
19 lines
667 B
VHS
|
# This is a vhs script. See https://github.com/charmbracelet/vhs for more info.
|
||
|
# To run this script, install vhs and run `vhs ./examples/colors_rgb.tape`
|
||
|
Output "target/colors_rgb.gif"
|
||
|
# The OceanicMaterial theme is a good choice for this example (Obsidian is almost as good) because:
|
||
|
# - Black is dark and distinct from the default background
|
||
|
# - White is light and distinct from the default foreground
|
||
|
# - Normal and bright colors are distinct
|
||
|
# - Black and DarkGray are distinct
|
||
|
# - White and Gray are distinct
|
||
|
Set Theme "OceanicMaterial"
|
||
|
Set Width 1200
|
||
|
Set Height 1410
|
||
|
Hide
|
||
|
Type "cargo run --example=colors_rgb --features=crossterm"
|
||
|
Enter
|
||
|
Sleep 2s
|
||
|
Show
|
||
|
Sleep 1s
|