Set input style globally



  • I am creating a webstie with a lot of form fields. I happen to like the “outlined” look of the input fields best.
    It would be nice if I could define the style of my input fields in one place., instead of setting the “outlined” attribute on every single field. The same goes for “dense”

    I guess it is pretty common, that you would like all input fields in your app to have the same style. Is this possible?

    I know I can extend the components and make my own, that are outlined and dense by default. But given that there are a lot of different input types, some kind of global style setting would be more elegant.


Log in to reply