Skip to content

Commit

Permalink
refactor: use figmar svg cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
cs50victor committed Feb 21, 2024
1 parent 6dde474 commit 83e70bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions demo/app/global.css
Original file line number Diff line number Diff line change
@@ -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;
}
2 changes: 1 addition & 1 deletion demo/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
<html
lang="en"
className={tw('font-display h-full min-h-dvh antialiased', inter.variable, display.variable)}
className={tw("font-display h-full min-h-dvh antialiased", inter.variable, display.variable)}
>
<body>
{children}
Expand Down

0 comments on commit 83e70bd

Please sign in to comment.