Skip to main content

theme_gray_base

Function theme_gray_base 

Source
pub fn theme_gray_base(base_size: f64) -> Theme
Expand description

Classic ggplot2 gray theme with custom base font size.

Matches ggplot2’s theme_grey() defaults:

  • Black text, grey30 axis text, grey20 ticks
  • Grey92 panel background with white gridlines
  • Axis lines blank (panel defined by background, not lines)
  • Grey85 strip background, grey10 strip text