argonTextColor: Add a custom color to a text

Description Usage Arguments Author(s) Examples

View source: R/typography.R

Description

A custom color fo your text

Usage

1
argonTextColor(tag, color)

Arguments

tag

Any tag containing text.

color

Text color. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

1
2
3
4
5
6
7
8
if (interactive()) {
 library(argonR)
 library(htmltools)
 argonTextColor(
  tag = h1("test"),
  color = "success"
 )
}

argonR documentation built on Dec. 1, 2019, 1:15 a.m.