shadow: Shadows

View source: R/design-shadow.R

shadowR Documentation

Shadows

Description

The shadow utility applies a shadow to a tag element. By default many elements include a shadow to help distinguish them. Use "none" to remove an element's shadow.

Usage

shadow(x, size = "medium")

Arguments

x

A tag element or .style pronoun.

size

One of "none", "small", "medium", or "large" specifying the amount of shadow added, defaults to "medium".

Examples


div() %>% shadow("small")
# ->
div() %>% cascadess::shadow("small")


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