[ACS-6427] Add search highlighting (#3637)

* [ACS-6427] Initial commit for search highlights

* [ACS-6427] Add correct highlighting config, handle highlights in search results

* [ACS-6427] CR fixes

* [ACS-6427] CR fix

* [ACS-6427] Locator fix

* [ACS-6427] E2E fix

---------

Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
This commit is contained in:
MichalKinas
2024-02-15 16:26:09 +01:00
committed by GitHub
parent 60a4abaa55
commit 4766bfe707
12 changed files with 303 additions and 85 deletions

View File

@@ -41,6 +41,7 @@ $page-layout-header-background-color: $background-card-color;
$search-chip-icon-color: #757575;
$disabled-chip-background-color: #f5f5f5;
$contrast-gray: mat.get-color-from-palette($foreground, 'secondary-tex');
$search-highlight-background-color: #ffd180;
// CSS Variables
$defaults: (
@@ -86,7 +87,8 @@ $defaults: (
--theme-page-layout-header-background-color: $page-layout-header-background-color,
--theme-search-chip-icon-color: $search-chip-icon-color,
--theme-disabled-chip-background-color: $disabled-chip-background-color,
--theme-secondary-text: $secondary-text
--theme-secondary-text: $secondary-text,
--theme-search-highlight-background-color: $search-highlight-background-color
);
// propagates SCSS variables into the CSS variables scope