Skip to content

Commit 2b8005a

Browse files
authored
Merge pull request #7814 from IgniteUI/mpopov/navdrawer-background-contrast
fix navdrawer background contrast with text color
2 parents 0998e0c + a3d82be commit 2b8005a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

projects/igniteui-angular/src/lib/core/styles/themes/schemas/dark/_navdrawer.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ $_dark-bootstrap-navdrawer: extend(
5353
/// @prop {Map} item-header-text-color [igx-contrast-color: ('grays', 800)] - The header's idle text color.
5454
/// @prop {Map} item-text-color [igx-contrast-color: ('grays', 800), rgba: .8] - The item's idle text color.
5555
/// @prop {Map} item-icon-color [igx-contrast-color: ('grays', 800), rgba: .8] - The item's icon color.
56-
/// @prop {Map} item-active-text-color [igx-contrast-color: ('grays', 800)] - The item's active text color.
56+
/// @prop {Map} item-active-background [igx-contrast-color: ('grays', 800), rgba: .1] - The item's active background color.
57+
/// @prop {map} item-active-text-color [igx-contrast-color: ('grays', 800)] - The item's active text color.
5758
/// @prop {Map} item-active-icon-color [igx-contrast-color: ('grays', 800)] - The item's icon active color.
5859
/// @prop {Map} item-hover-text-color [igx-contrast-color: ('grays', 800)] - The item's hover text color.
5960
/// @prop {Map} item-hover-icon-color [igx-contrast-color: ('grays', 800)] - The item's hover icon color.
@@ -83,7 +84,7 @@ $_dark-indigo-navdrawer: extend(
8384

8485
item-active-background: (
8586
igx-contrast-color: ('grays', 800),
86-
rgba: .2
87+
rgba: .1
8788
),
8889

8990
item-active-text-color: (

projects/igniteui-angular/src/lib/core/styles/themes/schemas/light/_navdrawer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $_bootstrap-navdrawer: extend(
118118
/// @prop {Map} item-text-color [igx-contrast-color: ('grays', 700), rgba: .8] - The item's idle text color.
119119
/// @prop {Map} item-icon-color [igx-contrast-color: ('grays', 700), rgba: .8] - The item's icon color.
120120
/// @prop {Map} item-active-text-color [igx-contrast-color: ('grays', 700)] - The item's active text color.
121-
/// @prop {Map} item-active-background [igx-contrast-color: ('grays', 700), rgba: .2] - The item's active background color.
121+
/// @prop {Map} item-active-background [igx-contrast-color: ('grays', 700), rgba: .1] - The item's active background color.
122122
/// @prop {Map} item-active-icon-color [igx-contrast-color: ('grays', 700)] - The item's icon active color.
123123
/// @prop {Map} item-hover-background [transparent] - The item's hover background color.
124124
/// @prop {Map} item-hover-text-color [igx-contrast-color: ('grays', 700)] - The item's hover text color.
@@ -155,7 +155,7 @@ $_indigo-navdrawer: extend(
155155

156156
item-active-background: (
157157
igx-contrast-color: ('grays', 700),
158-
rgba: .2
158+
rgba: .1
159159
),
160160

161161
item-active-text-color: (

0 commit comments

Comments
 (0)