Reputation: 61
Is it possible to change the font color of a flexdashboard valuebox? The default color is white. But I don't know how to change the color to black.
### Population
```{r}
Withtext <- dollar_format(prefix = "",suffix="",big.mark = ".", decimal.mark = ".")
valueBox(Withtext(5112050), icon = "fa-user-alt",col="#D3D3D3")
Upvotes: 0
Views: 861
Reputation: 71
You can add a CSS code chunk to the dashboard and style a valuebox.
```{css}
.value-output {
color: red;
}
.caption {
color: yellow;
}
```
Upvotes: 1