1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/component-library/form-text-field/form-text-field.scss
George Marshall 5ee7da6afe
Adding FormTextField component (#16497)
* Adding FormTextField component

* Adding to index.js

* Adding id, label and helptext stories

* Removing unneeded htmlFor and fixing accessibility on helpText story

* Fixing issues with review suggestions

* Fixing lint issue

* Adding snapshot test
2022-11-22 13:04:27 -08:00

10 lines
175 B
SCSS

.mm-form-text-field {
--help-text-opacity-disabled: 0.5;
&--disabled {
.mm-form-text-field__help-text {
opacity: var(--help-text-opacity-disabled);
}
}
}