fix: bokutachi tab indicators should be blue

This commit is contained in:
zkldi
2022-09-03 14:29:03 +01:00
parent 7ce8af42a7
commit cbaa9570d5
@@ -1,4 +1,5 @@
import { createMuiTheme, ThemeProvider } from "@material-ui/core";
import { ColourConfig } from "lib/config";
import React from "react";
import { JustChildren } from "types/react";
@@ -6,6 +7,14 @@ const theme = createMuiTheme({
typography: {
fontFamily: "Poppins",
},
palette: {
// for reasons unfathomable to mere mortals
// material UI uses "secondary" as the primary colour
// for things like tab indicators.
secondary: {
main: ColourConfig.primary,
},
},
});
export function MaterialThemeProvider({ children }: JustChildren) {