fix(pygments): mantle for code block backgrounds (#112)

This commit is contained in:
uncenter 2025-08-03 16:02:39 -04:00 committed by GitHub
parent d06dedc115
commit c7e72f8aaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ class LatteStyle(Style):
_colors = PALETTE.latte.colors
background_color = _colors.base.hex
background_color = _colors.mantle.hex
highlight_color = _colors.surface0.hex
line_number_background_color = _colors.mantle.hex
line_number_color = _colors.text.hex
@ -169,7 +169,7 @@ class FrappeStyle(Style):
_colors = PALETTE.frappe.colors
background_color = _colors.base.hex
background_color = _colors.mantle.hex
highlight_color = _colors.surface0.hex
line_number_background_color = _colors.mantle.hex
line_number_color = _colors.text.hex
@ -184,7 +184,7 @@ class MacchiatoStyle(Style):
_colors = PALETTE.macchiato.colors
background_color = _colors.base.hex
background_color = _colors.mantle.hex
highlight_color = _colors.surface0.hex
line_number_background_color = _colors.mantle.hex
line_number_color = _colors.text.hex
@ -199,7 +199,7 @@ class MochaStyle(Style):
_colors = PALETTE.mocha.colors
background_color = _colors.base.hex
background_color = _colors.mantle.hex
highlight_color = _colors.surface0.hex
line_number_background_color = _colors.mantle.hex
line_number_color = _colors.text.hex