What if I wanted to create a different style for a form with a class ".form2", how would I adjust the <Input /> to have a red background only for a parent form with class ".form2"?
In CSS, I'd just do .form2 input { background: red; } but with these themes, I'm not sure how to target the parent of the input: {} styles. Can I do something similar to:
Let's say this is my default
<Input />
theme.What if I wanted to create a different style for a form with a class ".form2", how would I adjust the
<Input />
to have a red background only for a parent form with class ".form2"?In CSS, I'd just do
.form2 input { background: red; }
but with these themes, I'm not sure how to target the parent of theinput: {}
styles. Can I do something similar to: