|
- <!-- Generated by pkgdown: do not edit by hand -->
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <title>Monotone Accent Theme — style_mono_accent • xaringanthemer</title>
-
- <!-- favicons -->
- <link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
- <link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
- <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png" />
- <link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png" />
- <link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png" />
- <link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png" />
-
- <!-- jquery -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
- <!-- Bootstrap -->
-
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous" />
-
- <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script>
-
- <!-- bootstrap-toc -->
- <link rel="stylesheet" href="../bootstrap-toc.css">
- <script src="../bootstrap-toc.js"></script>
-
- <!-- Font Awesome icons -->
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous" />
-
- <!-- clipboard.js -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script>
-
- <!-- headroom.js -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script>
-
- <!-- pkgdown -->
- <link href="../pkgdown.css" rel="stylesheet">
- <script src="../pkgdown.js"></script>
-
-
-
- <link href="../extra.css" rel="stylesheet">
-
-
- <meta property="og:title" content="Monotone Accent Theme — style_mono_accent" />
- <meta property="og:description" content="The default xaringan theme with a single color used for color
- accents on select elements (headers, bold text, etc.)." />
- <meta property="og:image" content="https://pkg.garrickadenbuie.com/xaringanthemer/logo.png" />
- <meta name="twitter:card" content="summary" />
- <meta name="twitter:creator" content="@grrrck" />
- <meta name="twitter:site" content="@grrrck" />
-
-
-
-
- <!-- mathjax -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
-
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
-
-
-
- </head>
-
- <body data-spy="scroll" data-target="#toc">
- <div class="container template-reference-topic">
- <header>
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <span class="navbar-brand">
- <a class="navbar-link" href="../index.html">xaringanthemer</a>
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.3.0.9000</span>
- </span>
- </div>
-
- <div id="navbar" class="navbar-collapse collapse">
- <ul class="nav navbar-nav">
- <li>
- <a href="../articles/xaringanthemer.html">Features</a>
- </li>
- <li>
- <a href="../reference/index.html">Reference</a>
- </li>
- <li>
- <a href="../articles/themes.html">Themes</a>
- </li>
- <li>
- <a href="../articles/ggplot2-themes.html">ggplot2 Themes</a>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- More
-
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu" role="menu">
- <li>
- <a href="../articles/fonts.html">Fonts</a>
- </li>
- <li>
- <a href="../articles/template-variables.html">Template Variables</a>
- </li>
- </ul>
- </li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- <span class="fa fa fa fa-newspaper-o fa-lg"></span>
-
-
-
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu" role="menu">
- <li>
- <a href="https://garrickadenbuie.com/blog/xaringanthemer-v0-3-0/">xaringan 0.3.0</a>
- </li>
- <li class="divider"></li>
- <li>
- <a href="../news/index.html">Changelog</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="https://github.com/gadenbuie/xaringanthemer">
- <span class="fa fa-github fa-lg"></span>
-
- </a>
- </li>
- <li>
- <a href="https://twitter.com/grrrck">
- <span class="fa fa-twitter fa-lg"></span>
-
- </a>
- </li>
- <li>
- <a href="https://www.garrickadenbuie.com">
- <span class="fa fa-home fa-lg"></span>
-
- </a>
- </li>
- </ul>
-
- </div><!--/.nav-collapse -->
- </div><!--/.container -->
- </div><!--/.navbar -->
-
-
-
- </header>
-
- <div class="row">
- <div class="col-md-9 contents">
- <div class="page-header">
- <h1>Monotone Accent Theme</h1>
- <small class="dont-index">Source: <a href='https://github.com/gadenbuie/xaringanthemer/blob/master/R/style_mono_accent.R'><code>R/style_mono_accent.R</code></a></small>
- <div class="hidden name"><code>style_mono_accent.Rd</code></div>
- </div>
-
- <div class="ref-description">
- <p>The default xaringan theme with a single color used for color
- accents on select elements (headers, bold text, etc.).</p>
- </div>
-
- <pre class="usage"><span class='fu'>style_mono_accent</span><span class='op'>(</span>
- base_color <span class='op'>=</span> <span class='st'>"#43418A"</span>,
- white_color <span class='op'>=</span> <span class='st'>"#FFFFFF"</span>,
- black_color <span class='op'>=</span> <span class='st'>"#272822"</span>,
- text_color <span class='op'>=</span> <span class='va'>black_color</span>,
- header_color <span class='op'>=</span> <span class='va'>base_color</span>,
- background_color <span class='op'>=</span> <span class='va'>white_color</span>,
- link_color <span class='op'>=</span> <span class='va'>base_color</span>,
- text_bold_color <span class='op'>=</span> <span class='va'>base_color</span>,
- text_slide_number_color <span class='op'>=</span> <span class='va'>base_color</span>,
- padding <span class='op'>=</span> <span class='st'>"16px 64px 16px 64px"</span>,
- background_image <span class='op'>=</span> <span class='cn'>NULL</span>,
- background_size <span class='op'>=</span> <span class='cn'>NULL</span>,
- background_position <span class='op'>=</span> <span class='cn'>NULL</span>,
- code_highlight_color <span class='op'>=</span> <span class='st'>"rgba(255,255,0,0.5)"</span>,
- code_inline_color <span class='op'>=</span> <span class='va'>base_color</span>,
- code_inline_background_color <span class='op'>=</span> <span class='cn'>NULL</span>,
- code_inline_font_size <span class='op'>=</span> <span class='st'>"1em"</span>,
- inverse_background_color <span class='op'>=</span> <span class='va'>base_color</span>,
- inverse_text_color <span class='op'>=</span> <span class='va'>white_color</span>,
- inverse_text_shadow <span class='op'>=</span> <span class='cn'>FALSE</span>,
- inverse_header_color <span class='op'>=</span> <span class='va'>white_color</span>,
- title_slide_text_color <span class='op'>=</span> <span class='va'>inverse_text_color</span>,
- title_slide_background_color <span class='op'>=</span> <span class='va'>inverse_background_color</span>,
- title_slide_background_image <span class='op'>=</span> <span class='cn'>NULL</span>,
- title_slide_background_size <span class='op'>=</span> <span class='cn'>NULL</span>,
- title_slide_background_position <span class='op'>=</span> <span class='cn'>NULL</span>,
- footnote_color <span class='op'>=</span> <span class='cn'>NULL</span>,
- footnote_font_size <span class='op'>=</span> <span class='st'>"0.9em"</span>,
- footnote_position_bottom <span class='op'>=</span> <span class='st'>"60px"</span>,
- left_column_subtle_color <span class='op'>=</span> <span class='fu'><a href='apply_alpha.html'>apply_alpha</a></span><span class='op'>(</span><span class='va'>base_color</span>, <span class='fl'>0.6</span><span class='op'>)</span>,
- left_column_selected_color <span class='op'>=</span> <span class='va'>base_color</span>,
- blockquote_left_border_color <span class='op'>=</span> <span class='fu'><a href='apply_alpha.html'>apply_alpha</a></span><span class='op'>(</span><span class='va'>base_color</span>, <span class='fl'>0.5</span><span class='op'>)</span>,
- table_border_color <span class='op'>=</span> <span class='st'>"#666"</span>,
- table_row_border_color <span class='op'>=</span> <span class='st'>"#ddd"</span>,
- table_row_even_background_color <span class='op'>=</span> <span class='fu'><a href='lighten_darken_color.html'>lighten_color</a></span><span class='op'>(</span><span class='va'>base_color</span>, <span class='fl'>0.8</span><span class='op'>)</span>,
- base_font_size <span class='op'>=</span> <span class='st'>"20px"</span>,
- text_font_size <span class='op'>=</span> <span class='st'>"1rem"</span>,
- header_h1_font_size <span class='op'>=</span> <span class='st'>"2.75rem"</span>,
- header_h2_font_size <span class='op'>=</span> <span class='st'>"2.25rem"</span>,
- header_h3_font_size <span class='op'>=</span> <span class='st'>"1.75rem"</span>,
- header_background_auto <span class='op'>=</span> <span class='cn'>FALSE</span>,
- header_background_color <span class='op'>=</span> <span class='va'>header_color</span>,
- header_background_text_color <span class='op'>=</span> <span class='va'>background_color</span>,
- header_background_padding <span class='op'>=</span> <span class='cn'>NULL</span>,
- header_background_content_padding_top <span class='op'>=</span> <span class='st'>"7rem"</span>,
- header_background_ignore_classes <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='st'>"normal"</span>, <span class='st'>"inverse"</span>, <span class='st'>"title"</span>, <span class='st'>"middle"</span>,
- <span class='st'>"bottom"</span><span class='op'>)</span>,
- text_slide_number_font_size <span class='op'>=</span> <span class='st'>"0.9em"</span>,
- text_font_google <span class='op'>=</span> <span class='cn'>NULL</span>,
- text_font_family <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"text_font_family"</span><span class='op'>)</span>,
- text_font_weight <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"text_font_weight"</span><span class='op'>)</span>,
- text_font_url <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"text_font_url"</span><span class='op'>)</span>,
- text_font_family_fallback <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"text_font_family_fallback"</span><span class='op'>)</span>,
- text_font_base <span class='op'>=</span> <span class='st'>"sans-serif"</span>,
- header_font_google <span class='op'>=</span> <span class='cn'>NULL</span>,
- header_font_family <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"header_font_family"</span><span class='op'>)</span>,
- header_font_weight <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"header_font_weight"</span><span class='op'>)</span>,
- header_font_url <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"header_font_url"</span><span class='op'>)</span>,
- code_font_google <span class='op'>=</span> <span class='cn'>NULL</span>,
- code_font_family <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"code_font_family"</span><span class='op'>)</span>,
- code_font_size <span class='op'>=</span> <span class='st'>"0.9rem"</span>,
- code_font_url <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"code_font_url"</span><span class='op'>)</span>,
- code_font_family_fallback <span class='op'>=</span> <span class='fu'><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a></span><span class='op'>(</span><span class='st'>"code_font_family_fallback"</span><span class='op'>)</span>,
- colors <span class='op'>=</span> <span class='cn'>NULL</span>,
- extra_css <span class='op'>=</span> <span class='cn'>NULL</span>,
- extra_fonts <span class='op'>=</span> <span class='cn'>NULL</span>,
- outfile <span class='op'>=</span> <span class='st'>"xaringan-themer.css"</span>
- <span class='op'>)</span></pre>
-
- <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
- <table class="ref-arguments">
- <colgroup><col class="name" /><col class="desc" /></colgroup>
- <tr>
- <th>base_color</th>
- <td><p>Monotone Base Color, works best with a strong color.
- Defaults to #43418A. Used in multiple CSS rules. The value of this
- variable is also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--base)</a></code> in any argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>white_color</th>
- <td><p>Brightest color used. Defaults to #FFFFFF. Used in
- multiple CSS rules. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--white)</a></code> in any argument of a
- style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>black_color</th>
- <td><p>Darkest color used. Defaults to #272822. Used in multiple
- CSS rules. The value of this variable is also stored as a CSS variable
- that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--black)</a></code> in any argument of a style
- function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>text_color</th>
- <td><p>Text Color. Defaults to <code>black_color</code>. Modifies the <code>body</code>
- element. The value of this variable is also stored as a CSS variable that
- can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text_color)</a></code> in any argument of a style
- function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_color</th>
- <td><p>Header Color. Defaults to <code>base_color</code>. Modifies the
- <code>h1, h2, h3</code> elements. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-color)</a></code> in any argument
- of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>background_color</th>
- <td><p>Slide Background Color. Defaults to <code>white_color</code>.
- Modifies the <code>.remark-slide-content</code> class. The value of this variable is
- also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--background-color)</a></code> in any argument of a style function or in custom
- CSS.</p></td>
- </tr>
- <tr>
- <th>link_color</th>
- <td><p>Link Color. Defaults to <code>base_color</code>. Modifies the
- <code>a, a > code</code> elements. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--link-color)</a></code> in any argument
- of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>text_bold_color</th>
- <td><p>Bold Text Color. Defaults to <code>base_color</code>. Modifies
- the <code>strong</code> element. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text-bold-color)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>text_slide_number_color</th>
- <td><p>Slide Number Color. Defaults to <code>base_color</code>.
- Modifies the <code>.remark-slide-number</code> class.</p></td>
- </tr>
- <tr>
- <th>padding</th>
- <td><p>Slide Padding in <code>top right [bottom left]</code> format. Defaults
- to 16px 64px 16px 64px. Modifies the <code>.remark-slide-content</code> class.
- Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/padding'>padding</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>background_image</th>
- <td><p>Background image applied to each <em>and every</em> slide.
- Set <code>title_slide_background_image = "none"</code> to remove the background image
- from the title slide. Defaults to <code>NULL</code>. Modifies the
- <code>.remark-slide-content</code> class.</p></td>
- </tr>
- <tr>
- <th>background_size</th>
- <td><p>Background image size, requires <code>background_image</code> to
- be set. If <code>background_image</code> is set, <code>background_size</code> will default to
- <code>cover</code> so the background fills the screen. If both <code>background_image</code> and
- <code>background_position</code> are set, will default to 100 percent. Defaults to
- <code>NULL</code>. Modifies the <code>.remark-slide-content</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/background-size'>background-size</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>background_position</th>
- <td><p>Background image position, requires
- <code>background_image</code> to be set, and it is recommended to adjust
- <code>background_size</code>. Defaults to <code>NULL</code>. Modifies the
- <code>.remark-slide-content</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/background-position'>background-position</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>code_highlight_color</th>
- <td><p>Code Line Highlight. Defaults to
- rgba(255,255,0,0.5). Modifies the <code>.remark-code-line-highlighted</code> class.
- The value of this variable is also stored as a CSS variable that can be
- referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--code-highlight-color)</a></code> in any argument of a style
- function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>code_inline_color</th>
- <td><p>Inline Code Color. Defaults to <code>base_color</code>.
- Modifies the <code>.remark-inline-code</code> class.</p></td>
- </tr>
- <tr>
- <th>code_inline_background_color</th>
- <td><p>Inline Code Background Color. Defaults
- to <code>NULL</code>. Modifies the <code>.remark-inline-code</code> class.</p></td>
- </tr>
- <tr>
- <th>code_inline_font_size</th>
- <td><p>Inline Code Text Font Size. Defaults to 1em.
- Modifies the <code>.remark-inline-code</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--code-inline-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>inverse_background_color</th>
- <td><p>Inverse Background Color. Defaults to
- <code>base_color</code>. Modifies the <code>.inverse</code> class. The value of this variable is
- also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--inverse-background-color)</a></code> in any argument of a style function or
- in custom CSS.</p></td>
- </tr>
- <tr>
- <th>inverse_text_color</th>
- <td><p>Inverse Text Color. Defaults to <code>white_color</code>.
- Modifies the <code>.inverse</code> class. The value of this variable is also stored
- as a CSS variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--inverse-text-color)</a></code>
- in any argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>inverse_text_shadow</th>
- <td><p>Enables Shadow on text of inverse slides.
- Defaults to <code>FALSE</code>. Modifies the <code>.inverse</code> class.</p></td>
- </tr>
- <tr>
- <th>inverse_header_color</th>
- <td><p>Inverse Header Color. Defaults to <code>white_color</code>.
- Modifies the <code>.inverse h1, .inverse h2, .inverse h3</code> classes. The value of
- this variable is also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--inverse-header-color)</a></code> in any argument of a style function or in
- custom CSS.</p></td>
- </tr>
- <tr>
- <th>title_slide_text_color</th>
- <td><p>Title Slide Text Color. Defaults to
- <code>inverse_text_color</code>. Modifies the <code>.title-slide</code> class. The value of this
- variable is also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--title-slide-text-color)</a></code> in any argument of a style function or in
- custom CSS.</p></td>
- </tr>
- <tr>
- <th>title_slide_background_color</th>
- <td><p>Title Slide Background Color. Defaults
- to <code>inverse_background_color</code>. Modifies the <code>.title-slide</code> class. The
- value of this variable is also stored as a CSS variable that can be
- referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--title-slide-background-color)</a></code> in any argument of a
- style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>title_slide_background_image</th>
- <td><p>Title Slide Background Image URL.
- Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class.</p></td>
- </tr>
- <tr>
- <th>title_slide_background_size</th>
- <td><p>Title Slide Background Image Size,
- defaults to "cover" if background image is set. Defaults to <code>NULL</code>.
- Modifies the <code>.title-slide</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/background-size'>background-size</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>title_slide_background_position</th>
- <td><p>Title Slide Background Image
- Position. Defaults to <code>NULL</code>. Modifies the <code>.title-slide</code> class. Accepts
- CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/background-position'>background-position</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>footnote_color</th>
- <td><p>Footnote text color (if <code>NA</code>, then it will be the same
- color as <code>text_color</code>). Defaults to <code>NULL</code>. Modifies the <code>.footnote</code>
- class.</p></td>
- </tr>
- <tr>
- <th>footnote_font_size</th>
- <td><p>Footnote font size. Defaults to 0.9em. Modifies
- the <code>.footnote</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>footnote_position_bottom</th>
- <td><p>Footnote location from bottom of screen.
- Defaults to 60px. Modifies the <code>.footnote</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/position_value'>position</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>left_column_subtle_color</th>
- <td><p>Left Column Text (not last). Defaults to
- <code><a href='apply_alpha.html'>apply_alpha(base_color, 0.6)</a></code>. Modifies the
- <code>.left-column h2, .left-column h3</code> classes.</p></td>
- </tr>
- <tr>
- <th>left_column_selected_color</th>
- <td><p>Left Column Current Selection. Defaults to
- <code>base_color</code>. Modifies the
- <code>.left-column h2:last-of-type, .left-column h3:last-child</code> classes.</p></td>
- </tr>
- <tr>
- <th>blockquote_left_border_color</th>
- <td><p>Blockquote Left Border Color. Defaults
- to <code><a href='apply_alpha.html'>apply_alpha(base_color, 0.5)</a></code>. Modifies the <code>blockquote</code> element.</p></td>
- </tr>
- <tr>
- <th>table_border_color</th>
- <td><p>Table top/bottom border. Defaults to #666.
- Modifies the <code>table: border-top, border-bottom</code> elements.</p></td>
- </tr>
- <tr>
- <th>table_row_border_color</th>
- <td><p>Table row inner bottom border. Defaults to
- #ddd. Modifies the <code>table thead th: border-bottom</code> elements.</p></td>
- </tr>
- <tr>
- <th>table_row_even_background_color</th>
- <td><p>Table Even Row Background Color.
- Defaults to <code><a href='lighten_darken_color.html'>lighten_color(base_color, 0.8)</a></code>. Modifies the
- <code>thead, tfoot, tr:nth-child(even)</code> elements.</p></td>
- </tr>
- <tr>
- <th>base_font_size</th>
- <td><p>Base Font Size for All Slide Elements (must be <code>px</code>).
- Defaults to 20px. Modifies the <code>html</code> element. The value of this variable
- is also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--base-font-size)</a></code> in any argument of a style function or in custom
- CSS.</p></td>
- </tr>
- <tr>
- <th>text_font_size</th>
- <td><p>Slide Body Text Font Size. Defaults to 1rem. Modifies
- the <code>.remark-slide-content</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_h1_font_size</th>
- <td><p>h1 Header Text Font Size. Defaults to 2.75rem.
- Modifies the <code>.remark-slide-content h1</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-h1-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_h2_font_size</th>
- <td><p>h2 Header Text Font Size. Defaults to 2.25rem.
- Modifies the <code>.remark-slide-content h2</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-h2-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_h3_font_size</th>
- <td><p>h3 Header Text Font Size. Defaults to 1.75rem.
- Modifies the <code>.remark-slide-content h3</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-h3-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_background_auto</th>
- <td><p>Add background under slide title automatically
- for h1 header elements. If not enabled, use <code>class: header_background</code> to
- enable. Defaults to <code>FALSE</code>.</p></td>
- </tr>
- <tr>
- <th>header_background_color</th>
- <td><p>Background Color for h1 Header with
- Background. Defaults to <code>header_color</code>. Modifies the
- <code>.remark-slide-content h1</code> class. The value of this variable is also
- stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-background-color)</a></code> in any argument of a style function or in
- custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_background_text_color</th>
- <td><p>Text Color for h1 Header with
- Background. Defaults to <code>background_color</code>. Modifies the
- <code>.remark-slide-content h1</code> class. The value of this variable is also
- stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-background-text-color)</a></code> in any argument of a style function
- or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_background_padding</th>
- <td><p>Padding for h1 Header with Background.
- Defaults to <code>NULL</code>. Modifies the <code>.remark-slide-content h1</code> class. Accepts
- CSS <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/padding'>padding</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>header_background_content_padding_top</th>
- <td><p>Top Padding for Content in
- Slide with Header with Background. Defaults to 7rem. Modifies the
- <code>.remark-slide-content</code> class.</p></td>
- </tr>
- <tr>
- <th>header_background_ignore_classes</th>
- <td><p>Slide Classes Where Header with
- Background will not be Applied. Defaults to
- <code><a href='https://rdrr.io/r/base/c.html'>c('normal', 'inverse', 'title', 'middle', 'bottom')</a></code>. Modifies the
- <code>.remark-slide-content</code> class.</p></td>
- </tr>
- <tr>
- <th>text_slide_number_font_size</th>
- <td><p>Slide Number Text Font Size. Defaults to
- 0.9em. Modifies the <code>.remark-slide-number</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>text_font_google</th>
- <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify body font. Defaults
- to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
- </tr>
- <tr>
- <th>text_font_family</th>
- <td><p>Body Text Font Family (xaringan default is
- <code>'Droid Serif'</code>). Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("text_font_family")</a></code>. Modifies the <code>body</code>
- element. The value of this variable is also stored as a CSS variable that
- can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text-font-family)</a></code> in any argument of a
- style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>text_font_weight</th>
- <td><p>Body Text Font Weight. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("text_font_weight")</a></code>. Modifies the <code>body</code>
- element. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight'>font-weight</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>text_font_url</th>
- <td><p>Body Text Font URL(s). Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("text_font_url")</a></code>. Modifies the
- <code>@import url()</code> elements.</p></td>
- </tr>
- <tr>
- <th>text_font_family_fallback</th>
- <td><p>Body Text Font Fallbacks. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("text_font_family_fallback")</a></code>. Modifies the
- <code>body</code> element. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text-font-family-fallback)</a></code> in
- any argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>text_font_base</th>
- <td><p>Body Text Base Font (Total Failure Fallback). Defaults
- to sans-serif. Modifies the <code>body</code> element. The value of this variable is
- also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--text-font-base)</a></code> in any argument of a style function or in custom
- CSS.</p></td>
- </tr>
- <tr>
- <th>header_font_google</th>
- <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify header font.
- Defaults to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
- </tr>
- <tr>
- <th>header_font_family</th>
- <td><p>Header Font Family (xaringan default is
- <code>'Yanone Kaffeesatz'</code>). Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("header_font_family")</a></code>. Modifies the
- <code>h1, h2, h3</code> elements. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--header-font-family)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>header_font_weight</th>
- <td><p>Header Font Weight. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("header_font_weight")</a></code>. Modifies the
- <code>h1, h2, h3</code> elements. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight'>font-weight</a>
- property values.</p></td>
- </tr>
- <tr>
- <th>header_font_url</th>
- <td><p>Header Font URL. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("header_font_url")</a></code>. Modifies the
- <code>@import url</code> elements.</p></td>
- </tr>
- <tr>
- <th>code_font_google</th>
- <td><p>Use <code><a href='google_font.html'>google_font()</a></code> to specify code font. Defaults
- to <code>NULL</code>. Modifies the <code>body</code> element.</p></td>
- </tr>
- <tr>
- <th>code_font_family</th>
- <td><p>Code Font Family. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("code_font_family")</a></code>. Modifies the
- <code>.remark-code, .remark-inline-code</code> classes. The value of this variable is
- also stored as a CSS variable that can be referenced with
- <code><a href='https://rdrr.io/r/stats/cor.html'>var(--code-font-family)</a></code> in any argument of a style function or in custom
- CSS.</p></td>
- </tr>
- <tr>
- <th>code_font_size</th>
- <td><p>Code Text Font Size. Defaults to 0.9rem. Modifies the
- <code>.remark-inline</code> class. Accepts CSS
- <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/font-size'>font-size</a>
- property values. The value of this variable is also stored as a CSS
- variable that can be referenced with <code><a href='https://rdrr.io/r/stats/cor.html'>var(--code-font-size)</a></code> in any
- argument of a style function or in custom CSS.</p></td>
- </tr>
- <tr>
- <th>code_font_url</th>
- <td><p>Code Font URL. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("code_font_url")</a></code>. Modifies the <code>@import url</code>
- elements.</p></td>
- </tr>
- <tr>
- <th>code_font_family_fallback</th>
- <td><p>Code Font Fallback. Defaults to
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default("code_font_family_fallback")</a></code>. Modifies the
- <code>.remark-code, .remark-inline-code</code> classes.</p></td>
- </tr>
- <tr>
- <th>colors</th>
- <td><p>A named vector of custom colors. The names of the colors
- become CSS variables and classes that can be used within your slides.
- For example, <code>colors = c(blue = "#bad4ed")</code> adds a CSS variable
- <code>--blue</code>, a <code>.blue</code> CSS class that applies the color to the text or
- foreground color, and a <code>.bg-blue</code> CSS class that applies the color
- to the background.</p></td>
- </tr>
- <tr>
- <th>extra_css</th>
- <td><p>A named list of CSS definitions each containing a named list
- of CSS property-value pairs, i.e.
- <code><a href='https://rdrr.io/r/base/list.html'>list(".class-id" = list("css-property" = "value"))</a></code>.</p></td>
- </tr>
- <tr>
- <th>extra_fonts</th>
- <td><p>A list of additional fonts to import, each list element
- can be either a URL as a character string or a call to
- <code><a href='google_font.html'>google_font</a>()</code>. To use a font imported in <code>extra_fonts</code>, you
- will need to write custom CSS rules that apply the font to an element or
- class with the <code>font-family</code> property. See the <strong>Fonts</strong> section of
- <code><a href='../articles/xaringanthemer.html'>vignette("xaringanthemer")</a></code> for an example.</p></td>
- </tr>
- <tr>
- <th>outfile</th>
- <td><p>Customized xaringan CSS output file name, default is "xaringan-themer.css"</p></td>
- </tr>
- </table>
-
- <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
-
- <p>The CSS styles are written to the file path provided in <code>outfile</code>
- (by default to <code>xaringan-themer.css</code>). If <code>outfile</code> is <code>NULL</code>, the CSS is
- returned directly as a character string.</p>
- <h2 class="hasAnchor" id="usage"><a class="anchor" href="#usage"></a>Usage</h2>
-
- <p>To use the styles created by this theme function, make sure
- that you use <code>xaringan-themer.css</code> as your CSS file in your slides' YAML
- header. If you change the name of the output file using the <code>outfile</code>
- argument, use that name instead of the default file name.<div class="yaml"></p><pre><span class='va'>output</span><span class='op'>:</span>
- <span class='fu'>xaringan</span><span class='fu'>::</span><span class='va'><a href='https://rdrr.io/pkg/xaringan/man/moon_reader.html'>moon_reader</a></span><span class='op'>:</span>
- <span class='va'>css</span><span class='op'>:</span> <span class='va'>xaringan</span><span class='op'>-</span><span class='va'>themer.css</span>
- </pre><p></div></p>
- <h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
-
- <div class='dont-index'><p>Other themes:
- <code><a href='style_duo_accent_inverse.html'>style_duo_accent_inverse</a>()</code>,
- <code><a href='style_duo_accent.html'>style_duo_accent</a>()</code>,
- <code><a href='style_duo.html'>style_duo</a>()</code>,
- <code><a href='style_mono_accent_inverse.html'>style_mono_accent_inverse</a>()</code>,
- <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
- <code><a href='style_mono_light.html'>style_mono_light</a>()</code>,
- <code><a href='style_solarized_dark.html'>style_solarized_dark</a>()</code>,
- <code><a href='style_solarized_light.html'>style_solarized_light</a>()</code>,
- <code><a href='xaringanthemer_font_default.html'>xaringanthemer_font_default</a>()</code></p>
- <p>Other Monotone themes:
- <code><a href='style_mono_accent_inverse.html'>style_mono_accent_inverse</a>()</code>,
- <code><a href='style_mono_dark.html'>style_mono_dark</a>()</code>,
- <code><a href='style_mono_light.html'>style_mono_light</a>()</code></p></div>
-
- <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'><span class='co'># Create a xaringan style in a temporary file</span>
- <span class='va'>xaringan_themer_css</span> <span class='op'><-</span> <span class='fu'><a href='https://rdrr.io/r/base/tempfile.html'>tempfile</a></span><span class='op'>(</span><span class='st'>"xaringan-themer-"</span>, fileext <span class='op'>=</span> <span class='st'>".css"</span><span class='op'>)</span>
-
- <span class='fu'>style_mono_accent</span><span class='op'>(</span>
- base_color <span class='op'>=</span> <span class='st'>"#43418A"</span>,
- outfile <span class='op'>=</span> <span class='va'>xaringan_themer_css</span> <span class='co'># omit in your slides to write the</span>
- <span class='co'># styles to xaringan-themer.css</span>
- <span class='op'>)</span>
-
- <span class='co'># View the CSS:</span>
- <span class='co'># file.edit(xaringan_themer_css)</span>
- </div></pre>
- </div>
- <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
- <nav id="toc" data-toggle="toc" class="sticky-top">
- <h2 data-toc-skip>Contents</h2>
- </nav>
- </div>
- </div>
-
-
- <footer>
- <div class="copyright">
- <p>Developed by <a href='https://www.garrickadenbuie.com'>Garrick Aden-Buie</a>.</p>
- </div>
-
- <div class="pkgdown">
- <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.6.1.</p>
- </div>
-
- </footer>
- </div>
-
-
-
-
- </body>
- </html>
-
|