mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-13 01:38:29 +03:00
fix: bokutachi tab indicators should be blue
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user