Created
September 14, 2018 18:35
-
-
Save dgkeyes/543fdeba06c1cfd39b7bb954bc329dfa to your computer and use it in GitHub Desktop.
Facets example colors and themes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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