@lydra/slidev-theme-alpaga
Version:
Alpaga is a simple and quick to set up theme for [Slidev](https://github.com/slidevjs/slidev). It's ideal for Markdown notes, booklets or cheatsheets as you can easily customize it to your business colors and identity and export to PDF.
2 lines (1 loc) • 630 B
JavaScript
import{d as r,i as s,a as i,am as c,B as u,M as d,aj as a,Q as m,an as _,ao as f,o as p,f as v,E as w,h as o,aa as t,_ as g}from"./index-362431c7.js";const h=r({__name:"DrawingLayer",setup(y){s(i);const l=s(c),e=u();return d(()=>{a.mount(e.value,e.value.parentElement),m(l,n=>a.options.coordinateScale=1/n,{immediate:!0}),_()}),f(()=>{a.unmount()}),(n,j)=>(p(),v("svg",{ref_key:"svg",ref:e,class:w(["w-full h-full absolute top-0",{"pointer-events-none":!o(t),"touch-none":o(t)}])},null,2))}}),B=g(h,[["__file","/builds/lydra/www/slidev-theme-alpaga/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{B as default};