Skip to content

Commit 45e8266

Browse files
author
MPopov
committed
fix(list): docs and remove hardcoded text color
1 parent 2304bc3 commit 45e8266

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,18 @@ $_dark-bootstrap-list: extend(
5454

5555
/// Generates a dark indigo list schema
5656
/// @type {Map}
57+
/// @property {Map} header-text-color [igx-contrast-color: 'surface'] - The list header text color.
58+
/// @property {Map} item-background-hover [igx-color: ('primary', 500), rgba: .5, to-opaque: (igx-color: 'surface')] - The list item hover background.
59+
/// @property {Map} item-background-active [igx-color: ('primary', 500), rgba: .5, to-opaque: (igx-color: 'surface')] - The active list item background color.
60+
5761
/// @requires {function} extend
5862
/// @requires $_indigo-list
5963
$_dark-indigo-list: extend(
6064
$_indigo-list,
6165
(
62-
header-text-color: #fff,
66+
header-text-color: (
67+
igx-contrast-color: 'surface'
68+
),
6369

6470
item-background-hover: (
6571
igx-color: ('primary', 500),

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ $_bootstrap-list: extend(
178178
///
179179
/// @property {Map} header-text-color [igx-color: ('primary', 500)] - The list header text color.
180180
///
181-
/// @property {Map} item-background-hover [igx-color: ('primary', 500), rgba: .15] - The list item hover background.
182-
/// @property {Map} item-background-active [igx-color: ('primary', 500), rgba: .15] - The active list item background color.
181+
/// @property {Map} item-background-hover [igx-color: ('primary', 500), rgba: .15, to-opaque: (igx-color: 'surface')] - The list item hover background.
182+
/// @property {Map} item-background-active [ igx-color: ('primary', 500), rgba: .15, to-opaque: (igx-color: 'surface')] - The active list item background color.
183183
///
184184
/// @property {Map} item-text-color [igx-color: ('grays', 900)] - The list item text color.
185185
/// @property {Map} item-text-color-hover [igx-color: ('grays', 900)] - The list item text color.

0 commit comments

Comments
 (0)