MCPcopy
hub / github.com/Textualize/rich / default

Method default

rich/color.py:423–429  ·  view source on GitHub ↗

Get a Color instance representing the default color. Returns: Color: Default color.

(cls)

Source from the content-addressed store, hash-verified

421
422 @classmethod
423 def default(cls) -> "Color":
424 """Get a Color instance representing the default color.
425
426 Returns:
427 Color: Default color.
428 """
429 return cls(name="default", type=ColorType.DEFAULT)
430
431 @classmethod
432 @lru_cache(maxsize=1024)

Callers 4

test_get_line_color_noneFunction · 0.80
test_get_style_for_tokenFunction · 0.80
test_defaultFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_get_line_color_noneFunction · 0.64
test_get_style_for_tokenFunction · 0.64
test_defaultFunction · 0.64