Source: factory.core/extend.data/ObjDataBranding.py
Branding mixin for ObjData.
| Method | Signature | Description |
|---|---|---|
| get_palette | get_palette(name: str = '', colour: str = '') |
Proxy to ObjPalette.get_palette(). |
| get_pallete | get_pallete(name: str = '', colour: str = '') |
Backward-compatible misspelled alias. |
| get_font | get_font(key: str = '') |
Return the package font stack from def_colour_palette. |
| get_piper_theme | get_piper_theme() -> str |
Return the closest processpiper theme name. |
| get_mermaid_theme | get_mermaid_theme() -> str |
Return 'dark' or 'neutral' based on palette. |
| get_print_palette | get_print_palette() -> dict |
Load the PRINT palette for PDF output. |
| get_emoji_method | get_emoji_method() -> str |
Return the package emoji from def_package with caching. |
| get_logo | get_logo() -> str |
Return the package logo as a data: URI string. |
| get_agent_logo | get_agent_logo() -> str |
Return the agent/platform logo as a data: URI. |
| get_agent_logo_path | get_agent_logo_path() -> str |
Return the filesystem path to the agent |
| get_contact_list | get_contact_list(package: str = '') -> str |
Return the ContactList for a package. |
| get_signature | get_signature() -> str |
Return the email signature HTML for the active package. |