From e765c247ef2d074fd39b66d8a03604616374ebb3 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Fri, 25 Aug 2023 10:52:52 -0700 Subject: [PATCH] chore(trading): adjust the get started checkboxes slightly (#4622) --- .../components/welcome-dialog/get-started.tsx | 88 ++++++++++++------- .../components/icon/vega-icons/vega-icon.tsx | 2 +- 2 files changed, 56 insertions(+), 34 deletions(-) diff --git a/apps/trading/components/welcome-dialog/get-started.tsx b/apps/trading/components/welcome-dialog/get-started.tsx index 580a8c899..6825e2ce6 100644 --- a/apps/trading/components/welcome-dialog/get-started.tsx +++ b/apps/trading/components/welcome-dialog/get-started.tsx @@ -105,38 +105,29 @@ export const GetStarted = ({ lead }: Props) => { {lead &&

{lead}

}

{t('Get started')}

-
@@ -165,7 +156,7 @@ export const GetStarted = ({ lead }: Props) => { if (!pubKey) { return (
-

+

You need a{' '} Vega wallet @@ -186,3 +177,34 @@ export const GetStarted = ({ lead }: Props) => { return null; }; + +const Step = ({ + step, + text, + complete, +}: { + step: number; + text: string; + complete: boolean; +}) => { + return ( +

  • +
    + {complete ? : {step}.} +
    +
    {text}
    +
  • + ); +}; + +const Tick = () => { + return ( + + + + ); +}; diff --git a/libs/ui-toolkit/src/components/icon/vega-icons/vega-icon.tsx b/libs/ui-toolkit/src/components/icon/vega-icons/vega-icon.tsx index cc48b741f..3a240d6ab 100644 --- a/libs/ui-toolkit/src/components/icon/vega-icons/vega-icon.tsx +++ b/libs/ui-toolkit/src/components/icon/vega-icons/vega-icon.tsx @@ -5,7 +5,7 @@ import { VegaIconNameMap } from './vega-icon-record'; export interface VegaIconProps { name: VegaIconNames; - size?: 8 | 10 | 12 | 13 | 14 | 16 | 20 | 24 | 32; + size?: 8 | 10 | 12 | 13 | 14 | 16 | 18 | 20 | 24 | 32; } export const VegaIcon = ({ size = 16, name }: VegaIconProps) => {