Skip to content

Commit

Permalink
fix config var names in docs (#1878)
Browse files Browse the repository at this point in the history
a couple bits that were missed in #1614
  • Loading branch information
drammock authored Jun 13, 2024
1 parent 80d4f30 commit 207f835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user_guide/styling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ For a complete list of the theme colors that you may override, see the :download
Configure pygments theme
========================

As the Sphinx theme supports multiple modes, the code highlighting colors can be modified for each one of them by modifying the ``pygment_light_style`` and ``pygment_dark_style``.
As the Sphinx theme supports multiple modes, the code highlighting colors can be modified for each one of them by modifying the ``pygments_light_style`` and ``pygments_dark_style``.
You can check available Pygments colors on this `pygments demo page <https://pygments.org/styles/>`__.

.. code-block:: python
html_theme_options = {
...
"pygment_light_style": "tango",
"pygment_dark_style": "monokai"
"pygments_light_style": "tango",
"pygments_dark_style": "monokai"
}
Note that the PyData Sphinx theme uses the `accessible pygments styles <https://github.com/Quansight-Labs/accessible-pygments>`__ for its default syntax highlighting themes.
Expand Down

0 comments on commit 207f835

Please sign in to comment.