Skip to content

Commit 0998e0c

Browse files
authored
Merge pull request #7813 from IgniteUI/mpopov/input-label-in-dark-theme
fix(input-group): label contrast color in dark theme
2 parents 4294595 + 2d478ae commit 0998e0c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ $_dark-bootstrap-input-group: extend(
5959
/// @prop {Map} success-secondary-color [igx-color: ('success'), rgba: .7, hexrgba: #fff] - The success color used in the valid state.
6060
/// @prop {Map} warning-secondary-color [igx-color: ('warn'), rgba: .7, hexrgba: #fff] - The warning color used in the warning state.
6161
/// @prop {Map} error-secondary-color [igx-color: ('error'), rgba: .7, hexrgba: #fff] - The error color used in the error state.
62+
/// @prop {Map} $idle-secondary-color [igx-contrast-color: ('surface')] - The label color in the idle state.
63+
/// @prop {Map} $filled-secondary-color [igx-contrast-color: ('surface')] - The label color in the filled state.
64+
/// @prop {Map} $focused-secondary-color [igx-contrast-color: ('surface')] - The label color in the focused state.
6265
/// @requires {function} extend
6366
/// @requires $_indigo-input-group
6467
/// @see $default-palette
@@ -84,6 +87,18 @@ $_dark-indigo-input-group: extend(
8487
rgba: .7,
8588
hexrgba: #fff
8689
),
90+
91+
idle-secondary-color: (
92+
igx-contrast-color: ('surface')
93+
),
94+
95+
filled-secondary-color: (
96+
igx-contrast-color: ('surface')
97+
),
98+
99+
focused-secondary-color: (
100+
igx-contrast-color: ('surface')
101+
)
87102
)
88103
);
89104

0 commit comments

Comments
 (0)