You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is something fishy going on with badges using the secondary colour.
context
When I create a new project using sphinx_book_theme and sphinx_design, colors of secondary badges seems (is?) wrong
expectation
I expected badges with secondary colour to have a gray background (#6c757d) as defined in sphinx-design (and how it was before I migrated from sphinx-rtd-theme.
bug
The secondary badge instead has an orange background, #ee9040. Moreover, the CSS is defined with !important, which makes it impossible to override.
Reproduce the bug
create a new project using html_theme = 'sphinx_book_theme' extensions = ['sphinx design']
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
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).
Describe the bug
I think there is something fishy going on with badges using the secondary colour.
context
When I create a new project using
sphinx_book_theme
andsphinx_design
, colors of secondary badges seems (is?) wrongexpectation
I expected badges with secondary colour to have a gray background (#6c757d) as defined in sphinx-design (and how it was before I migrated from sphinx-rtd-theme.
bug
The secondary badge instead has an orange background, #ee9040. Moreover, the CSS is defined with
!important
, which makes it impossible to override.Reproduce the bug
html_theme = 'sphinx_book_theme'
extensions = ['sphinx design']
Note that even if you check [1] and change theme to sbt, badge with secondary colour changes.
And even stranger: on one of my projects, the secondary badges have completely different colours :D
List your environment
The problem arises on debian/devuan/ubuntu using Python 3.11 and relevant packages:
Sphinx==5.3.0 (the version should matter unless it's < 7.0
sphinx-book-theme==1.0.1
sphinx_design==0.5.0
The text was updated successfully, but these errors were encountered: