diff --git a/app/ThemeProvider.js b/app/ThemeProvider.js deleted file mode 100644 index 3017498..0000000 --- a/app/ThemeProvider.js +++ /dev/null @@ -1,11 +0,0 @@ -"use client"; - -import { ThemeProvider as NextThemesProvider } from "next-themes"; - -export function ThemeProvider({ children }) { - return ( - - {children} - - ); -} \ No newline at end of file diff --git a/app/globals.css b/app/globals.css index 4011b8b..a2dc41e 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,7 +1,4 @@ @import "tailwindcss"; -@theme { - --variant-dark: (&:is(.dark *)); -} :root { --background: #ffffff; diff --git a/app/layout.js b/app/layout.js index f2e0ef9..da11b20 100644 --- a/app/layout.js +++ b/app/layout.js @@ -1,6 +1,4 @@ import { Geist, Geist_Mono } from "next/font/google"; -import { ThemeProvider } from "./ThemeProvider"; -import { ThemeToggle } from "../components/ThemeToggle"; import "./globals.css"; const geistSans = Geist({ @@ -16,28 +14,16 @@ const geistMono = Geist_Mono({ export const metadata = { title: "DIGR — find underground music you've never heard of", description: "Describe a vibe, drop some artists you like, and DIGR finds underground artists the algorithm never shows you.", -}; +} export default function RootLayout({ children }) { return ( - - - - - {/* This puts the button in the top right corner */} -
- -
- - {children} - -
- - + {children} ); -} \ No newline at end of file +} + diff --git a/components/ThemeToggle.js b/components/ThemeToggle.js deleted file mode 100644 index 7cd606c..0000000 --- a/components/ThemeToggle.js +++ /dev/null @@ -1,26 +0,0 @@ -"use client"; - -import { useTheme } from "next-themes"; -import { useEffect, useState } from "react"; - -export function ThemeToggle() { - const { theme, setTheme } = useTheme(); - const [mounted, setMounted] = useState(false); - - useEffect(() => { - setMounted(true); - }, []); - - if (!mounted) { - return null; - } - - return ( - - ); -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 91402ba..6f224c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "@google/generative-ai": "^0.24.1", "groq-sdk": "^1.2.0", "next": "16.2.6", - "next-themes": "^0.4.6", "react": "19.2.4", "react-dom": "19.2.4" }, @@ -66,6 +65,7 @@ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", @@ -1612,6 +1612,7 @@ "integrity": "sha512-plR3pp6D+SSUn1HM7xvSkx12/DhoHInI2YF35KAcVFNZvlC0gtrWqx7Qq1oH2Ssgi0vlFRCTbP+DZc7B9+TtsQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.59.2", "@typescript-eslint/types": "8.59.2", @@ -2137,6 +2138,7 @@ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2480,6 +2482,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "baseline-browser-mapping": "^2.10.12", "caniuse-lite": "^1.0.30001782", @@ -3040,6 +3043,7 @@ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -3225,6 +3229,7 @@ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -5006,16 +5011,6 @@ } } }, - "node_modules/next-themes": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz", - "integrity": "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==", - "license": "MIT", - "peerDependencies": { - "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" - } - }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", @@ -5417,6 +5412,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -5426,6 +5422,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -6117,6 +6114,7 @@ "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -6548,6 +6546,7 @@ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index 8f2fd39..a09572c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "@google/generative-ai": "^0.24.1", "groq-sdk": "^1.2.0", "next": "16.2.6", - "next-themes": "^0.4.6", "react": "19.2.4", "react-dom": "19.2.4" },