Fix Lenis detection

main
Elbert Alias 2 years ago
parent 8d4e20a3bc
commit db07f17b5a

@ -41,6 +41,6 @@
"puppeteer": "~14.1.0" "puppeteer": "~14.1.0"
}, },
"engines": { "engines": {
"node": ">=14" "node": ">=16"
} }
} }

@ -1,11 +1,4 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3707_2)"> <rect width="128" height="128" fill="#FF98A2"/>
<path d="M32 0H0V32H32V0Z" fill="#FF98A2"/> <path d="M115.007 49.8312L64.4685 100.056H54.3236C53.9937 100.055 53.6713 99.9581 53.3972 99.7759C53.123 99.5936 52.9094 99.3347 52.7834 99.0317C52.6574 98.7288 52.6246 98.3955 52.6893 98.0741C52.754 97.7527 52.9132 97.4575 53.1467 97.2261L67.429 83.0225C68.5522 81.9041 69.1829 80.3884 69.1826 78.8082V36.7309C69.1826 36.513 69.2259 36.2972 69.31 36.096C69.3941 35.8947 69.5173 35.7119 69.6726 35.5581L77.3906 27.8881C78.9746 27.8995 80.4899 28.5328 81.6059 29.65C82.722 30.7672 83.3483 32.2776 83.3482 33.8518V45.8289C83.3487 46.3512 83.2454 46.8684 83.0446 47.351C82.8439 47.8337 82.5494 48.2723 82.178 48.6418L81.0811 49.7318L81.2845 49.9969L100.011 31.3967V8.96328H99.6775V17.1965C99.6762 17.4095 99.6061 17.6165 99.4775 17.7869C99.3488 17.9573 99.1685 18.0821 98.9631 18.143C98.7576 18.2039 98.538 18.1975 98.3365 18.125C98.135 18.0524 97.9624 17.9174 97.8439 17.7399C96.6334 15.888 94.9764 14.3662 93.0236 13.3125C91.0708 12.2588 88.8841 11.7068 86.6621 11.7066H70.9929L57.2907 25.3734L51.9565 30.6745C51.7232 30.9056 51.4262 31.0629 51.103 31.1264C50.7798 31.1899 50.445 31.1568 50.1407 31.0313C49.8364 30.9058 49.5764 30.6936 49.3934 30.4213C49.2105 30.149 49.1128 29.829 49.1127 29.5016V8.95996H48.7793V18.4621C48.7797 18.6886 48.7022 18.9083 48.5597 19.0851C48.4173 19.2618 48.2183 19.3848 47.9959 19.4339C47.7735 19.483 47.5409 19.4551 47.3365 19.3549C47.1322 19.2547 46.9685 19.0882 46.8724 18.8829C44.2053 13.1942 40.1213 11.7 40.1213 11.7L21.0015 30.4823L21.235 30.7175L22.0784 29.8893C25.5922 26.4469 31.5733 28.448 32.2367 33.3084C32.3793 34.3771 32.4483 35.4542 32.4434 36.5321V98.0113L11.52 118.805L11.7567 119.04L12.5768 118.225C13.699 117.107 15.2217 116.476 16.8109 116.472H77.3039L110.269 83.5129C111.394 82.395 112.026 80.8792 112.026 79.2985V55.6856C112.027 54.1049 112.659 52.5891 113.783 51.4712L115.2 50.0631L115.007 49.8312ZM49.1494 51.3056V33.9412L55.2437 27.8848H72.8899C73.22 27.8842 73.5428 27.981 73.8175 28.163C74.0922 28.345 74.3063 28.604 74.4327 28.907C74.5591 29.2101 74.5921 29.5436 74.5276 29.8653C74.463 30.1871 74.3038 30.4825 74.0701 30.7142L51.9899 52.6573C51.7567 52.8896 51.4594 53.0479 51.1357 53.112C50.8119 53.1762 50.4763 53.1434 50.1713 53.0178C49.8663 52.8921 49.6058 52.6793 49.4227 52.4064C49.2395 52.1334 49.1422 51.8125 49.1427 51.4845L49.1494 51.3056ZM49.1494 55.944L52.5232 52.5878V78.0793L49.1427 81.4388L49.1494 55.944ZM49.8162 100.046H34.9171C34.587 100.046 34.2641 99.9493 33.9894 99.7673C33.7148 99.5853 33.5007 99.3264 33.3743 99.0233C33.2479 98.7203 33.2148 98.3867 33.2794 98.065C33.3439 97.7432 33.5032 97.4478 33.737 97.2161L49.6761 81.3792C49.909 81.1471 50.2061 80.9889 50.5295 80.9247C50.853 80.8604 51.1883 80.8929 51.4931 81.0181C51.798 81.1433 52.0585 81.3556 52.2419 81.6281C52.4252 81.9005 52.5232 82.2209 52.5232 82.5487V97.3354L49.8162 100.046ZM95.3967 97.4447C95.3965 97.7083 95.291 97.9609 95.1034 98.1471L93.4898 99.754C93.3025 99.9405 93.0482 100.045 92.783 100.046H68.9526C68.6224 100.046 68.2996 99.9493 68.0249 99.7673C67.7502 99.5853 67.5361 99.3264 67.4097 99.0233C67.2832 98.7203 67.2503 98.3867 67.3148 98.065C67.3794 97.7432 67.5386 97.4478 67.7724 97.2161L92.553 72.5927C92.7863 72.3615 93.0833 72.2043 93.4065 72.1408C93.7297 72.0773 94.0645 72.1103 94.3687 72.2358C94.673 72.3613 94.9331 72.5736 95.1161 72.8458C95.299 73.1181 95.3967 73.4381 95.3967 73.7655V97.4447Z" fill="#0E0E0E"/>
<path d="M8.79849 16.3962C8.2033 15.3567 7.83768 14.4109 7.70164 13.5588C7.5826 12.6896 7.66763 11.8631 7.95672 11.0792C8.24581 10.2782 8.73046 9.47728 9.41068 8.67632C10.0909 7.85832 10.9497 6.97215 11.987 6.01781C11.6299 6.56315 11.3833 7.09996 11.2473 7.62825C11.1282 8.15655 11.1197 8.72744 11.2217 9.34094C11.3238 9.95444 11.5363 10.6361 11.8595 11.386C12.1996 12.1358 12.6417 12.9964 13.1859 13.9678C13.8321 15.1266 14.1722 16.1406 14.2062 17.0097C14.2572 17.8618 14.0702 18.6542 13.645 19.387C13.2199 20.1198 12.5907 20.8185 11.7574 21.4832C10.9242 22.1478 9.94635 22.855 8.82399 23.6049C9.26613 23.264 9.62325 22.8976 9.89534 22.5057C10.1674 22.0967 10.3205 21.6195 10.3545 21.0742C10.3885 20.5118 10.2779 19.8557 10.0229 19.1059C9.7848 18.356 9.37667 17.4528 8.79849 16.3962ZM18.8997 1.79999C19.5969 1.79999 20.2346 1.91076 20.8128 2.1323C21.391 2.3368 21.8841 2.63503 22.2923 3.02699C22.7004 3.40191 23.015 3.86204 23.2361 4.40737C23.4571 4.93566 23.5677 5.5236 23.5677 6.17119C23.5677 7.55156 22.998 8.93194 21.8586 10.3123C20.7193 11.6757 18.9847 13.1072 16.655 14.6068C17.3352 14.1297 17.8879 13.6951 18.313 13.3032C18.7551 12.9112 19.0953 12.5278 19.3333 12.1528C19.5714 11.7609 19.733 11.3689 19.818 10.977C19.92 10.568 19.971 10.1164 19.971 9.62213C19.971 8.94046 19.852 8.31844 19.6139 7.75607C19.3929 7.17665 19.0697 6.69096 18.6446 6.299C18.2195 5.90704 17.7093 5.60029 17.1141 5.37875C16.5189 5.15721 15.8557 5.04644 15.1245 5.04644C14.5803 5.04644 14.0532 5.08904 13.543 5.17425C13.0498 5.25946 12.5822 5.49804 12.14 5.89C12.5822 5.42987 13.0498 4.96123 13.543 4.48406C14.0361 3.98985 14.5633 3.54676 15.1245 3.15481C15.6857 2.7458 16.2724 2.42201 16.8846 2.18343C17.5138 1.9278 18.1855 1.79999 18.8997 1.79999ZM17.2417 30.2C16.2554 30.2 15.3371 30.0296 14.4868 29.6887C13.6535 29.3479 12.8288 28.973 12.0125 28.564C11.2132 28.155 10.397 27.7801 9.56373 27.4392C8.73046 27.0984 7.82918 26.928 6.85987 26.928C6.48575 26.928 6.14564 26.9536 5.83954 27.0047C5.55045 27.0558 5.25286 27.1666 4.94676 27.337C4.64066 27.5074 4.30905 27.763 3.95194 28.1039C3.57782 28.4277 3.12718 28.8622 2.60001 29.4076C3.72237 28.0954 4.69168 27.0473 5.50794 26.2634C6.3242 25.4624 7.02142 24.8574 7.5996 24.4484C8.19479 24.0224 8.69645 23.7412 9.10458 23.6049C9.52972 23.4685 9.92084 23.4004 10.2779 23.4004C11.2643 23.4004 12.2336 23.5623 13.1859 23.886C14.1382 24.2098 15.065 24.5677 15.9663 24.9597C16.8846 25.3516 17.7773 25.7095 18.6446 26.0333C19.5119 26.3571 20.3537 26.519 21.1699 26.519C21.6631 26.519 22.0882 26.4508 22.4453 26.3145C22.8024 26.1611 23.1085 25.9651 23.3636 25.7266C22.8024 26.5957 22.2668 27.32 21.7566 27.8994C21.2464 28.4617 20.7363 28.9134 20.2261 29.2542C19.733 29.595 19.2398 29.8336 18.7466 29.9699C18.2535 30.1233 17.7518 30.2 17.2417 30.2ZM23.5167 25.5987C23.6357 25.3772 23.7207 25.1301 23.7717 24.8574C23.8398 24.5677 23.8738 24.278 23.8738 23.9883C23.8738 23.2214 23.6867 22.4716 23.3126 21.7388C22.9385 20.989 22.4283 20.2647 21.7821 19.566L26.093 15.6805C26.3311 16.0213 26.5436 16.3451 26.7307 16.6518C26.9348 16.9416 27.1048 17.2398 27.2409 17.5465C27.3939 17.8362 27.5044 18.143 27.5725 18.4668C27.6575 18.7906 27.7 19.1399 27.7 19.5149C27.7 20.5033 27.3259 21.4832 26.5776 22.4545C25.8294 23.4259 24.8091 24.474 23.5167 25.5987Z" fill="#0E0E0E"/>
</g>
<defs>
<clipPath id="clip0_3707_2">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

@ -1565,14 +1565,14 @@
}, },
"hyva": { "hyva": {
"cats": [ "cats": [
6 19
], ],
"description": "Hyvä themes is a frontend for Magento 2.", "description": "Hyvä themes is a frontend for Magento 2.",
"headers": { "headers": {
"X-Built-With": "^Hyva Themes$" "X-Built-With": "^Hyva Themes$"
}, },
"icon": "Hyva.svg", "icon": "Hyva.svg",
"implies": "Magento", "implies": "Magento\\;version:2",
"pricing": [ "pricing": [
"onetime" "onetime"
], ],

@ -1014,6 +1014,7 @@
"js": { "js": {
"Pearl": "" "Pearl": ""
}, },
"implies": "Magento\\;version:2",
"pricing": [ "pricing": [
"high", "high",
"onetime" "onetime"