🐛(react) fix label color on state disabled ( select, input )

When creating LabelledBox we introduced a bug than overrides the label
colors when inputs are disabled.
This commit is contained in:
Nathan Vasse
2023-05-24 16:15:35 +02:00
committed by NathanVss
parent bc6d085868
commit ef4ece39b4
4 changed files with 4 additions and 17 deletions

View File

@@ -76,10 +76,8 @@
color: var(--c--theme--colors--greyscale-400);
border-color: var(--c--theme--colors--greyscale-200);
.c__input__inner {
.c__input, label {
color: var(--c--theme--colors--greyscale-600);
}
.c__input, .labelled-box label {
color: var(--c--theme--colors--greyscale-600);
}
&:hover {

View File

@@ -153,17 +153,6 @@
label {
cursor: default;
}
input {
color: var(--c--theme--colors--greyscale-600);
background-color: white;
}
}
.c__input__inner {
.c__input, label {
color: var(--c--theme--colors--greyscale-600);
}
}