aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-21 11:55:11 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-23 14:13:49 +0800
commitdc3be992a3a1d5f352b65effa5c05f69f8e3272c (patch)
treee57938fa5655ae6e8251090f5a1f10a779f7c81a /packages/website/ts/utils
parentbed7d87b7ff64989051e6b2115a1c77e1e72ff55 (diff)
downloaddexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar.gz
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar.bz2
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar.lz
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar.xz
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.tar.zst
dexon-sol-tools-dc3be992a3a1d5f352b65effa5c05f69f8e3272c.zip
Implement ETH/WETH conversion and allowance toggle styling
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/mui_theme.ts10
-rw-r--r--packages/website/ts/utils/wallet_item_styles.ts7
2 files changed, 10 insertions, 7 deletions
diff --git a/packages/website/ts/utils/mui_theme.ts b/packages/website/ts/utils/mui_theme.ts
index 41bc2844b..d611f0895 100644
--- a/packages/website/ts/utils/mui_theme.ts
+++ b/packages/website/ts/utils/mui_theme.ts
@@ -9,9 +9,9 @@ export const muiTheme = getMuiTheme({
},
palette: {
accent1Color: colors.lightBlueA700,
- pickerHeaderColor: colors.lightBlue,
- primary1Color: colors.lightBlue,
- primary2Color: colors.lightBlue,
+ pickerHeaderColor: colors.mediumBlue,
+ primary1Color: colors.mediumBlue,
+ primary2Color: colors.mediumBlue,
textColor: colors.grey700,
},
datePicker: {
@@ -29,8 +29,4 @@ export const muiTheme = getMuiTheme({
selectColor: colors.darkestGrey,
selectTextColor: colors.darkestGrey,
},
- toggle: {
- thumbOnColor: colors.limeGreen,
- trackOnColor: colors.lightGreen,
- },
});
diff --git a/packages/website/ts/utils/wallet_item_styles.ts b/packages/website/ts/utils/wallet_item_styles.ts
new file mode 100644
index 000000000..1ad304ce1
--- /dev/null
+++ b/packages/website/ts/utils/wallet_item_styles.ts
@@ -0,0 +1,7 @@
+import { colors, Styles } from '@0xproject/react-shared';
+
+export const styles: Styles = {
+ focusedItem: {
+ backgroundColor: colors.walletFocusedItemBackground,
+ },
+};