focus_color {cascadess} | R Documentation |
Focus ring color
Description
The focus_color()
function adjusts the focus shadow color of a tag element.
Usage
focus_color(x, color)
Arguments
x |
A tag element or .style pronoun. |
color |
A character string specifying a color. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
tags$button(
.style %>%
background_color(theme_primary()) %>%
focus_color(theme_primary()),
"Primary themed button with primary themed focus ring"
)
[Package cascadess version 0.2.0 Index]