We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should try to create styles like the following to make things a bit more consistent across the application
from rich.console import Console from rich.theme import Theme custom_theme = Theme({ "info" : "dim cyan", "warning": "magenta", "danger": "bold red" }) console = Console(theme=custom_theme) console.print("This is information", style="info") console.print("[warning]The pod bay doors are locked[/warning]") console.print("Something terrible happened!", style="danger")
https://rich.readthedocs.io/en/stable/style.html
The text was updated successfully, but these errors were encountered:
Does this also sync with the colours textual uses?
Sorry, something went wrong.
No branches or pull requests
We should try to create styles like the following to make things a bit more consistent across the application
https://rich.readthedocs.io/en/stable/style.html
The text was updated successfully, but these errors were encountered: