diff options
Diffstat (limited to 'webui/src')
-rw-r--r-- | webui/src/themes/DefaultDark.ts | 12 | ||||
-rw-r--r-- | webui/src/themes/DefaultLight.ts (renamed from webui/src/theme.ts) | 11 | ||||
-rw-r--r-- | webui/src/themes/index.ts | 4 |
3 files changed, 17 insertions, 10 deletions
diff --git a/webui/src/themes/DefaultDark.ts b/webui/src/themes/DefaultDark.ts new file mode 100644 index 00000000..8d961caa --- /dev/null +++ b/webui/src/themes/DefaultDark.ts @@ -0,0 +1,12 @@ +import { createMuiTheme } from '@material-ui/core/styles'; + +const defaultDarkTheme = createMuiTheme({ + palette: { + type: 'dark', + primary: { + main: '#263238', + }, + }, +}); + +export default defaultDarkTheme; diff --git a/webui/src/theme.ts b/webui/src/themes/DefaultLight.ts index 67c24526..3a404fd5 100644 --- a/webui/src/theme.ts +++ b/webui/src/themes/DefaultLight.ts @@ -9,13 +9,4 @@ const defaultLightTheme = createMuiTheme({ }, }); -const defaultDarkTheme = createMuiTheme({ - palette: { - type: 'dark', - primary: { - main: '#263238', - }, - }, -}); - -export { defaultLightTheme, defaultDarkTheme }; +export default defaultLightTheme; diff --git a/webui/src/themes/index.ts b/webui/src/themes/index.ts new file mode 100644 index 00000000..6c41c546 --- /dev/null +++ b/webui/src/themes/index.ts @@ -0,0 +1,4 @@ +import defaultDarkTheme from './DefaultDark'; +import defaultLightTheme from './DefaultLight'; + +export { defaultLightTheme, defaultDarkTheme }; |