ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
22 stars 5 forks source link

member function name is too dark with dark theme when put in a code block #252

Closed Gryfenfer97 closed 2 weeks ago

Gryfenfer97 commented 1 year ago

🔍 Before submitting the issue

🐞 Description of the bug

In a code block the name of the function is barely visible when I use the dark mode: image image

📝 Steps to reproduce

put this code in a rst file and generate the documentation:

.. code:: python

    def _setup_tab_postprocessing(self) -> None:
        container_layout = QtWidgets.QVBoxLayout()
        self._tab_postprocessing.setLayout(container_layout)
        self._postprocessing_plotter = QtInteractor(theme=MapdlTheme())
        container_layout.addWidget(self._postprocessing_plotter)
        self._deflection_label = QLabel("Deflection: ")
        container_layout.addWidget(self._deflection_label)

💻 Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.11

Gryfenfer97 commented 1 year ago

@Revathyvenugopal162

Revathyvenugopal162 commented 2 weeks ago

Thank you for opening the issue, closing the issue as fixed with v1.0.5 #454