auto-save 2026-05-12 15:47 (+2, ~3)
This commit is contained in:
12
web/lib/constants.ts
Normal file
12
web/lib/constants.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export const SLIDER_CONSTANTS = {
|
||||
DRAG_RESISTANCE: 0.4,
|
||||
SWIPE_THRESHOLD_PERCENT: 0.08,
|
||||
VELOCITY_THRESHOLD: 0.3,
|
||||
WHEEL_RESISTANCE: 0.3,
|
||||
WHEEL_SCROLL_THRESHOLD: 120,
|
||||
WHEEL_RESET_DELAY: 150,
|
||||
MOMENTUM_EASING: 0.1,
|
||||
ANIMATION_TIMEOUT: 800,
|
||||
} as const
|
||||
|
||||
export const DEFAULT_COLORS = ["#1a1a2e", "#16213e", "#0f3460"] as const
|
||||
Reference in New Issue
Block a user