diff --git a/projects/kit/components/marker-icon/marker-icon.component.ts b/projects/kit/components/marker-icon/marker-icon.component.ts index c4647fd1c78c..4d8c0d18d345 100644 --- a/projects/kit/components/marker-icon/marker-icon.component.ts +++ b/projects/kit/components/marker-icon/marker-icon.component.ts @@ -47,7 +47,7 @@ export class TuiMarkerIconComponent { @HostBinding('attr.data-tui-host-mode') get computedMode(): TuiMarkerIconMode | null { - return this.globalMode === 'onLight' && !this.mode + return this.globalMode === 'onDark' && !this.mode ? TuiMarkerIconMode.OnDark : this.mode; }