Skip to content

Commit

Permalink
vinvoor: minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Jul 28, 2024
1 parent 758ea79 commit 8400e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 2 additions & 0 deletions vinvoor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ dist-ssr
bin/
pkg/
.env

test.js
2 changes: 1 addition & 1 deletion vinvoor/src/overview/days/Days.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const getDayCount = (scans: readonly Scan[]) => {
scans.forEach((scan) => {
days[scan.scanTime.getDay() - 1]++;
});
return days.slice(0, -2);
return days.slice(0, -2) as ApexNonAxisChartSeries;
};

export const Days = () => {
Expand Down
8 changes: 1 addition & 7 deletions vinvoor/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const hiddenTheme = createTheme({
},
background: {
default: "#FED8B1",
paper: "#ECB176",
},
success: {
main: "#355E3B",
Expand Down Expand Up @@ -115,13 +116,6 @@ export const hiddenTheme = createTheme({
color4: "#381b06",
},
components: {
MuiPaper: {
styleOverrides: {
root: {
backgroundColor: "#ECB176",
},
},
},
MuiDivider: {
styleOverrides: {
root: {
Expand Down

0 comments on commit 8400e88

Please sign in to comment.