diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-06 17:30:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-06 17:30:57 +0800 |
commit | 787eec8be4d1318b87bb1edfa1ac9c8689297ccb (patch) | |
tree | c5f689ff8d277a8f88645624b4e1162e3cb45efc /packages/website/ts/style | |
parent | 25f62daf146895a1e0e0c966166f08f28467ae2e (diff) | |
parent | cc39eea9991306eabadd912256452f67fb49c20b (diff) | |
download | dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.gz dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.bz2 dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.lz dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.xz dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.zst dexon-sol-tools-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.zip |
Merge v2-prototype
Diffstat (limited to 'packages/website/ts/style')
-rw-r--r-- | packages/website/ts/style/colors.ts | 19 | ||||
-rw-r--r-- | packages/website/ts/style/theme.ts | 15 | ||||
-rw-r--r-- | packages/website/ts/style/z_index.ts | 5 |
3 files changed, 39 insertions, 0 deletions
diff --git a/packages/website/ts/style/colors.ts b/packages/website/ts/style/colors.ts new file mode 100644 index 000000000..5ffdd6ba7 --- /dev/null +++ b/packages/website/ts/style/colors.ts @@ -0,0 +1,19 @@ +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, +}; diff --git a/packages/website/ts/style/theme.ts b/packages/website/ts/style/theme.ts new file mode 100644 index 000000000..9e447e7ee --- /dev/null +++ b/packages/website/ts/style/theme.ts @@ -0,0 +1,15 @@ +import * as styledComponents from 'styled-components'; + +const { + default: styled, + css, + injectGlobal, + keyframes, + ThemeProvider, +} = styledComponents as styledComponents.ThemedStyledComponentsModule<IThemeInterface>; + +export interface IThemeInterface {} + +export const theme = {}; + +export { styled, css, injectGlobal, keyframes, ThemeProvider }; diff --git a/packages/website/ts/style/z_index.ts b/packages/website/ts/style/z_index.ts new file mode 100644 index 000000000..0411cdd91 --- /dev/null +++ b/packages/website/ts/style/z_index.ts @@ -0,0 +1,5 @@ +export const zIndex = { + topBar: 1100, + overlay: 1105, + aboveOverlay: 1106, +}; |