-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Describe the bug
Currently within readthedocs documentation there is no highlight colour for commands which are inline in a paragraph/sentence in dark mode.
In light mode, highlight colour for inline commands is present.

In dark mode, there isn't any highlighting present.

To Reproduce
Steps to reproduce the behavior:
- Go to https://canonical-charmcraft.readthedocs-hosted.com/en/latest/tutorial/write-your-first-kubernetes-charm-for-a-django-app/#write-your-first-kubernetes-charm-for-a-django-app
- Change to dark mode
- refer to light mode version to spot highlighted inline commands
- See that in dark mode those same inline commands are not highlighted
Expected behavior
When switching to dark mode, the same inline commands that are highlighted in light mode should be highlighted in dark mode as well.
CSS command for dark mode: color-inline-code-background: rgba(255, 255, 255, .03);
Screenshots
A global CSS command is present to set the colour of the inline command highlight to rgba(0, 0, 0, .03)

Within the dark mode class, there isn't a CSS command, therefore, it uses the global CSS command which is a tinted black in dark mode.

Desktop (please complete the following information):
- OS: Ubuntu 24.04
- Browser Firefox
- Version Latest/stable 134.0.2-1