auto-save 2026-05-12 15:47 (+2, ~3)

This commit is contained in:
2026-05-12 15:51:42 +08:00
parent bbd41fad52
commit 2e45ad9d16
96 changed files with 10989 additions and 1 deletions

12
web/lib/constants.ts Normal file
View 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