😎 Give your xaringan slides some style
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

132 lines
5.6KB

  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", left_column_subtle_color = "#586e75",
  17. left_column_selected_color = "#93a1a1", blockquote_left_color = "#cb4b16",
  18. table_border_color = "#657b83", table_row_border_color = "#657b83",
  19. table_row_even_background_color = "#073642", text_size = "20px",
  20. text_size_h1 = "55px", text_size_h2 = "45px", text_size_h3 = "35px",
  21. text_size_slide_number = "20px", text_size_code = "20px",
  22. text_font_google = NULL, text_font_family = "'Droid Serif'",
  23. text_font_weight = "normal",
  24. text_font_url = "https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic",
  25. text_font_family_fallback = "'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'",
  26. text_font_base = "serif", header_font_google = NULL,
  27. header_font_family = "'Yanone Kaffeesatz'", header_font_weight = "normal",
  28. header_font_url = "https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz",
  29. code_font_google = NULL, code_font_family = "'Source Code Pro'",
  30. code_font_url = "https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700",
  31. code_font_family_fallback = "'Lucida Console', Monaco",
  32. outfile = "xaringan-themed.css")
  33. }
  34. \arguments{
  35. \item{text_color}{Text Color, defaults to #839496}
  36. \item{header_color}{Header Color, defaults to #dc322f}
  37. \item{background_color}{Slide Background Color, defaults to #002b36}
  38. \item{link_color}{Link Color, defaults to #b58900}
  39. \item{text_bold_color}{Bold Text Color, defaults to #d33682}
  40. \item{text_slide_number_color}{Slide Number Color, defaults to #586e75}
  41. \item{code_highlight_color}{Code Line Highlight, defaults to #268bd240}
  42. \item{code_inline_color}{Inline Code Color, defaults to #6c71c4}
  43. \item{code_inline_background_color}{Inline Code Background Color, defaults to NA}
  44. \item{inverse_background_color}{Inverse Background Color, defaults to #fdf6e3}
  45. \item{inverse_text_color}{Inverse Text Color, defaults to #002b36}
  46. \item{inverse_text_shadow}{Enables Shadow on text of inverse slides, defaults to \code{FALSE}}
  47. \item{inverse_header_color}{Inverse Header Color, defaults to \code{inverse_text_color}}
  48. \item{title_slide_text_color}{Title Slide Text Color, defaults to \code{inverse_text_color}}
  49. \item{title_slide_background_color}{Title Slide Background Color, defaults to \code{inverse_background_color}}
  50. \item{title_slide_background_image}{Title Slide Background Image URL, defaults to NA}
  51. \item{left_column_subtle_color}{Left Column Text (not last), defaults to #586e75}
  52. \item{left_column_selected_color}{Left Column Current Selection, defaults to #93a1a1}
  53. \item{blockquote_left_color}{Blockquote Left Border Color, defaults to #cb4b16}
  54. \item{table_border_color}{Table top/bottom border, defaults to #657b83}
  55. \item{table_row_border_color}{Table row inner bottom border, defaults to #657b83}
  56. \item{table_row_even_background_color}{Table Even Row Background Color, defaults to #073642}
  57. \item{text_size}{Slide Body Text Size, defaults to 20px}
  58. \item{text_size_h1}{h1 Header Text Size, defaults to 55px}
  59. \item{text_size_h2}{h2 Header Text Size, defaults to 45px}
  60. \item{text_size_h3}{h3 Header Text Size, defaults to 35px}
  61. \item{text_size_slide_number}{Slide Number Text Size, defaults to 20px}
  62. \item{text_size_code}{Code Text Size, defaults to 20px}
  63. \item{text_font_google}{Use \code{google_font()} to specify body font, defaults to \code{NULL}}
  64. \item{text_font_family}{Body Text Font Family, defaults to 'Droid Serif'}
  65. \item{text_font_weight}{Body Text Font Weight, defaults to normal}
  66. \item{text_font_url}{Body Text Font URL(s), defaults to https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic}
  67. \item{text_font_family_fallback}{Body Text Font Fallbacks, defaults to 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC'}
  68. \item{text_font_base}{Body Text Base Font (Total Failure Fallback), defaults to serif}
  69. \item{header_font_google}{Use \code{google_font()} to specify header font, defaults to \code{NULL}}
  70. \item{header_font_family}{Header Font Family, defaults to 'Yanone Kaffeesatz'}
  71. \item{header_font_weight}{Header Font Weight, defaults to normal}
  72. \item{header_font_url}{Header Font URL, defaults to https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz}
  73. \item{code_font_google}{Use \code{google_font()} to specify code font, defaults to \code{NULL}}
  74. \item{code_font_family}{Code Font Family, defaults to 'Source Code Pro'}
  75. \item{code_font_url}{Code Font URL, defaults to https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700}
  76. \item{code_font_family_fallback}{Code Font Fallback, defaults to 'Lucida Console', Monaco}
  77. \item{outfile}{Customized xaringan CSS output file name}
  78. }
  79. \description{
  80. A dark theme based around on the solarized color scheme.
  81. Works well with "\code{highlightStyle: solarized-dark}" or
  82. "\code{highlighStyle: solarized-light}".
  83. }
  84. \references{
  85. \url{http://ethanschoonover.com/solarized}
  86. }
  87. \seealso{
  88. Other Solarized themes: \code{\link{solarized_light}}
  89. }