Method: rich.terminal_theme.TerminalTheme.__init__
Calls: 5, Exceptions: 0, Paths: 1Back
Path 1: 5 calls (1.0)
(255, 255, 255) (2) (12, 12, 12) (1) (25, 25, 25) (1) (41, 41, 41) (1)
(0, 0, 0) (1) (217, 217, 217) (1) (185, 188, 186) (1) (64, 63, 83) (1) (197, 200, 198) (1)
list (5)
list (5)
1def __init__(
2 self,
3 background: _ColorTuple,
4 foreground: _ColorTuple,
5 normal: List[_ColorTuple],
6 bright: Optional[List[_ColorTuple]] = None,
7 ) -> None:
8 self.background_color = ColorTriplet(*background)
9 self.foreground_color = ColorTriplet(*foreground)
10 self.ansi_colors = Palette(normal + (bright or normal))