UNPKG

ranui

Version:

UI Component library based on `Web Component`

5 lines (4 loc) 2.09 kB
const loadingScene = { "success": true, "_identification": true, "data": ' <svg\n version="1.1"\n id="dc-spinner"\n xmlns="http://www.w3.org/2000/svg"\n x="0px" y="0px"\n width="38"\n height="38"\n viewBox="0 0 38 38"\n preserveAspectRatio="xMinYMin meet"\n >\n <text x="14" y="21" font-family="Monaco" font-size="2px" style="letter-spacing:0.6" fill="grey">LOADING\n <animate\n attributeName="opacity"\n values="0;1;0" dur="1.8s"\n repeatCount="indefinite"/>\n </text>\n <path fill="#373a42" d="M20,35c-8.271,0-15-6.729-15-15S11.729,5,20,5s15,6.729,15,15S28.271,35,20,35z M20,5.203\n C11.841,5.203,5.203,11.841,5.203,20c0,8.159,6.638,14.797,14.797,14.797S34.797,28.159,34.797,20\n C34.797,11.841,28.159,5.203,20,5.203z">\n </path>\n\n <path fill="#373a42" d="M20,33.125c-7.237,0-13.125-5.888-13.125-13.125S12.763,6.875,20,6.875S33.125,12.763,33.125,20\n S27.237,33.125,20,33.125z M20,7.078C12.875,7.078,7.078,12.875,7.078,20c0,7.125,5.797,12.922,12.922,12.922\n S32.922,27.125,32.922,20C32.922,12.875,27.125,7.078,20,7.078z">\n </path>\n\n <path fill="#2AA198" stroke="#2AA198" stroke-width="0.6027" stroke-miterlimit="10" d="M5.203,20\n c0-8.159,6.638-14.797,14.797-14.797V5C11.729,5,5,11.729,5,20s6.729,15,15,15v-0.203C11.841,34.797,5.203,28.159,5.203,20z">\n <animateTransform\n attributeName="transform"\n type="rotate"\n from="0 20 20"\n to="360 20 20"\n calcMode="spline"\n keySplines="0.4, 0, 0.2, 1"\n keyTimes="0;1"\n dur="2s"\n repeatCount="indefinite" />\n </path>\n\n <path fill="#859900" stroke="#859900" stroke-width="0.2027" stroke-miterlimit="10" d="M7.078,20\n c0-7.125,5.797-12.922,12.922-12.922V6.875C12.763,6.875,6.875,12.763,6.875,20S12.763,33.125,20,33.125v-0.203\n C12.875,32.922,7.078,27.125,7.078,20z">\n <animateTransform\n attributeName="transform"\n type="rotate"\n from="0 20 20"\n to="360 20 20"\n dur="1.8s"\n repeatCount="indefinite" />\n </path>\n </svg>\n' }; export { loadingScene as default };