From a0eaf80cc969382e9c5c9a37a2cf1c90fd135f7f Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Wed, 26 Jun 2024 17:20:42 -0400 Subject: [PATCH] chore: Include express in tagify syntax error message --- shiny/ui/_theme.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shiny/ui/_theme.py b/shiny/ui/_theme.py index 692e5e53e..eb5fe14a0 100644 --- a/shiny/ui/_theme.py +++ b/shiny/ui/_theme.py @@ -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)." )