diff --git a/public/bg-dark.png b/public/bg-dark.png new file mode 100644 index 0000000..0f61ffa Binary files /dev/null and b/public/bg-dark.png differ diff --git a/src/app/globals.css b/src/app/globals.css index 80c2101..a93a63f 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -46,4 +46,14 @@ #generate-btn:hover { background: rgb(255 255 255 / 85%); +} + +@media (prefers-color-scheme: dark) { + #generate-btn { + background: rgb(0 0 0 / 60%); + } + + #generate-btn:hover { + background: rgb(0 0 0 / 70%); + } } \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 927de47..6650084 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,12 +4,12 @@ export default function Home() { return (