Notes about using the textual framework¶
How to render text with specific styles in custom widgets¶
One can use Markup in textual to render text with styles in custom widgets.
Another way:
from rich.text import Text
texto = Text("Enter the job name")
texto.stylize("dark_orange", 0, 6)
Label(texto)
that should produce a text with normal foreground color everywhere but
from index 0 to 6, where it is dark_orange.