Dear @Marc ,
kindly please advise regarding error in panel material UI example branding/brand
mui.py", line 98, in _configure_general
pmui.Page.meta.apple_touch_icon = "" # Intentionally left empty
AttributeError: 'NoneType' object has no attribute 'apple_touch_icon'
mui.py", line 99, in _configure_general
pmui.Page.meta.title = "Orbitron"
AttributeError: 'NoneType' object has no attribute 'title'
if i off that 2 respective code the brands example of material UI is working like this:
def _configure_general() -> None:
"""
Configure general theme settings for Panel Material UI components.
This includes theme configuration, CSS, fonts, logos, and component defaults.
"""
# Page configuration
pmui.Page.param.theme_config.default = THEME_CONFIG
# CSS and font configuration
if RAW_CSS:
pmui.Page.config.raw_css.append(RAW_CSS)
pmui.Page.config.css_files.append(_MONTSERRAT_FONT_URL)
# Brand assets configuration
pmui.Page.param.logo.default = LOGO_PATH
pmui.Page.favicon = FAVICON_PATH
#pmui.Page.meta.apple_touch_icon = "" # Intentionally left empty
#pmui.Page.meta.title = "Orbitron"
# Component-specific configurations
pmui.Button.param.disable_elevation.default = True
# Fix missing closing bracket in stylesheets
pn.pane.Image.stylesheets = ["img {border-radius: 2px}"]
thanks
regards