From 1a73783c04f34652cf15ceaa0b3ceaf5f16b9d4b Mon Sep 17 00:00:00 2001 From: Josue Date: Mon, 8 Mar 2021 11:27:52 -0500 Subject: [PATCH] feat: add material ui theme --- striker-ui/theme/index.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 striker-ui/theme/index.ts diff --git a/striker-ui/theme/index.ts b/striker-ui/theme/index.ts new file mode 100644 index 00000000..b254ec6d --- /dev/null +++ b/striker-ui/theme/index.ts @@ -0,0 +1,35 @@ +import createMuiTheme, { Theme } from '@material-ui/core/styles/createMuiTheme'; +import { PANEL_BACKGROUND } from '../lib/consts/DEFAULT_THEME'; + +const theme: Theme = createMuiTheme({ + palette: { + primary: { + main: '#343434', + light: '#3E78B2', + }, + secondary: { + main: '#343434', + }, + background: { + paper: PANEL_BACKGROUND, + }, + }, + typography: { + fontSize: 14, + }, + overrides: { + MuiSwitch: { + root: { + padding: 8, + }, + track: { + borderRadius: 0, + }, + thumb: { + borderRadius: 0, + }, + }, + }, +}); + +export default theme;