Generate the theme's bslib::bs_dependency to be used by a widget.

gen_theme_dependency(widget_name, theme, default_base = FALSE)

Arguments

widget_name

The name of the widget (e.g: rsc_grid)

theme

The bslib theme to generate the CSS dependency

default_base

Using the default theme or not