← Back to Components

Theme

Application-wide style engine managing design tokens and dark mode.

Interactive Playground

R Code

API Reference

block_theme()

Application-wide style engine managing design tokens, boundary rounding, and accent oklch color palettes.

ArgumentTypeDefaultDescription
...characterrequiredAccent token styles matching oklch colors or custom CSS properties (e.g. accent = 'oklch(0.6 0.15 150)', radius = '1rem').

update_block_theme()

Dynamically refreshes CSS tokens, theme states, or colors at runtime.

ArgumentTypeDefaultDescription
sessionShinySessionrequiredShiny active web app session.
...characterrequiredCustom accent token properties to override at runtime.