rstudio / flexdashboard

Easy interactive dashboards for R
https://pkgs.rstudio.com/flexdashboard/
Other
813 stars 300 forks source link

Theme sandstone defaults to green sub-theme #263

Closed libjohn closed 3 years ago

libjohn commented 4 years ago

The sandstone theme is predominantly a grey/black/slate color palette. However, when applying the sandstone theme in flexdashboards, the color palette is derived from the sandstone-success sub-color palette -- which is a rather over-hot green/chartreuse.

I spent some time trying to override this with style sheets but failed. While I had some success with a very basic single page dashboard, my more developed dashboards (multi-page) simply did not benefit from the simple CSS alterations. Can the sandstone theme in flexdashboards be aligned with the bootswatch color palette for primary and secondary colors ranges?

If there's a way for me to help with this, I'm willing. Might need a mentor to guide me as I fix it.

cpsievert commented 3 years ago

You can now do this with the development version (you may also want to wait for #308 to be merged)

---
output: 
  flexdashboard::flex_dashboard:
    theme: 
      bootswatch: sandstone
      primary: orange
---