Skip to content

Commit

Permalink
fix(highlight): change background color to selection (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch authored Jan 22, 2021
1 parent bbb9a23 commit 7f60e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/kit/directives/highlight/highlight.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f60e25

Please sign in to comment.