include a link to caremetx.css to ensure that base styles are loaded immediately example: <link rel="stylesheet" href="https://canvas.caremetx.com/brand/css/caremetx.css" /> base styles can be overridden by a canvas-theme tag JavaScript takes a while to load in, so the goal here is to have some quick initial styling first
element name: canvas-theme attributes: value?: string default: caremetx examples: <canvas-theme></canvas-theme> <canvas-theme value="caremetx"></canvas-theme> includes: canvas-brand styles and FontAwesome
Home tab
Profile tab
Contact tab
Disabled tab
type name: TenantMode valid values: tenant: use the value specified in the tenant attribute parseSubdomain: use the subdomain of the current URL
element name: canvas-logo attributes: mode?: TenantMode default: tenant tenant?: string default: caremetx value?: string default: caremetx height?: string width?: string examples: <canvas-logo></canvas-logo> <canvas-logo width="12.625rem"></canvas-logo> <canvas-logo tenant="caremetx" width="12.625rem"></canvas-logo> <canvas-logo mode="tenant" tenant="caremetx" width="12.625rem"></canvas-logo> <canvas-logo mode="parseSubdomain" width="12.625rem"></canvas-logo>
element name: canvas-links attributes: mode?: TenantMode default: tenant tenant?: string default: caremetx examples: <canvas-links></canvas-links> <canvas-links tenant="caremetx"></canvas-links> <canvas-links mode="tenant" tenant="caremetx"></canvas-links> <canvas-links mode="parseSubdomain"></canvas-links>