|
|
|
In addition to FontAwesome icons supported by flexdashboard's `valueBox`, we have several custom ones for use in the stats dashboard.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
They are inserted as SVG background by CSS rules, but the classes are kept in line with FA ones.
|
|
|
|
|
|
|
|
To use them, just replace the FA icon name with a custom one:
|
|
|
|
|
|
|
|
```diff
|
|
|
|
…
|
|
|
|
color = dashboard_colors[1],
|
|
|
|
- icon = "fas fa-user-lock"
|
|
|
|
+ icon = "fas fa-mojeid"
|
|
|
|
…
|
|
|
|
```
|
|
|
|
|
|
|
|
| icon | code |
|
|
|
|
| ---- | ---- |
|
|
|
|
|  | `icon = "fas fa-mojeid"` |
|
|
|
|
|  | `icon = "fas fa-nia"`| |
|
|
\ No newline at end of file |