daily_minimal_theme.Rd
Daily Minimal Theme
daily_minimal_theme( base_size = 9, background = "#EEEEEE", textColor = "#101010", base_family = "Virtuous Slab" )
base_size | base font size of ggplot theme |
---|---|
background | the background color of plot |
textColor | the text color |
base_family | the textfont family |
library(ggplot2) library(Kaashi) square = regularPolygon(6) tile <- motif(square,n = 6,theta = 45, delta = 0.3, polyLine = F, dist = 0.1) p <- ggplot(tile)+ geom_sf(fill = textColor, color = textColor)+ labs(caption = "Daily Motif \n \n NO. 1")+ daily_minimal_theme() #> Error in layer(geom = geom, stat = stat, data = data, mapping = mapping, position = position, params = params, inherit.aes = inherit.aes, check.aes = check.aes, check.param = check.param, show.legend = show.legend, layer_class = layer_class): object 'textColor' not found