Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.