border: Border colors

View source: R/design-border.R

borderR Documentation

Border colors

Description

Use border() to add or modify tag element borders.

Usage

border(x, color = NULL, sides = "all", round = NULL)

Arguments

x

A tag element or .style pronoun.

color

One of "primary", "secondary", "success", "info", "warning", "danger", "light" or "dark" specifying the border color of the tag element, defaults to NULL.

sides

One or more of "top", "right", "bottom", "left" or "all" or "none" specifying which sides to add a border to, defaults to "all".

round

One or more of "top", "right", "bottom", "left", "circle", "all", or "none" specifying how to round the border(s) of a tag element, defaults to NULL, in which case the argument is ignored.

Examples


div() %>% border("primary")
# ->
div() %>% border_color("primary")


nteetor/dull documentation built on Nov. 7, 2024, 2:11 p.m.