Use light theme for codeblocks
What does this MR do and why?
This revives an old MR to revisit the idea of using a lighter style of codeblock. Previous MR used solarized light, this one is using the the default style from Pygments: https://pygments.org/styles/, which is claimed to meet WCAG 2.1 AA contrast minimum standard (for accessibility).
I think the choice of colors needs to be tweaked for optimal effect, but I think the defaults go a long way towards showing how it could be much easier on the eyes to have codeblocks that are not full black on a white background.
This would also bring it in line with the current coloring we have for inline code, like: inline code
.
Screenshots, screen recordings, or links to review app
Some comparisons. Open the old and new versions in separate tabs, then you can switch back and forth between the tabs to see the difference clearly.
Runner page:
- Old: https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-session_server-section
- New: https://use-light-codeblock-theme.docs.gitlab-review.app/runner/configuration/advanced-configuration.html#the-session_server-section
API page:
- Old: https://docs.gitlab.com/ee/api/jobs.html#retry-a-job
- New: https://use-light-codeblock-theme.docs.gitlab-review.app/ee/api/jobs.html#retry-a-job
Omnibus page:
- Old: https://docs.gitlab.com/omnibus/settings/redis.html#using-an-alternate-local-redis-instance
- New: https://use-light-codeblock-theme.docs.gitlab-review.app/omnibus/settings/redis.html#using-an-alternate-local-redis-instance
Ruby and Go codeblocks:
- Old: https://docs.gitlab.com/ee/development/secure_coding_guidelines.html#insecure-archive-extraction-examples
- New: https://use-light-codeblock-theme.docs.gitlab-review.app/ee/development/secure_coding_guidelines.html#insecure-archive-extraction-examples