rstudio / rstudio/flexdashboard

bootswatch theme rending secondary color rather than navbar color

Open
#403 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
848
Forks
298
PR merge metrics
No merged PRs in 30d

Description

Using either Rmarkdown template "Flex Dahsboard" or "Flex Dahsboard themed with {bslib}" and the bootwatch sandstone theme renders the navbar chartuse (green ; color = #93c54b) rather than a sandstone color.

title: "Untitled"
output: 
  flexdashboard::flex_dashboard:
    theme:
      bootswatch: sandstone
    orientation: columns
    vertical_layout: fill

I'm expecting the navbar to be color = #3e3f3a

But instead it's the color of the "success" button ; color = #93c54b

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the supplied Flex Dashboard YAML with the sandstone theme, both with and without {bslib}, and compare the navbar color with the success-button color reported. Trace the theme and CSS output responsible for the navbar; the issue is complete when the navbar uses the expected sandstone color (#3e3f3a) in both templates without changing the success color.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.