@sandlada/mdk
Version:
A JavaScript library based on Material Design 3, providing data such as color, shape, shadow level, etc.
25 lines (24 loc) • 1.59 kB
JavaScript
export class Easing {
static Standard = 'cubic-bezier(0.20, 0.00, 0.0, 1.00)';
static StandardAccelerate = 'cubic-bezier(0.30, 0.00, 1.0, 1.00)';
static StandardDecelerate = 'cubic-bezier(0.00, 0.00, 0.0, 1.00)';
static Emphasized = 'cubic-bezier(0.20, 0.00, 0.0, 1.00)';
static EmphasizedAccelerate = 'cubic-bezier(0.30, 0.00, 0.8, 0.15)';
static EmphasizedDecelerate = 'cubic-bezier(0.05, 0.70, 0.1, 1.00)';
static Legacy = 'cubic-bezier(0.40, 0.00, 0.2, 1.00)';
static LegacyAccelerate = 'cubic-bezier(0.40, 0.00, 1.0, 1.00)';
static LegacyDecelerate = 'cubic-bezier(0.00, 0.00, 0.2, 1.00)';
static Linear = 'cubic-bezier(0.00, 0.00, 1.0, 1.00)';
static ExpressiveFastSpatial = 'cubic-bezier(0.42, 1.67, 0.21, 0.90)';
static ExpressiveDefaultSpatial = 'cubic-bezier(0.38, 1.21, 0.22, 1.00)';
static ExpressiveSlowSpatial = 'cubic-bezier(0.39, 1.29, 0.35, 0.98)';
static ExpressiveFastEffects = 'cubic-bezier(0.31, 0.94, 0.34, 1.00)';
static ExpressiveDefaultEffects = 'cubic-bezier(0.34, 0.80, 0.34, 1.00)';
static ExpressiveSlowEffects = 'cubic-bezier(0.34, 0.88, 0.34, 1.00)';
static StandardFastSpatial = 'cubic-bezier(0.27, 1.06, 0.18, 1.00)';
static StandardDefaultSpatial = 'cubic-bezier(0.27, 1.06, 0.18, 1.00)';
static StandardSlowSpatial = 'cubic-bezier(0.27, 1.06, 0.18, 1.00)';
static StandardFastEffects = 'cubic-bezier(0.31, 0.94, 0.34, 1.00)';
static StandardDefaultEffects = 'cubic-bezier(0.34, 0.80, 0.34, 1.00)';
static StandardSlowEffects = 'cubic-bezier(0.34, 0.88, 0.34, 1.00)';
}