diff --git a/src/plugins/loading.ts b/src/plugins/loading.ts new file mode 100644 index 0000000..eaa454f --- /dev/null +++ b/src/plugins/loading.ts @@ -0,0 +1,67 @@ +// export function setupLoading() { +// const loading = `.container { +// --uib-size: 40px; +// --uib-color: black; +// --uib-speed: 1.4s; +// --uib-bg-opacity: 0.1; +// height: var(--uib-size); +// width: var(--uib-size); +// transform-origin: center; +// overflow: visible; +// } + +// .car { +// fill: none; +// stroke: var(--uib-color); +// stroke-dasharray: 15, 85; +// stroke-dashoffset: 0; +// stroke-linecap: round; +// animation: travel var(--uib-speed) linear infinite; +// will-change: stroke-dasharray, stroke-dashoffset; +// transition: stroke 0.5s ease; +// } + +// .track { +// stroke: var(--uib-color); +// opacity: var(--uib-bg-opacity); +// transition: stroke 0.5s ease; +// } + +// @keyframes travel { +// 0% { +// stroke-dashoffset: 0; +// } + +// 100% { +// stroke-dashoffset: -100; +// } +// } + +// +// +// +// +// +// +// `; + +// const app = document.getElementById('root')!; +// app.innerHTML = loading; +// }