I'm currently working on customizing a textfield component in Material-ui using React.
Based on the details provided on this page:
To personalize the colors of different parts of the text-field, you can utilize various mixins. It's recommended to apply these mixins within CSS selectors like .foo-text-field:not(.mdc-text-field--focused) for unfocused text fields, and .foo-text-field.mdc-text-field--focused for focused ones. If you want to modify the invalid state of your text fields, implement these mixins with CSS selectors such as .foo-text-field.mdc-text-field--invalid.
I attempted to use this mixin to alter the border color:
mdc-text-field-outline-color($color): Customizes the border color of the outlined text field.
Unfortunately, I'm unsure how to actually use it. I have installed scss, but I don't fully comprehend the syntax for setting the color to red using scss.
@mixin mdc-text-field-outline-color($color) {
}
It seems like I need to start with something like this, but I could really use a specific example to guide me forward.