fix: address review round 4 for #7
This commit is contained in:
@@ -14,7 +14,7 @@ public-sector analysis.
|
||||
\section{Themes}{
|
||||
|
||||
\itemize{
|
||||
\item [theme_civilytics()] -- editorial theme with warm paper background
|
||||
\item [theme_civilytics()] -- editorial theme with transparent background (opt-in cream)
|
||||
\item [theme_civilytics_dark()] -- navy background variant
|
||||
\item [theme_civilytics_slide()] -- transparent background, larger text
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ theme_civilytics(
|
||||
accent = unname(civilytics_colors["ember_600"]),
|
||||
strip_color = unname(civilytics_colors["paper_2"]),
|
||||
grid = c("y", "x", "both", "none"),
|
||||
paper_bg = FALSE
|
||||
paper_bg = FALSE
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
|
||||
@@ -56,10 +56,9 @@ to [civilytics_colors]`["paper_2"]` (`#F2EDE4`).}
|
||||
\item{grid}{Character. Which major gridlines to draw: `"y"` (default,
|
||||
horizontal only), `"x"` (vertical only), `"both"`, or `"none"`.}
|
||||
|
||||
\item{paper_bg}{Logical. If `TRUE` (default), fill the plot and panel
|
||||
backgrounds with the warm `paper` color. Set to `FALSE` for a
|
||||
transparent background (useful for slides or overlay on colored
|
||||
surfaces).}
|
||||
\item{paper_bg}{Logical. If `FALSE` (default), the plot and panel
|
||||
backgrounds are transparent (`fill = NA`). Set to `TRUE` to fill them
|
||||
with the warm `paper` color for a branded cream canvas.}
|
||||
}
|
||||
\value{
|
||||
A complete ggplot2 [ggplot2::theme()] object.
|
||||
|
||||
Reference in New Issue
Block a user