rich.styled

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

Apply a style to a renderable.

Parameters
  • renderable (RenderableType) – Any renderable.

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