executablebooks / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx
https://sphinx-book-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
409 stars 196 forks source link

Change the colors in dark as the same as pydata_sphinx_theme ? #824

Closed berlin2123 closed 3 months ago

berlin2123 commented 4 months ago

Context

the colors in dark are a bit contrasty now, and don't look as comfortable as pydata_sphinx_theme. such as too dark of the background

I want to change the colors by custom.css, however, do not know the key words.

Any way to list those key words? or other solution?

Proposal

No response

Tasks and updates

No response

welcome[bot] commented 4 months ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

berlin2123 commented 3 months ago

one can edit colors by custem.css. such as:

html[data-theme=dark] {
        --pst-color-background: #14181e;
        --pst-color-primary: #3fb1c5;
}

How to see more key word of css file? open one page in brower: F12 >> elements >> styles