mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstring
This commit is contained in:
@@ -184,6 +184,7 @@ class Color(NamedTuple):
|
||||
|
||||
Args:
|
||||
rich_color: An instance of [Rich color][rich.color.Color].
|
||||
theme: Optional Rich [terminal theme][rich.terminal_theme.TerminalTheme].
|
||||
|
||||
Returns:
|
||||
A new Color instance.
|
||||
|
||||
@@ -149,6 +149,7 @@ class Style:
|
||||
|
||||
Args:
|
||||
rich_style: A Rich Style object.
|
||||
theme: Optional Rich [terminal theme][rich.terminal_theme.TerminalTheme].
|
||||
|
||||
Returns:
|
||||
New Style.
|
||||
|
||||
Reference in New Issue
Block a user