aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-02 08:37:32 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-02 08:37:32 +0800
commita74597c7cd44d3138de39ec05079e9b9e005d03d (patch)
tree931c1e60711ff7d491304faa39af9c7037536a2c /packages/website/ts
parent95086a75e6d08b930c196ccf6d0926c4e0f4cd48 (diff)
downloaddexon-0x-contracts-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.gz
dexon-0x-contracts-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.zst
dexon-0x-contracts-a74597c7cd44d3138de39ec05079e9b9e005d03d.zip
Lint and cleanup
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/forms/subscribe_form.tsx8
-rw-r--r--packages/website/ts/components/ui/text.tsx2
-rw-r--r--packages/website/ts/pages/landing/landing.tsx2
3 files changed, 6 insertions, 6 deletions
diff --git a/packages/website/ts/components/forms/subscribe_form.tsx b/packages/website/ts/components/forms/subscribe_form.tsx
index 99686efce..b83a9c346 100644
--- a/packages/website/ts/components/forms/subscribe_form.tsx
+++ b/packages/website/ts/components/forms/subscribe_form.tsx
@@ -1,11 +1,11 @@
import { colors } from '@0xproject/react-shared';
import * as React from 'react';
+import { logUtils } from '@0xproject/utils';
import { Button } from 'ts/components/ui/button';
+import { Container } from 'ts/components/ui/container';
import { Input } from 'ts/components/ui/input';
import { Text } from 'ts/components/ui/text';
-import { logUtils } from '@0xproject/utils';
-import { Container } from 'ts/components/ui/container';
import { styled } from 'ts/style/theme';
import { backendClient } from 'ts/utils/backend_client';
@@ -47,7 +47,7 @@ export class SubscribeForm extends React.Component<SubscribeFormProps, Subscribe
value={this.state.emailText}
fontColor={colors.white}
fontSize={formFontSize}
- backgroundColor="#343333"
+ backgroundColor={colors.projectsGrey}
width="275px"
onChange={this._handleEmailInputChange.bind(this)}
/>
@@ -55,7 +55,7 @@ export class SubscribeForm extends React.Component<SubscribeFormProps, Subscribe
<Container marginLeft="15px" marginTop="15px">
<Button
type="submit"
- backgroundColor="#252525"
+ backgroundColor={colors.darkButtonGrey}
fontColor={colors.white}
fontSize={formFontSize}
>
diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx
index 259365618..d3e205d12 100644
--- a/packages/website/ts/components/ui/text.tsx
+++ b/packages/website/ts/components/ui/text.tsx
@@ -52,5 +52,5 @@ export const TranslatedText: React.StatelessComponent<TranslatedTextProps> = ({
translate,
children,
deco,
- ...textProps
+ ...textProps,
}) => <Text {...textProps}>{translate.get(children, deco)}</Text>;
diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx
index 0911bb2cf..1a1772a23 100644
--- a/packages/website/ts/pages/landing/landing.tsx
+++ b/packages/website/ts/pages/landing/landing.tsx
@@ -1,12 +1,12 @@
import { colors } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
-import { CTA } from 'ts/components/ui/button';
import DocumentTitle = require('react-document-title');
import { Link } from 'react-router-dom';
import { Footer } from 'ts/components/footer';
import { SubscribeForm } from 'ts/components/forms/subscribe_form';
import { TopBar } from 'ts/components/top_bar/top_bar';
+import { CTA } from 'ts/components/ui/button';
import { Dispatcher } from 'ts/redux/dispatcher';
import { Deco, Key, Language, ScreenWidths, WebsitePaths } from 'ts/types';
import { constants } from 'ts/utils/constants';