Skip to content

armgit / vaul

Public Imported from GitHub
0

A drawer component for React.

Update

emilkowalski26c2ce204f1f
diff --git a/src/style.css b/src/style.css
index 7a8a655..01e3f2f 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1,6 +1,5 @@
[vaul-drawer] {
transform: translateY(var(--swipe-amount));
- user-select: none;
touch-action: none;
animation: show-dialog 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
@@ -63,3 +62,9 @@
opacity: 0;
}
}
+
+@media (hover: hover) and (pointer: fine) {
+ [vaul-drawer] {
+ user-select: none;
+ }
+}
diff --git a/website/src/app/globals.css b/website/src/app/globals.css
index 672f15f..3b047df 100644
--- a/website/src/app/globals.css
+++ b/website/src/app/globals.css
@@ -14,6 +14,10 @@ main {
min-height: -webkit-fill-available;
}
+html {
+ background: black;
+}
+
main {
min-height: 100vh;
background: white;
diff --git a/website/src/app/opengraph-image.jpg b/website/src/app/opengraph-image.jpg
index fae0b71..6d673d2 100644
Binary files a/website/src/app/opengraph-image.jpg and b/website/src/app/opengraph-image.jpg differ
diff --git a/website/src/app/page.tsx b/website/src/app/page.tsx
index d367b84..9cff654 100644
--- a/website/src/app/page.tsx
+++ b/website/src/app/page.tsx
@@ -16,6 +16,7 @@ export const metadata: Metadata = {
title: 'Emil Kowalski',
card: 'summary_large_image',
},
+ themeColor: '#000000',
};
export default function Home() {