diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-02 08:37:32 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-02 08:37:32 +0800 |
commit | a74597c7cd44d3138de39ec05079e9b9e005d03d (patch) | |
tree | 931c1e60711ff7d491304faa39af9c7037536a2c /packages/website/ts/components | |
parent | 95086a75e6d08b930c196ccf6d0926c4e0f4cd48 (diff) | |
download | dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.gz dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.bz2 dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.lz dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.xz dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.tar.zst dexon-sol-tools-a74597c7cd44d3138de39ec05079e9b9e005d03d.zip |
Lint and cleanup
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/forms/subscribe_form.tsx | 8 | ||||
-rw-r--r-- | packages/website/ts/components/ui/text.tsx | 2 |
2 files changed, 5 insertions, 5 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>; |