clear, minimal, pastel.
spacing: 数值型,越大距离越远;
type: 默认"outer", "inner" 则主题仅控制坐标内部;
此外还有控制颜色的函数:
darken_swatch...() / lighten_swatch(): darker/lighter swatch colours.
darken_gradient() / lighten_gradient(): darker/...比如让颜色更浅一些,但前提是你需要配置ggthemr 的配色方案:
ggthemr('solarized', layout = "minimal",
spacing = 1.5)
lighten_swatch...set.seed(12345)
random_colours <- sample(colors()[-c(1, 253, 361)], 10L)
ugly <- define_palette(
swatch...elements of a palette using define_palette() including colours for the background, text, axes lines, swatch