Skip to content

Commit c0c3ee9

Browse files
authored
fix(extras/pygments): Keyword.Reserved & Name.Exception (#80)
1 parent 1ba7273 commit c0c3ee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

catppuccin/extras/pygments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _make_styles(colors: FlavorColors) -> dict[_TokenType, str]:
5757
# `from`, `import`
5858
Keyword.Namespace: colors.mauve.hex,
5959
Keyword.Pseudo: colors.pink.hex,
60-
Keyword.Reserved: colors.pink.hex,
60+
Keyword.Reserved: colors.mauve.hex,
6161
Keyword.Type: colors.yellow.hex,
6262
Literal: colors.text.hex,
6363
Literal.Date: colors.text.hex,
@@ -75,7 +75,7 @@ def _make_styles(colors: FlavorColors) -> dict[_TokenType, str]:
7575
Name.Constant: colors.text.hex,
7676
Name.Decorator: colors.text.hex,
7777
Name.Entity: colors.text.hex,
78-
Name.Exception: colors.text.hex,
78+
Name.Exception: colors.yellow.hex,
7979
# def __Name.Label__(
8080
Name.Function: colors.blue.hex,
8181
Name.Label: f"{colors.teal.hex} italic",

0 commit comments

Comments
 (0)