😎 Give your xaringan slides some style
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 satır
6.5KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/solarized_dark.R
  3. \name{solarized_dark}
  4. \alias{solarized_dark}
  5. \title{Solarized Dark Theme}
  6. \usage{
  7. solarized_dark(text_color = "#839496", header_color = "#dc322f",
  8. background_color = "#002b36", link_color = "#b58900",
  9. text_bold_color = "#d33682", text_slide_number_color = "#586e75",
  10. code_highlight_color = "#268bd240", code_inline_color = "#6c71c4",
  11. code_inline_background_color = NA, inverse_background_color = "#fdf6e3",
  12. inverse_text_color = "#002b36", inverse_text_shadow = FALSE,
  13. inverse_header_color = inverse_text_color,
  14. title_slide_text_color = inverse_text_color,
  15. title_slide_background_color = inverse_background_color,
  16. title_slide_background_image = NA, title_slide_background_size = NA,
  17. title_slide_background_position = NA,
  18. left_column_subtle_color = "#586e75",
  19. left_column_selected_color = "#93a1a1", blockquote_left_color = "#cb4b16",
  20. table_border_color = "#657b83", table_row_border_color = "#657b83",
  21. table_row_even_background_color = "#073642", text_font_size = "20px",
  22. header_h1_font_size = "55px", header_h2_font_size = "45px",
  23. header_h3_font_size = "35px", text_slide_number_font_size = "0.9em",
  24. code_inline_font_size = "1em", code_font_size = "0.9em",
  25. text_font_google = NULL, text_font_family = "'Droid Serif'",
  26. text_font_weight = "normal",
  27. text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic",
  28. text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
  29. text_font_base = "serif", header_font_google = NULL,
  30. header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal",
  31. header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
  32. code_font_google = NULL, code_font_family = "'Source Code Pro'",
  33. code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
  34. code_font_family_fallback = "'Lucida Console', Monaco", extra_css = NULL,
  35. extra_fonts = NULL, outfile = "xaringan-themer.css")
  36. }
  37. \arguments{
  38. \item{text_color}{Text Color, defaults to #839496}
  39. \item{header_color}{Header Color, defaults to #dc322f}
  40. \item{background_color}{Slide Background Color, defaults to #002b36}
  41. \item{link_color}{Link Color, defaults to #b58900}
  42. \item{text_bold_color}{Bold Text Color, defaults to #d33682}
  43. \item{text_slide_number_color}{Slide Number Color, defaults to #586e75}
  44. \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240}
  45. \item{code_inline_color}{Inline Code Color, defaults to #6c71c4}
  46. \item{code_inline_background_color}{Inline Code Background Color, defaults to NA}
  47. \item{inverse_background_color}{Inverse Background Color, defaults to #fdf6e3}
  48. \item{inverse_text_color}{Inverse Text Color, defaults to #002b36}
  49. \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}}
  50. \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}}
  51. \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}}
  52. \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}}
  53. \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA}
  54. \item{title_slide_background_size}{Title Slide Background Image Size, defaults to "cover" if background image is set, defaults to NA}
  55. \item{title_slide_background_position}{Title Slide Background Image Position, defaults to NA}
  56. \item{left_column_subtle_color}{Left Column Text (not last), defaults to #586e75}
  57. \item{left_column_selected_color}{Left Column Current Selection, defaults to #93a1a1}
  58. \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16}
  59. \item{table_border_color}{Table top/bottom border, defaults to #657b83}
  60. \item{table_row_border_color}{Table row inner bottom border, defaults to #657b83}
  61. \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #073642}
  62. \item{text_font_size}{Slide Body Text Font Size, defaults to 20px}
  63. \item{header_h1_font_size}{h1 Header Text Font Size, defaults to 55px}
  64. \item{header_h2_font_size}{h2 Header Text Font Size, defaults to 45px}
  65. \item{header_h3_font_size}{h3 Header Text Font Size, defaults to 35px}
  66. \item{text_slide_number_font_size}{Slide Number Text Font Size, defaults to 0.9em}
  67. \item{code_inline_font_size}{Inline Code Text Font Size, defaults to 1em}
  68. \item{code_font_size}{Code Text Font Size, defaults to 0.9em}
  69. \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}}
  70. \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'}
  71. \item{text_font_weight}{Body Text Font Weight, defaults to normal}
  72. \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic}
  73. \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'}
  74. \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif}
  75. \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}}
  76. \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'}
  77. \item{header_font_weight}{Header Font Weight, defaults to normal}
  78. \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz}
  79. \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}}
  80. \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'}
  81. \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700}
  82. \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco}
  83. \item{extra_css}{A named list of CSS definitions each containing a named list
  84. of CSS property-value pairs, i.e.
  85. \code{list(".class-id" = list("css-property" = "value"))}}
  86. \item{extra_fonts}{A list of additional fonts to import, each list element
  87. can be either a URL as a character string or a call to
  88. \code{\link{google_fonts}()}}
  89. \item{outfile}{Customized xaringan CSS output file name, default is "xaringan-themer.css"}
  90. }
  91. \description{
  92. A dark theme based around on the solarized color scheme.
  93. Works well with "\code{highlightStyle: solarized-dark}" or
  94. "\code{highlighStyle: solarized-light}".
  95. }
  96. \references{
  97. \url{http://ethanschoonover.com/solarized}
  98. }
  99. \seealso{
  100. Other Solarized themes: \code{\link{solarized_light}}
  101. }