@use "@theholocron/config/src" as config;
@use "@theholocron/css-syntaxes/src" as syntaxes;
@use "../utils";

/// The animation-timing-function property
/// @since 0.1.0
/// @link https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function
/// @param {String} $className ["animation-timing-function"] - a CSS class name that will prefix all helpers
/// @param {Map} $breakpoints [config.$breakpoints] - a map of grid breakpoints
/// @param {Function} $timing-function [config.$cubic-bezier] - a animation timing function
/// @example scss
///   @include animation-timing-function($className: atf, $breakpoints: ("sm": 480px));
@mixin animation-timing-function($className: "animation-timing-function", $breakpoints: config.$breakpoints, $timing-function: config.$cubic-bezier) {
	@include utils.responsive-syntaxes-list($syntaxes: syntaxes.$animation-timing-function, $property: "animation-timing-function", $className: $className, $breakpoints: $breakpoints);
	@include utils.responsive-properties-map($properties: (cubic-bezier: $timing-function), $property: "animation-timing-function", $className: $className, $breakpoints: $breakpoints);
}
