-
Notifications
You must be signed in to change notification settings - Fork 60
Styling of Lumen navbar not as expected #1190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @PaulJWright, in bslib v0.9.0, we revamped how navbar options, like background color, can be set with a new In short, you can use the following for lumen: ui <- page_navbar(
theme = bs_theme(preset = "lumen"),
navbar_options = navbar_options(class = "bg-primary", theme = "dark"),
# ... rest of your app code ...
) |
Hi @gadenbuie, thanks for your response. The issue is seems a bit more fundamental. The default behaviour doesn't match the theme https://bootswatch.com/lumen/. I would expect consistent behaviour regardless of theme. when selecting ![]() |
Agreed. The themes that do match Bootswatch by default are happy accidents. Unfortunately, we can't offer the flexibility to create all of the navbar styles shown in the Bootswatch pages and have all of the defaults be perfect out-of-the-box. For nearly all Bootswatch themes, I'll leave this issue open so that we take another look at Lumen in the future. But I'd place higher priority on updating the theme picker UI to surface the class-based styling choices that are shown in the Bootswatch docs. |
Thanks! |
Describe the problem
The navbar styling of Lumen from bootswatch is not consistent with the expected navbar: https://bootswatch.com/lumen/. For other themes the output is as expected.
Session Info
── Packages attached to the search path.
P ── Loaded and on-disk path mismatch.
The text was updated successfully, but these errors were encountered: