//-------------------------------------
//-- Common - Config - Functions
//-------------------------------------
@use 'sass:map';

@function common-zindex($scope, $delta:0) {
	@return nwayo-zindex((
		max:          2147483647,  // For reference only do not use - 2,147,483,647

		reveal:       1000000000,
		offcanvas:     100000000,

		header:           100000,


		min:                   0   // For reference only do not use - 0

	), $scope, $delta);
}



@function common-radius($type:default) {
	@return map.get((
		default:  0,
		button:   0,
		select:   0,
		checkbox: 0,
		radio:    50%
	), $type);
}



@function common-border($width:1, $style:solid, $color:$common-border-color) {
	@return rem-calc($width) $style $color;
}
