@life-cockpit/angular-ui-kit 1.10.1 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -158,6 +158,34 @@ export class AppComponent {
158
158
  }
159
159
  ```
160
160
 
161
+ ## Branding (custom logo)
162
+
163
+ `lc-logo`, `lc-header` and `lc-sidenav` accept custom logo URLs so you can drop your own brand into the shell:
164
+
165
+ ```html
166
+ <lc-header
167
+ title="Acme"
168
+ [logoSrc]="'/assets/acme-logo.svg'"
169
+ [logoEmblemSrc]="'/assets/acme-emblem.svg'"
170
+ [logoDarkSrc]="'/assets/acme-logo-dark.svg'"
171
+ logoAlt="Acme Inc."
172
+ />
173
+ ```
174
+
175
+ The built-in Life-Cockpit logos are loaded from `/assets/` by default. If your app serves static files from a different prefix, override the path via the `LC_LOGO_BASE_PATH` token:
176
+
177
+ ```typescript
178
+ import { LC_LOGO_BASE_PATH } from '@life-cockpit/angular-ui-kit';
179
+
180
+ bootstrapApplication(AppComponent, {
181
+ providers: [
182
+ { provide: LC_LOGO_BASE_PATH, useValue: '/static/lc' },
183
+ ],
184
+ });
185
+ ```
186
+
187
+ Or copy the assets from `node_modules/@life-cockpit/angular-ui-kit/assets/` to your app's public `/assets/` folder (e.g. via the `assets` array in `angular.json`).
188
+
161
189
  ## Chat with Rich Content
162
190
 
163
191
  The Chat component supports custom message templates for embedding any component inside chat bubbles: