Skip to content

Instantly share code, notes, and snippets.

@dgkeyes
Created September 14, 2018 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgkeyes/543fdeba06c1cfd39b7bb954bc329dfa to your computer and use it in GitHub Desktop.
Save dgkeyes/543fdeba06c1cfd39b7bb954bc329dfa to your computer and use it in GitHub Desktop.
Facets example colors and themes
# Colors ------------------------------------------------------------------
tfff_dark_green <- "#265142"
tfff_light_green <- "#B5CC8E"
tfff_orange <- "#e65100"
tfff_yellow <- "#FBC02D"
tfff_blue <- "#283593"
tfff_red <- "#B71C1C"
tfff_brown <- "#51261C"
tfff_dark_gray <- "#545454"
tfff_medium_gray <- "#a8a8a8"
tfff_light_gray <- "#eeeeee"
# Themes ------------------------------------------------------------------
tfff_theme <- theme_ipsum(base_family = "Calibri",
base_size = 10) +
theme(legend.position = "none",
axis.title = element_blank(),
panel.grid.minor.x = element_blank(),
panel.grid.minor.y = element_blank())
tfff_fill_colors <- scale_fill_manual(values = rev(c(tfff_dark_green,
tfff_light_green,
tfff_yellow,
tfff_orange,
tfff_brown,
tfff_blue,
tfff_red)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment