Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions src/app/ClientLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import { ToastProvider } from '@/components/ui/Toast';
import Header from '@/components/layout/Header';
import Footer from '@/components/layout/Footer';
import { useAccount } from 'wagmi';

Check warning on line 8 in src/app/ClientLayout.tsx

View workflow job for this annotation

GitHub Actions / Lint, Type-check & Build

'useAccount' is defined but never used

Check warning on line 8 in src/app/ClientLayout.tsx

View workflow job for this annotation

GitHub Actions / Lint, Type-check & Build

'useAccount' is defined but never used
import { sepolia, mainnet } from 'wagmi/chains';

Check warning on line 9 in src/app/ClientLayout.tsx

View workflow job for this annotation

GitHub Actions / Lint, Type-check & Build

'mainnet' is defined but never used

Check warning on line 9 in src/app/ClientLayout.tsx

View workflow job for this annotation

GitHub Actions / Lint, Type-check & Build

'mainnet' is defined but never used
import { type SupportedChainId } from '@/config/chains';
import { SessionResetProvider } from '@/lib/reset-session';

Expand Down Expand Up @@ -91,7 +91,7 @@

export default function ClientLayout({ children }: { children: React.ReactNode }) {
const [theme, setTheme] = useState<Theme>('light');
const [designTheme, setDesignThemeState] = useState<DesignTheme>('charcoal');
const [designTheme, setDesignThemeState] = useState<DesignTheme>('midnight');

// Load theme and design direction from localStorage on mount
useEffect(() => {
Expand All @@ -106,8 +106,8 @@
setDesignThemeState(savedDesign);
document.documentElement.setAttribute('data-design-theme', savedDesign);
} else {
setDesignThemeState('charcoal');
document.documentElement.setAttribute('data-design-theme', 'charcoal');
setDesignThemeState('midnight');
document.documentElement.setAttribute('data-design-theme', 'midnight');
}
}, []);

Expand Down
126 changes: 63 additions & 63 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ul, ol { list-style: none; }
input, select, textarea { font: inherit; border: none; outline: none; background: none; }
table { border-collapse: collapse; }

/* ---------- Global Tokens & Defaults (Nordic Charcoal Default) ---------- */
/* ---------- Global Tokens & Defaults (Nordic Midnight Default) ---------- */
:root {
/* Layout & Defaults */
--font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
Expand Down Expand Up @@ -53,7 +53,65 @@ table { border-collapse: collapse; }
--sp-16: 64px;
--sp-20: 80px;

/* Nordic Charcoal (Default) variables */
/* Nordic Midnight (Default - Clean Black & White) */
--bg-base: #000000;
--bg-surface: #09090b;
--bg-elevated: #141418;
--bg-card: rgba(20, 20, 24, 0.95);
--bg-card-hover: rgba(30, 30, 36, 0.98);
--bg-input: #000000;

--accent: #f4f4f5;
--accent-hover: #ffffff;
--accent-muted: rgba(244, 244, 245, 0.18);
--accent-subtle: rgba(244, 244, 245, 0.04);
--accent-glow: rgba(255, 255, 255, 0.1);
--zama-gold: #FFD208;
--zama-gold-glow: rgba(255, 210, 8, 0.15);

--text-primary: #ffffff;
--text-secondary: #e4e4e7;
--text-muted: #71717a;
--text-accent: #ffffff;
--text-inverse: #000000;

--success: #10b981;
--success-muted: rgba(16, 185, 129, 0.1);
--warning: #f59e0b;
--warning-muted: rgba(245, 158, 11, 0.1);
--error: #ef4444;
--error-muted: rgba(239, 68, 68, 0.1);
--info: #3b82f6;
--info-muted: rgba(59, 130, 246, 0.1);

--border: rgba(255, 255, 255, 0.35);
--border-hover: rgba(255, 255, 255, 0.55);
--border-accent: rgba(255, 255, 255, 0.8);
--border-focus: #ffffff;

--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 18px;
--radius-2xl: 24px;
--radius-full: 9999px;

--shadow-sm: 0 2px 4px rgba(0,0,0,0.6);
--shadow-md: 0 6px 18px rgba(0,0,0,0.7);
--shadow-lg: 0 20px 48px rgba(0,0,0,0.9);
--shadow-glow: 0 0 25px rgba(255, 255, 255, 0.08);

--radial-glow-1: rgba(255, 255, 255, 0.02);
--radial-glow-2: rgba(255, 255, 255, 0.01);
--grid-line: rgba(255, 255, 255, 0.022);
}

/* ==========================================================================
THEME DIRECTIONS
========================================================================== */

/* ---------- 1. NORDIC CHARCOAL THEME (DARK - BLUE ACCENT) ---------- */
html[data-design-theme='charcoal'] {
--bg-base: #0b0b0f;
--bg-surface: #121217;
--bg-elevated: #1a1a22;
Expand All @@ -66,24 +124,13 @@ table { border-collapse: collapse; }
--accent-muted: rgba(56, 189, 248, 0.18);
--accent-subtle: rgba(56, 189, 248, 0.05);
--accent-glow: rgba(56, 189, 248, 0.2);
--zama-gold: #FFD208;
--zama-gold-glow: rgba(255, 210, 8, 0.15);

--text-primary: #f8f9fa;
--text-secondary: #a0a5b5;
--text-muted: #64748b;
--text-accent: #38bdf8;
--text-inverse: #0b0b0f;

--success: #10b981;
--success-muted: rgba(16, 185, 129, 0.1);
--warning: #f59e0b;
--warning-muted: rgba(245, 158, 11, 0.1);
--error: #ef4444;
--error-muted: rgba(239, 68, 68, 0.1);
--info: #3b82f6;
--info-muted: rgba(59, 130, 246, 0.1);

--border: rgba(255, 255, 255, 0.3);
--border-hover: rgba(255, 255, 255, 0.45);
--border-accent: rgba(56, 189, 248, 0.6);
Expand All @@ -94,67 +141,20 @@ table { border-collapse: collapse; }
--radius-lg: 14px;
--radius-xl: 20px;
--radius-2xl: 26px;
--radius-full: 9999px;

--shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
--shadow-md: 0 4px 14px rgba(0,0,0,0.6);
--shadow-lg: 0 16px 36px rgba(0,0,0,0.8);
--shadow-glow: 0 0 20px rgba(56, 189, 248, 0.15);

--radial-glow-1: rgba(56, 189, 248, 0.04);
--radial-glow-2: rgba(255, 255, 255, 0.02);
--grid-line: rgba(255, 255, 255, 0.012);
}

/* ==========================================================================
THEME DIRECTIONS
========================================================================== */

/* ---------- 1. NORDIC CHARCOAL THEME (DARK - DEFAULT) ---------- */
html[data-design-theme='charcoal'] {
/* Inherits directly from :root */
}

/* ---------- 2. NORDIC MIDNIGHT THEME (DARK) ---------- */
/* ---------- 2. NORDIC MIDNIGHT THEME (DARK - DEFAULT CLEAN) ---------- */
html[data-design-theme='midnight'] {
--bg-base: #000000;
--bg-surface: #09090b;
--bg-elevated: #141418;
--bg-card: rgba(20, 20, 24, 0.95);
--bg-card-hover: rgba(30, 30, 36, 0.98);
--bg-input: #000000;

--accent: #f4f4f5;
--accent-hover: #ffffff;
--accent-muted: rgba(244, 244, 245, 0.18);
--accent-subtle: rgba(244, 244, 245, 0.04);
--accent-glow: rgba(255, 255, 255, 0.1);

--text-primary: #ffffff;
--text-secondary: #e4e4e7;
--text-muted: #71717a;
--text-accent: #ffffff;
--text-inverse: #000000;

--border: rgba(255, 255, 255, 0.35);
--border-hover: rgba(255, 255, 255, 0.55);
--border-accent: rgba(255, 255, 255, 0.8);
--border-focus: #ffffff;

--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 18px;
--radius-2xl: 24px;

--shadow-sm: 0 2px 4px rgba(0,0,0,0.6);
--shadow-md: 0 6px 18px rgba(0,0,0,0.7);
--shadow-lg: 0 20px 48px rgba(0,0,0,0.9);
--shadow-glow: 0 0 25px rgba(255, 255, 255, 0.08);

--radial-glow-1: rgba(255, 255, 255, 0.02);
--radial-glow-2: rgba(255, 255, 255, 0.01);
--grid-line: rgba(255, 255, 255, 0.022);
/* Inherits directly from :root - Clean black & white Nordic design */
}

/* ---------- 3. NORDIC FROST THEME (DARK) ---------- */
Expand Down
Loading