rich.styled

class rich.styled.Styled(renderable, style)[source]

Apply a style to a renderable.

Parameters
  • renderable (RenderableType) – Any renderable.

  • style (StyleType) – A style to apply across the entire renderable.