From f121eae05983b404ed0961f36904c00d062daa6d Mon Sep 17 00:00:00 2001 From: chloe <44501120+chloezxyy@users.noreply.github.com> Date: Mon, 21 Aug 2023 15:47:16 +0800 Subject: [PATCH] feature(ui-ux): add new tokens and dtokens for matic, sol, and dot --- .../app/components/icons/assets/DOT.tsx | 50 +++++++++++++ .../app/components/icons/assets/MATIC.tsx | 30 ++++++++ .../app/components/icons/assets/SOL.tsx | 71 +++++++++++++++++++ .../app/components/icons/assets/dDOT.tsx | 50 +++++++++++++ .../app/components/icons/assets/dMATIC.tsx | 30 ++++++++ .../app/components/icons/assets/dSOL.tsx | 71 +++++++++++++++++++ .../app/components/icons/assets/index.ts | 12 ++++ 7 files changed, 314 insertions(+) create mode 100644 mobile-app/app/components/icons/assets/DOT.tsx create mode 100644 mobile-app/app/components/icons/assets/MATIC.tsx create mode 100644 mobile-app/app/components/icons/assets/SOL.tsx create mode 100644 mobile-app/app/components/icons/assets/dDOT.tsx create mode 100644 mobile-app/app/components/icons/assets/dMATIC.tsx create mode 100644 mobile-app/app/components/icons/assets/dSOL.tsx diff --git a/mobile-app/app/components/icons/assets/DOT.tsx b/mobile-app/app/components/icons/assets/DOT.tsx new file mode 100644 index 0000000000..43f852d426 --- /dev/null +++ b/mobile-app/app/components/icons/assets/DOT.tsx @@ -0,0 +1,50 @@ +import Svg, { SvgProps, Path } from "react-native-svg"; + +export function DOT(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/MATIC.tsx b/mobile-app/app/components/icons/assets/MATIC.tsx new file mode 100644 index 0000000000..efd618e166 --- /dev/null +++ b/mobile-app/app/components/icons/assets/MATIC.tsx @@ -0,0 +1,30 @@ +import Svg, { Rect, Path, SvgProps } from "react-native-svg"; + +export function MATIC(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/SOL.tsx b/mobile-app/app/components/icons/assets/SOL.tsx new file mode 100644 index 0000000000..3fa40f9e65 --- /dev/null +++ b/mobile-app/app/components/icons/assets/SOL.tsx @@ -0,0 +1,71 @@ +import Svg, { Stop, Path, SvgProps } from "react-native-svg"; + +export function SOL(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/dDOT.tsx b/mobile-app/app/components/icons/assets/dDOT.tsx new file mode 100644 index 0000000000..246d632560 --- /dev/null +++ b/mobile-app/app/components/icons/assets/dDOT.tsx @@ -0,0 +1,50 @@ +import Svg, { SvgProps, Path, G, Defs, Rect } from "react-native-svg"; + +export function dDOT(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/dMATIC.tsx b/mobile-app/app/components/icons/assets/dMATIC.tsx new file mode 100644 index 0000000000..4aa16f19bc --- /dev/null +++ b/mobile-app/app/components/icons/assets/dMATIC.tsx @@ -0,0 +1,30 @@ +import Svg, { G, Path, SvgProps } from "react-native-svg"; + +export function dMATIC(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/dSOL.tsx b/mobile-app/app/components/icons/assets/dSOL.tsx new file mode 100644 index 0000000000..c42577fb01 --- /dev/null +++ b/mobile-app/app/components/icons/assets/dSOL.tsx @@ -0,0 +1,71 @@ +import Svg, { SvgProps } from "react-native-svg"; + +export function dSOL(props: SvgProps): JSX.Element { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/mobile-app/app/components/icons/assets/index.ts b/mobile-app/app/components/icons/assets/index.ts index 8d00060aa1..399e893b47 100644 --- a/mobile-app/app/components/icons/assets/index.ts +++ b/mobile-app/app/components/icons/assets/index.ts @@ -12,6 +12,12 @@ import { dUSDT } from "./dUSDT"; import { dUSD } from "./dUSD"; import { DFIlogo } from "./plainDFI"; import { dEUROC } from "./dEUROC"; +import { DOT } from "./DOT"; +import { SOL } from "./SOL"; +import { MATIC } from "./MATIC"; +import { dDOT } from "./dDOT"; +import { dMATIC } from "./dMATIC"; +import { dSOL } from "./dSOL"; const mapping: Record JSX.Element> = { _UTXO: DFI, @@ -19,6 +25,9 @@ const mapping: Record JSX.Element> = { "DFI (UTXO)": DFI, "DFI (Token)": DFI, BTC: BTC, + DOT: DOT, + MATIC: MATIC, + SOL: SOL, dBCH: dBCH, dBTC: dBTC, dDFI: DFI, @@ -31,6 +40,9 @@ const mapping: Record JSX.Element> = { DUSD: dUSD, dEUROC: dEUROC, DFIlogo: DFIlogo, + dDOT: dDOT, + dMATIC: dMATIC, + dSOL: dSOL, }; /**