Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-a-thomas committed Jul 17, 2019
1 parent 6565959 commit f510e1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ println!("{}", "Hello, world!".fg(red()));

Output:

<code style="color: red">Hello, world!</code>
![Red on natural](https://i.imgur.com/odonuth.png)

# Background colors

Expand All @@ -37,7 +37,7 @@ println!("{}", "Hello, world!".bg(red()));

Output:

<code style="background: red">Hello, world!</code>
![Natural on red](https://i.imgur.com/fU1unJ9.png)

# Mix and match

Expand All @@ -58,7 +58,7 @@ println!("{}", "Yuck".fg(fg).bg(bg));

Output:

<code style="color: #7BE76F; background: #0A6414">Yuck</code>
![Yuck](https://i.imgur.com/ippM4tf.png)

# Anything formattable

Expand All @@ -72,7 +72,7 @@ println!("{:?}", foo.fg(green()));

Output:

<code style="color: #00FF00">Foo(1, 2)</code>
![Green foo](https://i.imgur.com/f3sFuIV.png)

# Windows users

Expand Down

0 comments on commit f510e1b

Please sign in to comment.