From f63683dad80437834ee16e89478519a812ced372 Mon Sep 17 00:00:00 2001 From: QuarkPixel Date: Thu, 18 Sep 2025 14:48:01 +0800 Subject: feat(config): make libra more customizable through config.js and libra.css --- src/config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/config.js') diff --git a/src/config.js b/src/config.js index eea8314..c306d8f 100644 --- a/src/config.js +++ b/src/config.js @@ -1,8 +1,10 @@ const config = { selector: '[data-libra]', margin: 50, - offset: { x: 0, y: 0 } -} + offset: { x: 0, y: 0 }, + transitionDuration: 200, // milliseconds + imageCursor: 'zoom-in', +}; function deepMerge(target, source) { for (const key in source) { -- cgit v1.2.3