Open bentatum opened 6 years ago
space for MdLayout
?
I noticed that here. https://github.com/vuematerial/vue-material/blob/dev/src/components/MdLayout/variables.scss
Mystery solved if the rest if all components referenced these values. Doesn't appear to be the case.
:/
I can contribute a PR if contributors think something like this would make sense.
That value is from material design (Margins and Gutters). It's only for MdLayout
.
thanks @VdustR I realize that.
I think this library would benefit from having some standard way of handling spacing values.
For example, take a look at how the leading implementation of material-ui for React does it.
Is this on the road map @marcosmoura? I'd be happy to contribute if you agree.
Is there a standard way to apply spacing values?
For instance, in React's material-ui implementation, there is a spacing.unit value that you can feed the theme upon instantiation and later used in styles.
margin-right: $spacing-unit
or
class="md-spacing-1"
Is there something like that in this library?