page_chat_theme
page_chat_theme(preset='shiny', **variables)Create a theme for :func:~shinychat.page_chat.
The default layers page-scoped surface, chat-radius, and density tokens and system typography over Shiny’s "shiny" preset. Pass another preset or Sass-variable overrides to apply application branding while retaining the page-chat layout treatment. Pass a :class:shiny.ui.Theme directly to :func:~shinychat.page_chat to use a completely custom theme.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| preset | str | None | A Shiny or Bootswatch preset name. | 'shiny' |
| **variables | str | float | int | bool | None | Sass-variable overrides. Keys may use either snake_case or kebab-case names. |
{} |
Returns
| Name | Type | Description |
|---|---|---|
| 'Theme' | A :class:shiny.ui.Theme suitable for page_chat(theme=). |