cfahlgren1 HF staff commited on
Commit
b975792
1 Parent(s): 3089f25

fix light mode

Browse files
src/pages/_document.tsx CHANGED
@@ -2,7 +2,7 @@ import { Html, Head, Main, NextScript } from "next/document";
2
 
3
  export default function Document() {
4
  return (
5
- <Html lang="en" className="dark">
6
  <Head />
7
  <body>
8
  <Main />
 
2
 
3
  export default function Document() {
4
  return (
5
+ <Html lang="en">
6
  <Head />
7
  <body>
8
  <Main />
src/pages/index.tsx CHANGED
@@ -128,9 +128,9 @@ export default function Home() {
128
  data={calendarData[providerName]}
129
  theme={{
130
  dark: ['#161b22', color],
 
131
  }}
132
  hideTotalCount
133
- colorScheme="dark"
134
  renderBlock={(block, activity) => (
135
  <MuiTooltip
136
  title={`${activity.count} models created on ${activity.date}`}
 
128
  data={calendarData[providerName]}
129
  theme={{
130
  dark: ['#161b22', color],
131
+ light: ['#ebedf0', color],
132
  }}
133
  hideTotalCount
 
134
  renderBlock={(block, activity) => (
135
  <MuiTooltip
136
  title={`${activity.count} models created on ${activity.date}`}
tailwind.config.ts CHANGED
@@ -17,4 +17,4 @@ const config: Config = {
17
  },
18
  plugins: [],
19
  };
20
- export default config;
 
17
  },
18
  plugins: [],
19
  };
20
+ export default config;