Writing CSS

Functions that write CSS from inside a xaringan R markdown document.

write_extra_css()

Write Extra CSS arguments

write_xaringan_theme()

Write A Customized Xaringan Theme

Theme Functions

Color theme functions for xaringan slides.

mono_accent()

Monotone Accent Theme

mono_accent_inverse()

Monotone Accent Inverse Theme

mono_dark()

Monotone Dark Theme

mono_light()

Monotone Light Theme

duo()

Duotone Theme

duo_accent()

Duotone Accent Theme

duo_accent_inverse()

Duotone Accent Inverse Theme

solarized_dark()

Solarized Dark Theme

solarized_light()

Solarized Light Theme

Helper functions

Helpers for Google fonts and color adjustments.

lighten_color() darken_color()

Generate lighter or darker version of a color

apply_alpha()

Add alpha to hex color

choose_dark_or_light()

Choose dark or light color

google_font()

Specify Google Font

google_language_codes()

List Valid Google Language Codes