Theme Switcher

Description

Create a button that switches the page between light and dark mode.

Usage

bc_theme_switcher(..., id = NULL)

Arguments

Argument Description
... Extra tag attributes.
id String or NULL. The switcher's ID. With bc_shiny_deps(), input$id is "light" or "dark".

Value

An htmltools tag.

Examples

bc_theme_switcher()