mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 22:26:38 +03:00
Restyle the live picker to match the site kinpaku kit, persist pick mode in localStorage, fix DESIGN.md color swatches in the parser, and land the neo-kinpaku site refresh with new tokens, assets, palette script, and detector rules. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
267 B
JavaScript
14 lines
267 B
JavaScript
import { initSplitCompare } from "../effects/split-compare.js";
|
|
|
|
export function initLensEffect() {
|
|
const container = document.getElementById("lens-comparison");
|
|
if (!container) return;
|
|
|
|
initSplitCompare(container, {
|
|
defaultPosition: 50,
|
|
skewAngle: 0
|
|
});
|
|
}
|
|
|
|
|