theme_ecodata: A light ggplot theme for EcoData Technology

View source: R/theme_ecodata.R

theme_ecodataR Documentation

A light ggplot theme for EcoData Technology

Description

A light ggplot theme for EcoData Technology

Usage

theme_ecodata(
  base_family = "RobotoCondensed",
  title_family = "LexendDecaSemiBold",
  subtitle_family = "LexendDecaThin",
  axis_family = "LexendDecaLight",
  base_color = "gray10",
  primary_color = "#1b2724",
  accent_color = "#6eb39c",
  base_size = 10,
  gridlines = F,
  facet_outlines = F
)

Arguments

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

accent_color:

color for accent components

base_size:

base font size

gridlines:

should gridlines be displayed?

facet_outlines:

should facets be outlined?

Value

A ggplot theme

Examples

mtcars %>% ggplot(aes(x = wt, y = mpg)) + geom_point() + theme_ecodata()

ecodata-technology/ecodatamisc documentation built on Feb. 13, 2024, 11:54 a.m.