python/tests/test_pygments.py
2025-08-03 21:04:54 +01:00

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"