We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03adf5c commit ced644aCopy full SHA for ced644a
shiny/ui/_theme_brand.py
@@ -151,12 +151,10 @@ def __init__(
151
*,
152
include_paths: Optional[str | Path | list[str | Path]] = None,
153
):
154
- if not isinstance(brand, Brand):
155
- raise ValueError("Invalid `brand`, must be a path or a Brand instance.")
156
157
name: str = "brand"
158
if brand.meta and brand.meta.name:
159
- name = brand.meta.name.full or brand.meta.name.short or "brand"
+ name = brand.meta.name.full or brand.meta.name.short or name
160
161
brand_bootstrap = BrandBootstrap.from_brand(brand)
162
0 commit comments