Commit
•
b6b0a70
1
Parent(s):
c798beb
remove unneeded css
Browse files- src/pages/index.tsx +1 -1
- src/styles/globals.css +5 -12
src/pages/index.tsx
CHANGED
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
|
2 |
import ActivityCalendar from "react-activity-calendar";
|
3 |
import { Tooltip } from '@mui/material';
|
4 |
import { generateCalendarData } from "../utils/calendar";
|
5 |
-
import { OpenSourceHeatmapProps, ProviderInfo, ModelData
|
6 |
|
7 |
const PROVIDERS_MAP: Record<string, ProviderInfo> = {
|
8 |
"Mistral AI": { color: "#ff7000", authors: ["mistralai"] },
|
|
|
2 |
import ActivityCalendar from "react-activity-calendar";
|
3 |
import { Tooltip } from '@mui/material';
|
4 |
import { generateCalendarData } from "../utils/calendar";
|
5 |
+
import { OpenSourceHeatmapProps, ProviderInfo, ModelData } from "../types/heatmap";
|
6 |
|
7 |
const PROVIDERS_MAP: Record<string, ProviderInfo> = {
|
8 |
"Mistral AI": { color: "#ff7000", authors: ["mistralai"] },
|
src/styles/globals.css
CHANGED
@@ -3,31 +3,24 @@
|
|
3 |
@tailwind utilities;
|
4 |
|
5 |
:root {
|
6 |
-
--foreground-rgb:
|
7 |
-
--background-
|
8 |
-
--background-end-rgb: 255, 255, 255;
|
9 |
}
|
10 |
|
11 |
@media (prefers-color-scheme: dark) {
|
12 |
:root {
|
13 |
--foreground-rgb: 255, 255, 255;
|
14 |
-
--background-
|
15 |
-
--background-end-rgb: 0, 0, 0;
|
16 |
}
|
17 |
}
|
18 |
|
19 |
body {
|
20 |
color: rgb(var(--foreground-rgb));
|
21 |
-
background:
|
22 |
-
to bottom,
|
23 |
-
transparent,
|
24 |
-
rgb(var(--background-end-rgb))
|
25 |
-
)
|
26 |
-
rgb(var(--background-start-rgb));
|
27 |
}
|
28 |
|
29 |
@layer utilities {
|
30 |
.text-balance {
|
31 |
text-wrap: balance;
|
32 |
}
|
33 |
-
}
|
|
|
3 |
@tailwind utilities;
|
4 |
|
5 |
:root {
|
6 |
+
--foreground-rgb: 75, 75, 75;
|
7 |
+
--background-rgb: 255, 255, 255;
|
|
|
8 |
}
|
9 |
|
10 |
@media (prefers-color-scheme: dark) {
|
11 |
:root {
|
12 |
--foreground-rgb: 255, 255, 255;
|
13 |
+
--background-rgb: 0, 0, 0;
|
|
|
14 |
}
|
15 |
}
|
16 |
|
17 |
body {
|
18 |
color: rgb(var(--foreground-rgb));
|
19 |
+
background: rgb(var(--background-rgb));
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
21 |
|
22 |
@layer utilities {
|
23 |
.text-balance {
|
24 |
text-wrap: balance;
|
25 |
}
|
26 |
+
}
|