Add the textarea
class to your <textarea>
element.
<textarea class="textarea" rows="5">Textarea content</textarea>
The textarea element will apply the styles defined in the forms.textarea
field of your theme configuration.
export default { forms: { textarea: { backgroundColor: "muted", padding: "1rem", }, }, // ...other configuration };
Designed and maintained with by @jmjuanes.
Code is licensed under MIT, documentation under Creative Commons Attribution 4.0.