Skip to content

Commit

Permalink
Add screenshots for ramp_color and terminal_colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbakker committed Dec 14, 2017
1 parent 0154530 commit 877633f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The following modules will probably need to be installed separately:

* `Pod::Usage`
* `YAML`
* `Term::ReadKey`

## Initialisation

Expand Down Expand Up @@ -164,10 +165,29 @@ Show a matrix of the terminal colours. Example with the `ztevenburn` theme:

![screenshot](img/color_matrix-screenshot.png)

### src/ramp_color

Only works well on a TrueColor terminal.

Given a start color, display a color ramp of increasingly lighter or darker colors, and a demonstration of these colors in a text string.

![screenshot](img/ramp_color-screenshot.png)

See `perldoc src/ramp_color` for more information.

### src/terminal_colors

Modified clone of the XFree86 `256colors.pl`. Can print a 256 colour map as well as a list of all extended colors and their RGB values or a visually pleasing spectrum (the latter only for TrueColor terminals).

See `perldoc src/terminal_colors` for more information.

![screenshot](img/terminal_colors-screenshot.png)

![screenshot](img/terminal_colors-tc-screenshot.png)

### src/random_theme.pl

Fun stuff for generating a completely random colour theme. Script spits out a
random YAML configuration.
Fun stuff for generating a completely random colour theme. Script spits out a random YAML configuration.

To generate, use `random_theme.pl` and run `parse_yaml_theme.pl` to show the
results:
Expand Down
Binary file added img/ramp_color-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/terminal_colors-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/terminal_colors-tc-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 877633f

Please sign in to comment.