dark_theme: Dark theme for ggplot2

Description Usage Arguments Value Examples

Description

Implement a dark ggplot2 theme

Usage

1
2
dark_theme(base_font = "Fira Sans Condensed",
  title_font = "Fira Sans Condensed Medium", base_size = 12)

Arguments

base_font

a string indicating which font to use (default is Fira Sans Condensed)

title_font

a string indicating which font to use (default is Fira Sans Condensed Medium)

base_size

a numerica value indicating the base font size of the plot

Value

a predefined ggplot2 theme based on dark_theme_minimal() from ggdark

Examples

1
2
3
ggplot(sample_data) +
  geom_bar(aes(x = var5)) +
  dark_theme()

bruno-pinheiro/seda documentation built on May 23, 2019, 1:59 a.m.