diff --git a/packages/extension-ui/src/Popup/Accounts/index.tsx b/packages/extension-ui/src/Popup/Accounts/index.tsx index f5af6ed2e0b..e00eef50cc2 100644 --- a/packages/extension-ui/src/Popup/Accounts/index.tsx +++ b/packages/extension-ui/src/Popup/Accounts/index.tsx @@ -31,7 +31,6 @@ export default function Accounts (): React.ReactElement { (accounts.length === 0) ? diff --git a/packages/extension-ui/src/Popup/Authorize/Request.tsx b/packages/extension-ui/src/Popup/Authorize/Request.tsx index 27982004c3f..ed094b17abe 100644 --- a/packages/extension-ui/src/Popup/Authorize/Request.tsx +++ b/packages/extension-ui/src/Popup/Authorize/Request.tsx @@ -7,7 +7,7 @@ import { RequestAuthorizeTab } from '@polkadot/extension/background/types'; import React, { useContext } from 'react'; import styled from 'styled-components'; -import { ActionBar, ActionContext, Button, Icon, Link, Warning, Svg } from '../../components'; +import { ActionBar, ActionContext, Button, Icon, Link, Warning } from '../../components'; import { approveAuthRequest, rejectAuthRequest } from '../../messaging'; interface Props { @@ -58,7 +58,7 @@ const RequestInfo = styled.div` flex-direction: column; align-items: center; margin-bottom: 8px; - background: ${({ theme }): string => theme.btnAreaBackground}; + background: ${({ theme }): string => theme.highlightedAreaBackground}; `; const Info = styled.div` @@ -73,11 +73,7 @@ const AcceptButton = styled(Button)` `; const RequestWarning = styled(Warning)` - ${Svg} { - width: 36px; - height: 14px; - margin: 5px 11px 5px 28px; - } + margin: 1rem 1rem 0 1.45rem; `; AcceptButton.displayName = 'AcceptButton'; @@ -91,14 +87,14 @@ export default styled(Request)` height: 100%; .icon { - background: ${({ theme }): string => theme.btnBgDanger}; - color: ${({ theme }): string => theme.btnColorDanger}; + background: ${({ theme }): string => theme.buttonBackgroundDanger}; + color: ${({ theme }): string => theme.textColor}; min-width: 18px; width: 18px; height: 18px; font-size: 14px; line-height: 20px; - margin: 1rem 10px 0 1.75rem; + margin: 1rem 15px 0 1.35rem; } .tab-info { @@ -108,7 +104,7 @@ export default styled(Request)` .tab-name, .tab-url { - color: ${({ theme }): string => theme.linkColor}; + color: ${({ theme }): string => theme.textColor}; display: inline-block; max-width: 20rem; overflow: hidden; diff --git a/packages/extension-ui/src/Popup/CreateAccount/CreationStep.tsx b/packages/extension-ui/src/Popup/CreateAccount/CreationStep.tsx index 7709c4190d7..e4f01b50964 100644 --- a/packages/extension-ui/src/Popup/CreateAccount/CreationStep.tsx +++ b/packages/extension-ui/src/Popup/CreateAccount/CreationStep.tsx @@ -20,7 +20,7 @@ const Title = styled.span` letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.65; - color: ${({ theme }): string => theme.color} + color: ${({ theme }): string => theme.textColor} `; const CurrentStep = styled.span` @@ -33,7 +33,7 @@ const CurrentStep = styled.span` const TotalSteps = styled.span` font-size: ${({ theme }): string => theme.labelFontSize}; line-height: ${({ theme }): string => theme.labelLineHeight}; - color: ${({ theme }): string => theme.color}; + color: ${({ theme }): string => theme.textColor}; font-weight: 600; `; diff --git a/packages/extension-ui/src/Popup/Forget.tsx b/packages/extension-ui/src/Popup/Forget.tsx index 074d1c5959e..a04d57b6491 100644 --- a/packages/extension-ui/src/Popup/Forget.tsx +++ b/packages/extension-ui/src/Popup/Forget.tsx @@ -4,11 +4,10 @@ import React, { useContext } from 'react'; import { RouteComponentProps, withRouter } from 'react-router'; -import { ActionContext, Address, Button, Warning, Svg, Title } from '../components'; +import { ActionContext, Address, Button, Warning, Title } from '../components'; import { forgetAccount } from '../messaging'; import { Back } from '../partials'; -import styled from 'styled-components'; type Props = RouteComponentProps<{ address: string }>; @@ -25,7 +24,7 @@ function Forget ({ match: { params: { address } } }: Props): React.ReactElement< Forget account
- You are about to remove the account. This means that you will not be able to access it via this extension anymore. If you wish to recover it, you would need to use the seed. + You are about to remove the account. This means that you will not be able to access it via this extension anymore. If you wish to recover it, you would need to use the seed.