From c7e72f8aaa763a776aaf672b609770d3d4e422ea Mon Sep 17 00:00:00 2001 From: uncenter Date: Sun, 3 Aug 2025 16:02:39 -0400 Subject: [PATCH] fix(pygments): mantle for code block backgrounds (#112) --- catppuccin/extras/pygments.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/catppuccin/extras/pygments.py b/catppuccin/extras/pygments.py index e5c508f..da88d6a 100644 --- a/catppuccin/extras/pygments.py +++ b/catppuccin/extras/pygments.py @@ -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