mirror of
https://github.com/catppuccin/python.git
synced 2026-01-09 05:20:46 +08:00
16 lines
407 B
Python
16 lines
407 B
Python
from pygments.token import Text
|
|
|
|
from catppuccin.extras.pygments import LatteStyle, MochaStyle
|
|
|
|
|
|
def test_mocha_style_colors() -> None:
|
|
style = MochaStyle()
|
|
assert style.background_color == "#181825"
|
|
assert style.styles[Text] == "#cdd6f4"
|
|
|
|
|
|
def test_latte_style_colors() -> None:
|
|
style = LatteStyle()
|
|
assert style.background_color == "#e6e9ef"
|
|
assert style.styles[Text] == "#4c4f69"
|