diff --git a/src/features/dashboard/components/ApiTokenTable/DeleteTokenDialog/index.tsx b/src/features/dashboard/components/ApiTokenTable/DeleteTokenDialog/index.tsx index d3ceb125b..ca45bbd92 100644 --- a/src/features/dashboard/components/ApiTokenTable/DeleteTokenDialog/index.tsx +++ b/src/features/dashboard/components/ApiTokenTable/DeleteTokenDialog/index.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useContext } from 'react'; import { TTokenType } from '@site/src/types'; -import { Modal } from '@deriv-com/quill-ui'; +import { Modal, Heading, Text } from '@deriv-com/quill-ui'; import { StandaloneTrashRegularIcon } from '@deriv/quill-icons'; import useDeviceType from '@site/src/hooks/useDeviceType'; import { ApiTokenContext } from '@site/src/contexts/api-token/api-token.context'; @@ -47,8 +47,8 @@ const DeleteTokenDialog = ({ token, onClose, isOpen }: TDeleteTokenDialogProps)
-

{translate({ message: 'Delete token' })}

-

{translate({ message: 'Are you sure you want to delete this token?' })}

+ {translate({ message: 'Delete token' })} + {translate({ message: 'Are you sure you want to delete this token?' })}
); diff --git a/src/features/dashboard/components/Dialogs/DeleteAppDialog/index.tsx b/src/features/dashboard/components/Dialogs/DeleteAppDialog/index.tsx index 689887833..08de05fdf 100644 --- a/src/features/dashboard/components/Dialogs/DeleteAppDialog/index.tsx +++ b/src/features/dashboard/components/Dialogs/DeleteAppDialog/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Modal } from '@deriv-com/quill-ui'; +import { Modal, Heading, Text } from '@deriv-com/quill-ui'; import { StandaloneTrashRegularIcon } from '@deriv/quill-icons'; import useDeviceType from '@site/src/hooks/useDeviceType'; import { useDeleteApp } from '../../../hooks/useDeleteApp'; @@ -38,12 +38,12 @@ const DeleteAppDialog = ({ appId, onClose }: TDeleteAppDialogProps) => {
-

+ Delete app -

-

+ + Are you sure you want to delete this app? -

+
); diff --git a/src/features/dashboard/components/Modals/AppRegisterSuccessModal/index.tsx b/src/features/dashboard/components/Modals/AppRegisterSuccessModal/index.tsx index 58b2ae8db..7c7aae1bd 100644 --- a/src/features/dashboard/components/Modals/AppRegisterSuccessModal/index.tsx +++ b/src/features/dashboard/components/Modals/AppRegisterSuccessModal/index.tsx @@ -1,10 +1,11 @@ import React from 'react'; import useAppManager from '@site/src/hooks/useAppManager'; -import { Heading, Modal } from '@deriv-com/quill-ui'; +import { Heading, Modal, Text } from '@deriv-com/quill-ui'; import { StandaloneCircleCheckRegularIcon } from '@deriv/quill-icons'; import useDeviceType from '@site/src/hooks/useDeviceType'; import '../../Dialogs/DeleteAppDialog/delete-app-dialog.scss'; import useDisableScroll from '../../../hooks/useDisableScroll'; +import Translate from '@docusaurus/Translate'; interface IAppRegisterSuccessModalProps { onConfigure: () => void; @@ -39,20 +40,36 @@ export const AppRegisterSuccessModal = ({
-
-

Application registered successfully!

-
- - Ready to take the next step? -

Optimise your app's capabilities by: -
    -
  • Creating an API token to use with your application.
  • -
  • Adding OAuth authentication in your app.
  • -
  • Selecting the scopes of OAuth authorisation for your app.
  • -
-
Note: You can make these changes later through the dashboard.
-
-
+
+ + Application registered successfully! + + + Ready to take the next step? + + + Optimise your app's capabilities by: + +
    +
  • + + Creating an API token to use with your application. + +
  • +
  • + + Adding OAuth authentication in your app. + +
  • +
  • + + Selecting the scopes of OAuth authorisation for your app. + +
  • +
+ + Note: You can make these changes later through the dashboard. +
); diff --git a/src/styles/index.scss b/src/styles/index.scss index 78b9c14da..be465b315 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -242,13 +242,6 @@ div[class*='sidebarViewport'] { h4 { margin-bottom: 32px; - color: var(--core-color-solid-slate-1400); - font-size: 18px; - } - - p { - color: var(--core-color-opacity-black-600); - font-size: 14px; } ul {