😎 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.

117 lines
5.1KB

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