Skip to content

Commit b248b4c

Browse files
authored
Query Builder - fix keyboard ghost text color (#15552)
* refactor(query builder): fix fluent chip keyboard drag ghost text color * refactor(query-builder): use the correct text color variable and reset the hover fro indigo border
1 parent e7bb8dd commit b248b4c

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

projects/igniteui-angular/src/lib/core/styles/components/query-builder/_query-builder-theme.scss

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,18 +486,31 @@
486486
--ig-body-2-text-transform: unset;
487487

488488
padding-inline: rem(32px);
489-
489+
490490
color: color($color: 'gray', $variant: if($theme-variant == 'light', 600, 900));
491491
border: rem(1px) dashed color($color: 'gray', $variant: if($theme-variant == 'light', 600, 300));
492492
background: transparent;
493493
}
494494
}
495-
495+
496496
%filter-tree__expression-item-keyboard-ghost {
497497
.igx-chip__item {
498498
box-shadow: var(--ghost-shadow);
499499
background: var(--ghost-background);
500+
color: var(--focus-text-color);
500501
}
502+
503+
.igx-chip:hover {
504+
.igx-chip__item {
505+
box-shadow: var(--ghost-shadow);
506+
background: var(--ghost-background);
507+
color: var(--focus-text-color);
508+
509+
@if $variant == 'indigo' {
510+
border-color: var(--border-color);
511+
}
512+
}
513+
}
501514
}
502515

503516
%filter-tree__expression-column {

0 commit comments

Comments
 (0)