Skip to contents

A ggplot2 theme inspired by the vitalBayes retro-wave aesthetic. Provides a clean, modern look suitable for scientific publications while maintaining visual consistency with the package branding.

Usage

theme_vital(base_size = 12, base_family = "serif", grid = FALSE, dark = FALSE)

Arguments

base_size

Numeric. Base font size. Default 12.

base_family

Character. Base font family. Default "".

grid

Logical. Show grid lines? Default TRUE for major only.

dark

Logical. Use dark theme variant? Default FALSE.

Value

A ggplot2 theme object.

Examples

if (FALSE) { # \dontrun{
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point(color = vital_colors(1)) +
  theme_vital()
} # }