Added Icon Maker mockup

Update .gitignore, ico-maker.yml, and 9 more files...
This commit is contained in:
2025-03-05 23:47:05 +01:00
parent 11c25a1f52
commit e9a2fb97f8
11 changed files with 290 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
.cursor-pointer {
cursor: pointer;
}

View File

@@ -0,0 +1,24 @@
/**!
* NibblePoker Ico Maker
* @author Herwin Bozet <herwin.bozet@nibblepoker.lu>
* @license Public Domain
*/
import {Sortable} from "../../../SortableJS/1.15.6/modular/sortable.core.esm.js"
export const appletId = "ico-maker";
{
const eIconPartsContainer = document.getElementById(`${appletId}-icon-parts-list`);
window.onload = function () {
// Setting up SortableJS
let sortable = Sortable.create(eIconPartsContainer, {
animation: 125, // ms, animation speed moving items when sorting, `0` — without animation
easing: "cubic-bezier(1, 0, 0, 1)", // Easing for animation. Defaults to null. See https://easings.net/ for examples.
});
};
}