From 4e9c7e0adef6a9e388a5f8f7c97430a53a2f7238 Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 2 Oct 2023 11:43:48 -0400 Subject: [PATCH 1/2] Add custom cursor with ICO files --- css/app.main.css | 4 ++++ css/cursor-pointer.ico | Bin 0 -> 4286 bytes css/cursor.ico | Bin 0 -> 3006 bytes css/landing.css | 4 +++- css/search.main.css | 4 ++++ 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 css/cursor-pointer.ico create mode 100644 css/cursor.ico diff --git a/css/app.main.css b/css/app.main.css index c3cc292e..61057626 100644 --- a/css/app.main.css +++ b/css/app.main.css @@ -742,6 +742,10 @@ body { background-color: #909098; } + +body {cursor: url('/static/cursor.ico'), default} +a {cursor: url('/static/cursor-pointer.ico'), pointer} + p { color: #fff; } diff --git a/css/cursor-pointer.ico b/css/cursor-pointer.ico new file mode 100644 index 0000000000000000000000000000000000000000..d3188b032544f65106b311845f253df29c4504ad GIT binary patch literal 4286 zcmd6qduS9_6viiYVM!B{-L1~9JF_zr@^%d|YJw){uBhFL4=`z~Myv*EC}~Y9)V3i| zmzZcFYfz&mu`T{3i1OjNp+C<5Rv3mc;_VuRwRFh zVjDS5x!eyAvjb2Av?xQ><9&})KKhQceN(5lsNwKAJreoF(6ry(3h&*U5ef}D@lW;(vdux0jj};ilpo4U%IVYH-)GEb{^m_PnNMD?H(|#| zopsJr+_$Z5AS-OTaUQ^u{hq8@tm7;&t+%l3BjKh2yAfHQ$-PYu9&zADlkD*UGoB8)gK9pK;vZ@Ay2cY~~LPTo-&W zhE2Ye?Jq2Rhu2zSS##Fe<~(pdV-G#ed@DOQH@6Awd(~BSw0G~77sj7AXCXxt<@^|5 z>~CPdj(y>FSxE);_IzW@9vuA1w%+v1X&H~LAzf8(g3s)z-|ugO-@lcYR*L+zv(wji zfmW_~J1hKEE4L7M_rb0QyAZkdcXd@Q_4a;iYk$WlXDM1ao9b#8+qT<{H(g!x`cBTl z#~zO-jxkKZdGKYlvYJwn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;V0+`H|C8+}Y z@nuixD)Lr6!nMxt&^V5Fu}9WI8hkBB?9VP$4KkGvaGlFM+*=4zi$S~<@??IW6 zp#BFYgNbG}%?h)^b3z+>N`vBelf|EIRumMjaX;VZXF0YFn#F%VkQuT-36K-&fH0m3 IGD8;VZy6TcF8}}l literal 0 HcmV?d00001 diff --git a/css/landing.css b/css/landing.css index bc84312d..fc4fe6a0 100644 --- a/css/landing.css +++ b/css/landing.css @@ -695,7 +695,7 @@ body { font-family: ubuntu, sans-serif; margin: auto; max-width: 1920px; - font-size: 16px; + font-size: 16px; display: flex; min-height: 100vh; flex-direction: column; @@ -704,6 +704,8 @@ body { animation: gradient 64s ease infinite; background-size: 400% 400%; } +body {cursor: url('/static/cursor.ico'), default} +a {cursor: url('/static/cursor-pointer.ico'), pointer} @keyframes gradient { 0% { background-position: 0 50%; diff --git a/css/search.main.css b/css/search.main.css index 739559ec..911c7508 100644 --- a/css/search.main.css +++ b/css/search.main.css @@ -102,6 +102,10 @@ h5, h6 { color: var(--text-primary); } + +body {cursor: url('/static/cursor.ico'), default} +a {cursor: url('/static/cursor-pointer.ico'), pointer} + .divider { flex-grow: 1; } From f8bb7054362d52fb9923adab2d3f265b42e02899 Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 2 Oct 2023 11:44:02 -0400 Subject: [PATCH 2/2] Allow Yarn, but not PNPM and Bun --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bdd1c467..f8825726 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,10 @@ "toobusy-js": "^0.5.1" }, "engines": { - "node": "16.x" + "node": ">=18.0.0", + "yarn": ">=1.22.0", + "pnpm": "Please use NPM or Yarn instead", + "bun": "Please use NPM or Yarn instead" }, "repository": { "url": "https://github.com/ashpotter/poketube"