File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 24
24
--color-neu-900 : 75 15% 5% ;
25
25
}
26
26
27
- @media (prefers-color-scheme : dark) {
28
- : root {
29
- --color-neu-900 : 0 0% 100% ;
30
- --color-neu-800 : 75 57% 97% ;
31
- --color-neu-700 : 75 15% 95% ;
32
- --color-neu-600 : 77 14% 90% ;
33
- --color-neu-500 : 76 14% 85% ;
34
- --color-neu-400 : 77 14% 80% ;
35
- --color-neu-300 : 74 14% 70% ;
36
- --color-neu-200 : 76 15% 60% ;
37
- --color-neu-100 : 76 15% 40% ;
38
- --color-neu-50 : 77 14% 20% ;
39
- --color-neu-0 : 75 15% 5% ;
40
- }
27
+ html .dark {
28
+ --color-neu-900 : 0 0% 100% ;
29
+ --color-neu-800 : 75 57% 97% ;
30
+ --color-neu-700 : 75 15% 95% ;
31
+ --color-neu-600 : 77 14% 90% ;
32
+ --color-neu-500 : 76 14% 85% ;
33
+ --color-neu-400 : 77 14% 80% ;
34
+ --color-neu-300 : 74 14% 70% ;
35
+ --color-neu-200 : 76 15% 60% ;
36
+ --color-neu-100 : 76 15% 40% ;
37
+ --color-neu-50 : 77 14% 20% ;
38
+ --color-neu-0 : 75 15% 5% ;
41
39
}
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import { GraphQLConf, HostedByGraphQLFoundation } from "@/icons"
6
6
import NextLink from "next/link"
7
7
import { NewFontsStyleTag } from "../../fonts"
8
8
import "../../colors.css"
9
- import "../../typography.css"
9
+
10
+ // @ts -expect-error: we want to import the same version as Nextra for the main page
11
+ import { ThemeProvider } from "next-themes"
10
12
11
13
export const metadata = {
12
14
description :
@@ -54,7 +56,9 @@ export default function Layout({
54
56
] }
55
57
is2025
56
58
/>
57
- < div className = "bg-neu-0 text-neu-900" > { children } </ div >
59
+ < ThemeProvider attribute = "class" >
60
+ < div className = "bg-neu-0 text-neu-900" > { children } </ div >
61
+ </ ThemeProvider >
58
62
< Footer
59
63
logo = {
60
64
< NextLink href = "/conf/2025" className = "nextra-logo text-white" >
You can’t perform that action at this time.
0 commit comments