diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-28 02:48:04 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-28 02:48:04 +0800 |
commit | 1a06e6b305a96076afc86c8b5073a907d5670bfe (patch) | |
tree | fbe25097809c0182b0e6498fb4076dd04879a89b /packages/website/ts/components/ui | |
parent | 490fed622868d594f0e8ff790b2dda277c117a48 (diff) | |
download | dexon-0x-contracts-1a06e6b305a96076afc86c8b5073a907d5670bfe.tar.gz dexon-0x-contracts-1a06e6b305a96076afc86c8b5073a907d5670bfe.tar.zst dexon-0x-contracts-1a06e6b305a96076afc86c8b5073a907d5670bfe.zip |
Add loading state for initial load and other PR feedback
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/allowance_state_view.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/allowance_state_view.tsx b/packages/website/ts/components/ui/allowance_state_view.tsx index 4e7a4cdf2..93d6b0ebb 100644 --- a/packages/website/ts/components/ui/allowance_state_view.tsx +++ b/packages/website/ts/components/ui/allowance_state_view.tsx @@ -1,3 +1,4 @@ +import { colors } from '@0xproject/react-shared'; import * as React from 'react'; import { Container } from 'ts/components/ui/container'; import { Spinner } from 'ts/components/ui/spinner'; @@ -29,7 +30,7 @@ export const AllowanceStateView: React.StatelessComponent<AllowanceStateViewProp } }; -const renderCheck = (color: string = '#37D400') => ( +const renderCheck = (color: string = colors.lightGreen) => ( <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="8.5" cy="8.5" r="8.5" fill={color} /> <path |