Skip to main content
Version: Next

Custom Spacing

Config

In osmi.config.js, you can define custom spacing and it will automatically generate pre-defined padding, margin, and position (top, left, right, bottom)

Example:

export default {
spacing: {
30: 120,
77: 154,
},
};

Usage

apply("m-30 p-77");