Skip to content

Commit

Permalink
chore: Include express in tagify syntax error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jun 26, 2024
1 parent 6a6d508 commit a0eaf80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shiny/ui/_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,9 @@ def _html_dependency(self) -> HTMLDependency:
def tagify(self) -> None:
raise SyntaxError(
"The `Theme` class is not meant to be used as a standalone HTML tag. "
"Instead, pass the `Theme` object directly to the `theme` argument of any "
"Shiny page function.",
"Instead, pass the `Theme` object directly to the `theme` argument of "
"`shiny.express.ui.page_opts()` (Shiny Express) "
"or any `shiny.ui.page_*()` function (Shiny Core)."
)


Expand Down

0 comments on commit a0eaf80

Please sign in to comment.