aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/style
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-06 18:31:30 +0800
committerFabio Berger <me@fabioberger.com>2018-06-06 18:31:30 +0800
commit271fa26890c7d86fe516b51d653a308b2789d2c2 (patch)
treeeff3a17c8dd56cd1fbe4da76557b904253792cd2 /packages/website/ts/style
parentfe437da7517b4ea8e308a7210a34e66b715d5c78 (diff)
parentcc39eea9991306eabadd912256452f67fb49c20b (diff)
downloaddexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar.gz
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar.bz2
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar.lz
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar.xz
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.tar.zst
dexon-sol-tools-271fa26890c7d86fe516b51d653a308b2789d2c2.zip
merge v2-prototype
Diffstat (limited to 'packages/website/ts/style')
-rw-r--r--packages/website/ts/style/colors.ts19
-rw-r--r--packages/website/ts/style/theme.ts15
-rw-r--r--packages/website/ts/style/z_index.ts5
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,
+};