// RIVER Design-System: System - Functions / Shorthand //

// Shorthand function names for common design system funtions; this is an optional aspect of the design system.
// Be mindful these do not conflict with any of your own functions, or other frameworks.

// Shorthand for design-variable
// Reach for a design variable, providing as many keys / defaults as desired
@function v($keys...) {
    @return design-variable($keys...);
}

// Shorthand for design-value
// Reach for a design value, providing as many keys / defaults as desired
@function val($keys...) {
    @return design-value($keys...);
}

// Shorthand for design-type-scale-value
// Get a type scale value based on the index and multiplier
@function scale-val($n: 1, $base: null, $multiplier: null) {
    @return design-type-scale-value($n, $base, $multiplier);
}

// Shorthand for design-size-scale-value
// Get a size scale value based on the index and increments
@function size-val($n: 1, $base: null, $increments: null) {
    @return design-size-scale-value($n, $base, $increments);
}
