personal-website/assets/js/zoom.js

8 lines
219 B
JavaScript

$(document).ready(function() {
medium_zoom = mediumZoom('[data-zoomable]', {
margin: 100,
background: getComputedStyle(document.documentElement)
.getPropertyValue('--global-bg-color') + 'ee',
})
});