Skip to content

Commit dd8f65e

Browse files
committed
fix: stylings for helper message and input variants
1 parent 11b0228 commit dd8f65e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/components/Input/HelperMessage.scss

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $error_field: #ec3f3f;
88
font-style: normal;
99
font-weight: 400;
1010
line-height: 18px;
11+
color: $inactive_color;
1112
&--general {
1213
color: $inactive_color;
1314
}

lib/components/Input/Input.scss

+6
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ $border: 1px solid;
9797
}
9898
}
9999

100+
.deriv-input--general .deriv-input__field:disabled + .deriv-input__label,
101+
.deriv-input--error .deriv-input__field:disabled + .deriv-input__label,
102+
.deriv-input--success .deriv-input__field:disabled + .deriv-input__label {
103+
color: $disabled_color;
104+
}
105+
100106
.deriv-input--general .deriv-input__field:focus + .deriv-input__label {
101107
color: $active_color;
102108
}

0 commit comments

Comments
 (0)