The MIZ framework offers extensive options for customizing sizes, including width and height. This guide explains how to customize sizes using SCSS variables.
In MIZ, the following variables are used for size customization:
To customize width and height, you can use the $conf-width and $conf-height variables. These variables include two main settings:
Users can customize these settings according to their needs.
By using the responsive setting, users can specify whether they want to use the classes responsively. For example, if a user has a container that should be 100% wide on desktop and 50% wide on mobile, they can configure it as follows:
$conf-width: ( count: 50, responsive: true );
SCSS
Also, by using the count setting, users can specify the number of classes they want. For example, if the count value is 50, the classes will be incremented from 0 by 2 until reaching 100.
For the count setting, if a user sets the value to 50, the classes will be generated as follows: from 0 to 100 incremented by 2. The MIZ framework uses the formula (count / 100) to determine the number of classes.