aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/style
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-06-06 04:16:10 +0800
committerGitHub <noreply@github.com>2018-06-06 04:16:10 +0800
commite1b06bfce26c286b265ef47948216f9e4097477f (patch)
tree2f4600a7d289631963141f415bf5ac4572f1619c /packages/website/ts/style
parent44a736c53b8901ee36dbe009ad570930bbc8e676 (diff)
parent8de3f03b4982f14459b10a0ef1d60ab713d5c7be (diff)
downloaddexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar.gz
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar.bz2
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar.lz
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar.xz
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.tar.zst
dexon-sol-tools-e1b06bfce26c286b265ef47948216f9e4097477f.zip
Merge pull request #652 from 0xProject/feature/website/landing-subscribe-button-2
Implement subscribe form on landing page
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,
+};