From 83e70bd7c99352a23ed61b0b2464f858e34c2063 Mon Sep 17 00:00:00 2001 From: "Victor A." <52110451+cs50victor@users.noreply.github.com> Date: Wed, 21 Feb 2024 01:27:59 -0500 Subject: [PATCH] refactor: use figmar svg cursor --- demo/app/global.css | 4 ++++ demo/app/layout.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/demo/app/global.css b/demo/app/global.css index b5c61c9..678869e 100644 --- a/demo/app/global.css +++ b/demo/app/global.css @@ -1,3 +1,7 @@ @tailwind base; @tailwind components; @tailwind utilities; + +body { + cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='31'%20fill='none'%20viewBox='0%200%2026%2031'%3E%3Cpath%20fill='%23fff'%20fill-rule='evenodd'%20stroke='%23010101'%20stroke-linecap='square'%20stroke-width='2.5'%20d='M21.993%2014.425%202.549%202.935l4.444%2023.108%204.653-10.002%2010.347-1.616Z'%20clip-rule='evenodd'/%3E%3C/svg%3E"), grab; +} \ No newline at end of file diff --git a/demo/app/layout.tsx b/demo/app/layout.tsx index 67e8ba2..eec2690 100644 --- a/demo/app/layout.tsx +++ b/demo/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) return ( {children}