Skip to content

Commit

Permalink
Replace all imports
Browse files Browse the repository at this point in the history
  • Loading branch information
agatemosu committed Aug 5, 2024
1 parent f765754 commit 52a18c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@
<link rel="preload" href="./assets/check.svg" as="image" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/monolith.min.css"
href="https://cdn.jsdelivr.net/npm/@simonwep/pickr@1.9.1/dist/themes/monolith.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/Sortable.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/pickr.min.js"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
</head>
<body>
<div id="blackout" data-visibility="hidden"></div>
Expand Down
5 changes: 4 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const hash = location.hash.substring(1);
import Pickr from "https://esm.run/@simonwep/[email protected]";
import html2canvas from "https://esm.run/[email protected]";
import { Sortable } from "https://esm.run/[email protected]";

const defaultColors = [
"#ff7f7e",
"#ffbf7f",
Expand Down

0 comments on commit 52a18c4

Please sign in to comment.