Skip to content

fix(code): use Pygments style background for Code container#4845

Open
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4811-code-formatter-background
Open

fix(code): use Pygments style background for Code container#4845
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4811-code-formatter-background

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • Default Code background now comes from the selected Pygments formatter_style
  • Line number color follows the style when not inherit

Fixes #4811

Test plan

  • pytest tests/test_code_mobject.py -o addopts=\"\"

Made with Cursor

Fixes ManimCommunity#4811

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code class: background color should adapt to formatter_style instead of defaulting to #222

1 participant