View source: R/theme_ecodata.R
theme_ecodata_dark | R Documentation |
A light ggplot theme for EcoData Technology
theme_ecodata_dark(
base_family = "Roboto Condensed",
title_family = "Lexend Deca SemiBold",
subtitle_family = "Lexend Deca Thin",
axis_family = "Lexend Deca Light",
base_color = "white",
primary_color = "#1b2724",
accent_color = "#6eb39c",
gridlines = F,
facet_outlines = F,
base_size = 10
)
base_family: |
the base font family |
title_family: |
font to be used for the plot title |
subtitle_family: |
font to be used for the subtitle |
axis_family: |
font to be used for the axis titles |
base_color: |
base color for text and lines |
primary_color: |
color for primary components, including background |
accent_color: |
color for accent components |
base_size: |
base font size |
gridlines: |
should gridlines be displayed? |
facet_outlines: |
should facets be outlined? |
A ggplot theme
mtcars %>% ggplot(aes(x = wt, y = mpg)) + geom_point() + theme_ecodata_dark()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.