Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const inter = Inter({

export const metadata: Metadata = {
title: "Data Exchange - Unlock Your Data",
description: "Monetize your insights securely. Built on Walrus, Seal, and Nautilus for unstoppable decentralized data trading.",
description:
"Monetize your insights securely. Built on Walrus, Seal, and Nautilus for unstoppable decentralized data trading.",
};

export default function RootLayout({
Expand All @@ -39,8 +40,8 @@ export default function RootLayout({
(function() {
try {
const stored = localStorage.getItem('theme');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const shouldBeDark = stored === 'dark' || (!stored && prefersDark);
// Default to light theme unless 'dark' is explicitly set
const shouldBeDark = stored === 'dark';
if (shouldBeDark) {
document.documentElement.classList.add('dark');
} else {
Expand Down