Transparent table chrome so glass cards show through. Requires gt.
Usage
gt_theme_glass(
data,
preset = NULL,
input = NULL,
surface = c("clear", "opaque")
)Arguments
- data
A
gt::gt()table (or data frame, which is passed togt()).- preset, input, surface
See
glass_plot_colors().
See also
dt_options_glass(), glass_plot_colors()
Other glass plots:
dt_options_glass(),
glass_plot_colors(),
plotly_glass(),
theme_glass()
Examples
if (requireNamespace("gt", quietly = TRUE)) {
gt_theme_glass(head(mtcars), preset = "light")
}
mpg
cyl
disp
hp
drat
wt
qsec
vs
am
gear
carb