Skip to contents

Theme

Create and update a Liquid Glass theme for your Shiny app.

glass_theme()
Liquid Glass theme for 'shiny'
update_glass_theme()
Update glass theme options in a running app
glass_theme_toggle()
Light / dark / auto theme toggle buttons
observe_glass_theme_toggle()
Observe glass_theme_toggle() buttons on the server
glass_intensity_slider()
Liquid Glass intensity slider (iOS 27-style)
observe_glass_intensity()
Keep session intensity in sync with glass_intensity_slider()
glass_preset_input()
Light / dark / auto preset select input
observe_glass_preset_input()
Observe glass_preset_input() on the server
glass_resolved_preset()
Resolved light or dark appearance
glass_accent_input()
Accent color wells
observe_glass_accent()
Keep session accent in sync with glass_accent_input()
glass_system_colors()
iOS system accent colors
glass_page()
One-call glass page
observe_glass()
Observe every built-in glass control
glass_scenes()
Named wallpaper scenes
glass_scene_input()
Scene picker for wallpaper packs
observe_glass_scene()
Observe glass_scene_input() on the server
glass_css_tokens()
Stable Liquid Glass CSS tokens
glass_token_pack()
Default CSS variable pack for a preset
glass_add_tokens()
Override glass CSS tokens on a theme
glass_flatten()
Flatten glass for print, PDF, and screenshots

Plots and tables

Match ggplot2, plotly, gt, and DT to the glass light/dark pack.

theme_glass()
ggplot2 theme that follows glass light/dark ink
plotly_glass()
plotly layout that matches glass chrome
gt_theme_glass()
gt table options that match glass chrome
glass_plot_colors()
Ink and grid colors for the current glass appearance
glass_plot_surface_input()
Plot / table surface select
observe_glass_plot_surface()
Observe glass_plot_surface_input() on the server
dt_options_glass()
DT options that pair with glass plot surfaces