aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-19 18:18:02 +0800
committerFabio Berger <me@fabioberger.com>2017-12-19 18:18:02 +0800
commitc6af59a3e72d09a123a89e63e0b4ed932c5c9e99 (patch)
treec63039bfb864fd209e900d57a117a9a9d48cfab1 /packages/website/ts/utils
parent32396b5eca53bdc97d44f0d8683b77ab8fc1c29a (diff)
downloaddexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar.gz
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar.bz2
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar.lz
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar.xz
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.tar.zst
dexon-sol-tools-c6af59a3e72d09a123a89e63e0b4ed932c5c9e99.zip
Move muiTheme into it's own module
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/mui_theme.ts35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/website/ts/utils/mui_theme.ts b/packages/website/ts/utils/mui_theme.ts
new file mode 100644
index 000000000..60c58f595
--- /dev/null
+++ b/packages/website/ts/utils/mui_theme.ts
@@ -0,0 +1,35 @@
+import {getMuiTheme} from 'material-ui/styles';
+import {colors} from 'ts/utils/colors';
+
+export const muiTheme = getMuiTheme({
+ appBar: {
+ height: 45,
+ color: colors.white,
+ textColor: colors.black,
+ },
+ palette: {
+ pickerHeaderColor: colors.lightBlue,
+ primary1Color: colors.lightBlue,
+ primary2Color: colors.lightBlue,
+ textColor: colors.grey700,
+ },
+ datePicker: {
+ color: colors.grey700,
+ textColor: colors.white,
+ calendarTextColor: colors.white,
+ selectColor: colors.darkestGrey,
+ selectTextColor: colors.white,
+ },
+ timePicker: {
+ color: colors.grey700,
+ textColor: colors.white,
+ accentColor: colors.white,
+ headerColor: colors.darkestGrey,
+ selectColor: colors.darkestGrey,
+ selectTextColor: colors.darkestGrey,
+ },
+ toggle: {
+ thumbOnColor: colors.limeGreen,
+ trackOnColor: colors.lightGreen,
+ },
+});