mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
doc fix
This commit is contained in:
parent
d12bd2efae
commit
f0c7a9c4f6
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ The hex and rgb forms allow you to select from the full *truecolor* set of 16.7
|
|||
|
||||
By itself, a color will change the *foreground* color. To specify a *background* color precede the color with the word "on". For example, the following prints text in red on a white background::
|
||||
|
||||
console.print("DANGER!", style="white on red")
|
||||
console.print("DANGER!", style="red on white")
|
||||
|
||||
You can set a style attribute by adding one or more of the following words:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue