- config.json: theme gruvbox (was matrix_crt). - tailwind darkMode 'class' + src/pages/_document.tsx sets <Html className="dark">, so dark mode applies regardless of the visitor's system setting. - global.css: retheme the hardcoded terminal accents (prompt, tree, sumfetch, scrollbar, resume button) from matrix-green to gruvbox yellow/aqua/fg. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nt6ycjAMdUMqGTGtbKocrspull/59/head
parent
c899de346e
commit
fa41452bb6
@ -0,0 +1,15 @@
|
|||||||
|
import { Html, Head, Main, NextScript } from 'next/document';
|
||||||
|
|
||||||
|
// Dark mode is enforced regardless of system settings: the `dark` class on
|
||||||
|
// <html> makes every Tailwind `dark:` variant apply (darkMode: 'class').
|
||||||
|
export default function Document() {
|
||||||
|
return (
|
||||||
|
<Html lang="en" className="dark">
|
||||||
|
<Head />
|
||||||
|
<body>
|
||||||
|
<Main />
|
||||||
|
<NextScript />
|
||||||
|
</body>
|
||||||
|
</Html>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in new issue