Skip to content

Commit 2304bc3

Browse files
author
MPopov
committed
fix(list): item background transparency
1 parent c92e20d commit 2304bc3

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,19 @@ $_dark-indigo-list: extend(
6363

6464
item-background-hover: (
6565
igx-color: ('primary', 500),
66-
rgba: .5
66+
rgba: .5,
67+
to-opaque: (
68+
igx-color: 'surface',
69+
)
70+
6771
),
6872

6973
item-background-active: (
7074
igx-color: ('primary', 500),
71-
rgba: .5
75+
rgba: .5,
76+
to-opaque: (
77+
igx-color: 'surface',
78+
)
7279
)
7380
)
7481
);

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,18 @@ $_indigo-list: extend(
214214

215215
item-background-hover: (
216216
igx-color: ('primary', 500),
217-
rgba: .15
217+
rgba: .15,
218+
to-opaque: (
219+
igx-color: 'surface',
220+
)
218221
),
219222

220223
item-background-active: (
221224
igx-color: ('primary', 500),
222-
rgba: .15
225+
rgba: .15,
226+
to-opaque: (
227+
igx-color: 'surface',
228+
)
223229
),
224230

225231
item-text-color: (

0 commit comments

Comments
 (0)