Skip to content

Commit c7e72f8

Browse files
authored
fix(pygments): mantle for code block backgrounds (#112)
1 parent d06dedc commit c7e72f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

catppuccin/extras/pygments.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class LatteStyle(Style):
154154

155155
_colors = PALETTE.latte.colors
156156

157-
background_color = _colors.base.hex
157+
background_color = _colors.mantle.hex
158158
highlight_color = _colors.surface0.hex
159159
line_number_background_color = _colors.mantle.hex
160160
line_number_color = _colors.text.hex
@@ -169,7 +169,7 @@ class FrappeStyle(Style):
169169

170170
_colors = PALETTE.frappe.colors
171171

172-
background_color = _colors.base.hex
172+
background_color = _colors.mantle.hex
173173
highlight_color = _colors.surface0.hex
174174
line_number_background_color = _colors.mantle.hex
175175
line_number_color = _colors.text.hex
@@ -184,7 +184,7 @@ class MacchiatoStyle(Style):
184184

185185
_colors = PALETTE.macchiato.colors
186186

187-
background_color = _colors.base.hex
187+
background_color = _colors.mantle.hex
188188
highlight_color = _colors.surface0.hex
189189
line_number_background_color = _colors.mantle.hex
190190
line_number_color = _colors.text.hex
@@ -199,7 +199,7 @@ class MochaStyle(Style):
199199

200200
_colors = PALETTE.mocha.colors
201201

202-
background_color = _colors.base.hex
202+
background_color = _colors.mantle.hex
203203
highlight_color = _colors.surface0.hex
204204
line_number_background_color = _colors.mantle.hex
205205
line_number_color = _colors.text.hex

0 commit comments

Comments
 (0)