Skip to content

[ally] notebook: fix background color for code

Administrator requested to merge jp/notebookmarkdowncodebg into main

Created by: limitedmage

Closes #35164 (closed)

The background color for code/pre in notebooks was leading to insufficient contrast for some content, such as links. Removing the specific color for notebooks (and leaving the default --code-bg) fixes the color contrast errors.

Before After
Light mode image image
Dark mode image image

Test plan

Verify ARC Toolkit no longer reports errors related to color contrast when having code with links inside in markdown blocks

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading