Description Usage Arguments Value
Add this to your ggplots for a light-on-dark theme, suitable for matching to light-on-dark slides. Or use the chunk option dark_theme=T
.
1 2 3 4 5 6 | dark_plot_theme(
base_size = 9,
base_family = "",
dark = "gray10",
light = "white"
)
|
base_size |
general text-size parameter in points (??) |
base_family |
font family; to be overriden in TikZ graphics |
dark |
main background color (should probably match slide background).
Some intermediate colors will be interpolated between this and |
light |
main foreground color (should probably match slide text) |
a theme
object that can be added to a plot.
Override settings by adding (or %replace+
ing) another
theme()
call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.