| - .pull-right[] now clears floats just for its immediate sibling | - .pull-right[] now clears floats just for its immediate sibling | ||||
| - Add `header_font_family_fallback` to control fallback fonts for headings (thanks @mattwarkentin, #41) | |||||
| # xaringanthemer 0.3.0 | # xaringanthemer 0.3.0 | ||||
| * Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors | * Adds `theme_xaringan()`, a ggplot2 theme that automatically uses the colors |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| #' `h1, h2, h3` elements. Accepts CSS | #' `h1, h2, h3` elements. Accepts CSS | ||||
| #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | #' [font-weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) | ||||
| #' property values. | #' property values. | ||||
| #' @param header_font_family_fallback Header Font Family Fallback. Defaults to | |||||
| #' Georgia, serif. Modifies the `h1, h2, h3` elements. The value of this | |||||
| #' variable is also stored as a CSS variable that can be referenced with | |||||
| #' `var(--header-font-family-fallback)` in any argument of a style function | |||||
| #' or in custom CSS. | |||||
| #' @param header_font_url Header Font URL. Defaults to | #' @param header_font_url Header Font URL. Defaults to | ||||
| #' `xaringanthemer_font_default("header_font_url")`. Modifies the | #' `xaringanthemer_font_default("header_font_url")`. Modifies the | ||||
| #' `@import url` elements. | #' `@import url` elements. | ||||
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), |
| , "header_font_google", "{NULL}", "body", "Use `google_font()` to specify header font", NA_character_ | , "header_font_google", "{NULL}", "body", "Use `google_font()` to specify header font", NA_character_ | ||||
| , "header_font_family", '{xaringanthemer_font_default("header_font_family")}', "h1, h2, h3", "Header Font Family (xaringan default is `'Yanone Kaffeesatz'`)", "--header-font-family" | , "header_font_family", '{xaringanthemer_font_default("header_font_family")}', "h1, h2, h3", "Header Font Family (xaringan default is `'Yanone Kaffeesatz'`)", "--header-font-family" | ||||
| , "header_font_weight", '{xaringanthemer_font_default("header_font_weight")}', "h1, h2, h3", "Header Font Weight", NA_character_ | , "header_font_weight", '{xaringanthemer_font_default("header_font_weight")}', "h1, h2, h3", "Header Font Weight", NA_character_ | ||||
| , "header_font_family_fallback", 'Georgia, serif', "h1, h2, h3", "Header Font Family Fallback", "--header-font-family-fallback" | |||||
| , "header_font_url", '{xaringanthemer_font_default("header_font_url")}', "@import url", "Header Font URL", NA_character_ | , "header_font_url", '{xaringanthemer_font_default("header_font_url")}', "@import url", "Header Font URL", NA_character_ | ||||
| , "code_font_google", "{NULL}", "body", "Use `google_font()` to specify code font", NA_character_ | , "code_font_google", "{NULL}", "body", "Use `google_font()` to specify code font", NA_character_ | ||||
| , "code_font_family", '{xaringanthemer_font_default("code_font_family")}', ".remark-code, .remark-inline-code", "Code Font Family", "--code-font-family" | , "code_font_family", '{xaringanthemer_font_default("code_font_family")}', ".remark-code, .remark-inline-code", "Code Font Family", "--code-font-family" |
| --text-font-base: {{text_font_base}}; | --text-font-base: {{text_font_base}}; | ||||
| --header-font-family: {{header_font_family}}; | --header-font-family: {{header_font_family}}; | ||||
| --header-font-is-google: {{header_font_is_google}}; | --header-font-is-google: {{header_font_is_google}}; | ||||
| --header-font-family-fallback: {{header_font_family_fallback}}; | |||||
| --code-font-family: {{code_font_family}}; | --code-font-family: {{code_font_family}}; | ||||
| --code-font-is-google: {{code_font_is_google}}; | --code-font-is-google: {{code_font_is_google}}; | ||||
| --base-font-size: {{base_font_size}}; | --base-font-size: {{base_font_size}}; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: {{header_font_weight}}; | font-weight: {{header_font_weight}}; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| header_font_google = NULL, | header_font_google = NULL, | ||||
| header_font_family = xaringanthemer_font_default("header_font_family"), | header_font_family = xaringanthemer_font_default("header_font_family"), | ||||
| header_font_weight = xaringanthemer_font_default("header_font_weight"), | header_font_weight = xaringanthemer_font_default("header_font_weight"), | ||||
| header_font_family_fallback = "Georgia, serif", | |||||
| header_font_url = xaringanthemer_font_default("header_font_url"), | header_font_url = xaringanthemer_font_default("header_font_url"), | ||||
| code_font_google = NULL, | code_font_google = NULL, | ||||
| code_font_family = xaringanthemer_font_default("code_font_family"), | code_font_family = xaringanthemer_font_default("code_font_family"), | ||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | \href{https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight}{font-weight} | ||||
| property values.} | property values.} | ||||
| \item{header_font_family_fallback}{Header Font Family Fallback. Defaults to | |||||
| Georgia, serif. Modifies the \verb{h1, h2, h3} elements. The value of this | |||||
| variable is also stored as a CSS variable that can be referenced with | |||||
| \code{var(--header-font-family-fallback)} in any argument of a style function | |||||
| or in custom CSS.} | |||||
| \item{header_font_url}{Header Font URL. Defaults to | \item{header_font_url}{Header Font URL. Defaults to | ||||
| \code{xaringanthemer_font_default("header_font_url")}. Modifies the | \code{xaringanthemer_font_default("header_font_url")}. Modifies the | ||||
| \verb{@import url} elements.} | \verb{@import url} elements.} |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: 'IBM Plex Serif'; | --header-font-family: 'IBM Plex Serif'; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'IBM Plex Mono'; | --code-font-family: 'IBM Plex Mono'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |
| --text-font-base: sans-serif; | --text-font-base: sans-serif; | ||||
| --header-font-family: Cabin; | --header-font-family: Cabin; | ||||
| --header-font-is-google: 1; | --header-font-is-google: 1; | ||||
| --header-font-family-fallback: Georgia, serif; | |||||
| --code-font-family: 'Source Code Pro'; | --code-font-family: 'Source Code Pro'; | ||||
| --code-font-is-google: 1; | --code-font-is-google: 1; | ||||
| --base-font-size: 20px; | --base-font-size: 20px; | ||||
| color: var(--text-color); | color: var(--text-color); | ||||
| } | } | ||||
| h1, h2, h3 { | h1, h2, h3 { | ||||
| font-family: var(--header-font-family); | |||||
| font-family: var(--header-font-family), var(--header-font-family-fallback); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| color: var(--header-color); | color: var(--header-color); | ||||
| } | } |