//
// Copyright IBM Corp. 2018, 2018
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@forward '@carbon/motion';
@use '@carbon/motion';

/// Used primarily for removing elements from the screen
/// @type Function
/// @access public
/// @group global-motion
$ease-in: cubic-bezier(0.25, 0, 1, 1);

/// Used for adding elements to the screen or changing on-screen states at a users's input
/// @type Function
/// @access public
/// @group global-motion
$ease-out: cubic-bezier(0, 0, 0.25, 1);

/// Used for the majority of animations
/// @type Function
/// @access public
/// @group global-motion
$standard-easing: cubic-bezier(0.5, 0, 0.1, 1);

/// Base transition duration
/// @type Number
/// @access public
/// @group global-motion
$transition--base: 250ms;

/// Expansion duration
/// @type Number
/// @access public
/// @group global-motion
$transition--expansion: 300ms;

/// Default ease-in for components
/// @access public
/// @type Function
/// @group global-motion
$ease-in: cubic-bezier(0, 0, 0.38, 0.9);

/// Default ease-out for components
/// @access public
/// @type Function
/// @group global-motion
$ease-out: cubic-bezier(0.2, 0, 1, 0.9);

/// Default easing for components
/// @access public
/// @type Function
/// @group global-motion
$standard-easing: cubic-bezier(0.2, 0, 0.38, 0.9);

/// @access public
/// @group global-motion
/// @alias duration--fast-02
$transition--base: motion.$duration-fast-02;

/// @access public
/// @group global-motion
/// @alias duration--moderate-02
$transition--expansion: motion.$duration-moderate-02;
