@function duration($transition) {
    @if $transition == "open" {
        @return 250ms;
    } @else if $transition == "close" {
        @return 200ms;
    }

    @if $transition == "expand" {
        @return 300ms;
    } @else if $transition == "collapse" {
        @return 250ms;
    }

    @if $transition == "in-place" {
        @return 100ms;
    }
}

@function easing($easing: "default") {
    @if $easing == "ease-out-back" {
        @return cubic-bezier(0.66, 3, 0.64, 1);
    }

    @return cubic-bezier(0.4, 0, 0.2, 1);
}
