Open thechief389 opened 5 years ago
Some boots watch themes like solar have different navbar colors. The one I want to use is "navbar navbar-expand-lg navbar-dark bg-primary". (bg-primary makes it yellow.)
When you convert the files to html, it adds "navbar-default" to the \
I've just spotted the same issue and this is quite frustrating as it's essentially removing the customisation functionality from Bootswatch themes.
Seems it would be just a matter of removing navbar-default from here
navbar-default
I'd take a PR that is verifiable from the demo app that changes:
https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/sphinx_bootstrap_theme/bootstrap/navbar.html#L1 (probably remove navbar-default) and
https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/sphinx_bootstrap_theme/bootstrap/theme.conf#L45-L47 default conf options (probably convert from navbar to navbar navbar-default)
navbar
navbar navbar-default
to something that effectively does:
theme_navbar_class
See https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/README.rst#contributing for how I'll test it. Feel free to give temporary options in https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/demo/source/conf.py#L90-L155 with comments for me to test out if you'd like as that will enable me to verify things faster! Thanks!
Some boots watch themes like solar have different navbar colors. The one I want to use is "navbar navbar-expand-lg navbar-dark bg-primary". (bg-primary makes it yellow.)
When you convert the files to html, it adds "navbar-default" to the \
I've just spotted the same issue and this is quite frustrating as it's essentially removing the customisation functionality from Bootswatch themes.
Seems it would be just a matter of removing
navbar-default
from hereI'd take a PR that is verifiable from the demo app that changes:
https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/sphinx_bootstrap_theme/bootstrap/navbar.html#L1 (probably remove
navbar-default
) andhttps://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/sphinx_bootstrap_theme/bootstrap/theme.conf#L45-L47 default conf options (probably convert from
navbar
tonavbar navbar-default
)to something that effectively does:
theme_navbar_class
is set, use that straight uptheme_navbar_class
is unset, default it's value tonavbar-default
See https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/README.rst#contributing for how I'll test it. Feel free to give temporary options in https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/demo/source/conf.py#L90-L155 with comments for me to test out if you'd like as that will enable me to verify things faster! Thanks!