From 7f60e25b2f4b0ef4bf00eaac99892067801316cc Mon Sep 17 00:00:00 2001 From: Fynn Feldpausch Date: Fri, 22 Jan 2021 17:31:21 +0100 Subject: [PATCH] fix(highlight): change background color to selection (#137) --- projects/kit/directives/highlight/highlight.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kit/directives/highlight/highlight.directive.ts b/projects/kit/directives/highlight/highlight.directive.ts index a3a2b9bba82d..9bf62a781b0c 100644 --- a/projects/kit/directives/highlight/highlight.directive.ts +++ b/projects/kit/directives/highlight/highlight.directive.ts @@ -96,7 +96,7 @@ export class TuiHighlightDirective implements OnChanges { const highlight = this.renderer.createElement('div'); const {style} = highlight; - style.background = 'var(--tui-primary)'; + style.background = 'var(--tui-selection)'; style.zIndex = '-1'; style.position = 'absolute'; this.renderer.appendChild(this.elementRef.nativeElement, highlight);