Add styled-components and polished

This commit is contained in:
fragosti
2018-06-01 11:40:06 -07:00
parent 3a7f26f620
commit 817d9b0d3e
21 changed files with 82 additions and 22 deletions

View File

@@ -1,19 +0,0 @@
import { colors as sharedColors } from '@0xproject/react-shared';
const appColors = {
walletBoxShadow: 'rgba(56, 59, 137, 0.2)',
walletBorder: '#ededee',
walletDefaultItemBackground: '#fbfbfc',
walletFocusedItemBackground: '#f0f1f4',
allowanceToggleShadow: 'rgba(0, 0, 0, 0)',
allowanceToggleOffTrack: '#adadad',
allowanceToggleOnTrack: sharedColors.mediumBlue,
wrapEtherConfirmationButton: sharedColors.mediumBlue,
drawerMenuBackground: '#4a4a4a',
menuItemDefaultSelectedBackground: '#424242',
};
export const colors = {
...sharedColors,
...appColors,
};

View File

@@ -1,5 +0,0 @@
export const zIndex = {
topBar: 1100,
overlay: 1105,
aboveOverlay: 1106,
};

View File

@@ -1,6 +1,6 @@
import { Styles } from '@0xproject/react-shared';
import { colors } from 'ts/utils/colors';
import { colors } from 'ts/style/colors';
export const styles: Styles = {
focusedItem: {