Skip to content

Commit a39c745

Browse files
authored
Merge pull request #7817 from IgniteUI/SIvanova/dark-indigo-time-picker
feat(time-picker): improve dark indigo time picker
2 parents 5698d66 + f558721 commit a39c745

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,24 @@ $_dark-bootstrap-time-picker: extend($_bootstrap-time-picker);
2727

2828
/// Generates a dark indigo time-picker schema.
2929
/// @type {Map}
30-
/// @prop {Map} selected-text-color [igx-contrast-color: ('surface')] - The text color of a selected item in time picker.
31-
/// @prop {Map} hover-text-color [igx-contrast-color: ('surface')] - The hover text color of a open time picker.
30+
/// @prop {Map} text-color [igx-contrast-color: ('surface')] - The text color of an open time picker.
31+
/// @prop {Map} selected-text-color [igx-color: ('primary', 300)] - The text color of a selected item in time picker.
32+
/// @prop {Map} hover-text-color [igx-color: ('primary', 300)] - The hover text color of an open time picker.
3233
/// @requires {function} extend
3334
/// @requires $_indigo-time-picker
3435
$_dark-indigo-time-picker: extend(
3536
$_indigo-time-picker,
3637
(
37-
hover-text-color: (
38+
text-color: (
3839
igx-contrast-color: ('surface')
3940
),
4041

42+
hover-text-color: (
43+
igx-color: ('primary', 300)
44+
),
45+
4146
selected-text-color: (
42-
igx-contrast-color: ('surface')
47+
igx-color: ('primary', 300)
4348
),
4449
)
4550
);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ $_bootstrap-time-picker: extend(
122122
/// @type {Map}
123123
/// @prop {Map} text-color [igx-color: ('grays', 700)] - The text color of an open time picker.
124124
/// @prop {Map} selected-text-color [igx-color: ('primary', 500)] - The text color of a selected item in time picker.
125-
/// @prop {Map} hover-text-color [igx-color: ('primary', 500)] - The hover text color of a open time picker.
125+
/// @prop {Map} hover-text-color [igx-color: ('primary', 500)] - The hover text color of an open time picker.
126126
/// @prop {Map} header-background [igx-color: ('primary', 500)] - The header background color of a time picker.
127127
/// @prop {Map} header-hour-text-color [igx-contrast-color: ('primary', 500)] - The header hour text color of a time picker.
128128
/// @prop {Map} header-time-period-color [igx-contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.

0 commit comments

Comments
 (0)