Skip to content

Instantly share code, notes, and snippets.

@alstat
Created February 24, 2015 16:14
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 alstat/5af5422879f07f6148c6 to your computer and use it in GitHub Desktop.
Save alstat/5af5422879f07f6148c6 to your computer and use it in GitHub Desktop.
# Configure Theme
kobe_theme <- function() {
theme(
plot.background = element_rect(fill = "#E2E2E3", colour = "#E2E2E3"),
panel.background = element_rect(fill = "#E2E2E3"),
panel.background = element_rect(fill = "white"),
axis.text = element_text(colour = "#E7A922", family = "Impact"),
plot.title = element_text(colour = "#552683", face = "bold", size = 18, vjust = 1, family = "Impact"),
axis.title = element_text(colour = "#552683", face = "bold", size = 13, family = "Impact"),
panel.grid.major.x = element_line(colour = "#E7A922"),
panel.grid.minor.x = element_blank(),
panel.grid.major.y = element_blank(),
panel.grid.minor.y = element_blank(),
strip.text = element_text(family = "Impact", colour = "white"),
strip.background = element_rect(fill = "#E7A922"),
axis.ticks = element_line(colour = "#E7A922")
)
}
@KilianB
Copy link

KilianB commented Aug 8, 2018

Remove line panel.background = element_rect(fill = "white"),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment