你不能在主题中做到这一点(遗憾的是).
您想要更改geom的默认设置,
update_geom_defaults("bar", list(fill = "red"))
Run Code Online (Sandbox Code Playgroud)
您还可以更改默认比例,例如
scale_colour_continuous <- function(...)
scale_colour_gradient(low = "blue", high = "red", na.value="grey50", ...)
Run Code Online (Sandbox Code Playgroud)