theme_digikala: An opinionated ggplot2 theme based on Digikala's used colors...

Description Usage Arguments

View source: R/theme_digikala.R

Description

An opinionated ggplot2 theme based on Digikala's used colors and plots

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
theme_digikala(
  base_font = "WeblogmaYekan",
  base_size = 12.5,
  plot_title_font = "WeblogmaYekan",
  plot_title_size = 30,
  plot_title_face = "bold",
  plot_title_margin = 10,
  subtitle_font = base_font,
  subtitle_size = 12,
  subtitle_face = "plain",
  subtitle_margin = 15,
  strip_text_font = base_font,
  strip_text_size = 12,
  strip_text_face = "plain",
  strip_text_margin = 10,
  caption_font = base_font,
  caption_size = 9,
  caption_face = "italic",
  caption_margin = 10,
  legend_font = "WeblogmaYekan",
  legend_font_size = 10,
  legend_color = "#76787A",
  legend_title_size = 12,
  legend_position = "top",
  axis_text_size = base_size,
  axis_title_font = subtitle_font,
  axis_title_size = 12,
  axis_title_face = "plain",
  axis_title_just = "rt",
  plot_margin = margin(30, 30, 30, 30),
  grid_col = "#cccccc",
  grid = TRUE,
  axis_col = "#cccccc",
  axis = FALSE,
  ticks = FALSE
)

Arguments

ticks

mcnakhaee/delgosha documentation built on Oct. 18, 2020, 8:55 a.m.