@import "../common/uedBase";

// 间距大小
@function uedGrid($grid, $size: 'default') {
    @if $size == 'medium' {
        @return map-get($map: $grid-medium-list, $key: $grid);
    } @else if $size == 'mini'{
        @return map-get($map: $grid-mini-list, $key: $grid);
    } @else {
        @return map-get($map: $grid-list, $key: $grid);
    }
}

// 字体大小
@function uedFontSize($fontSize, $size: 'default') {
    @if $size == 'medium' {
        @return map-get($map: $font-size-medium-list, $key: $fontSize);
    } @else if $size == 'mini'{
        @return map-get($map: $font-size-mini-list, $key: $fontSize);
    } @else {
        @return map-get($map: $font-size-list, $key: $fontSize);
    }
}