From 968d11d764d69dffc43152c8d677d189cb9111a8 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:52:47 -0500 Subject: [PATCH 01/14] feat: dark mode for my wallet table --- resources/js/Components/Table/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Table/Table.tsx b/resources/js/Components/Table/Table.tsx index b8d8705d8..5bc51dbcb 100644 --- a/resources/js/Components/Table/Table.tsx +++ b/resources/js/Components/Table/Table.tsx @@ -68,7 +68,7 @@ export const Table = >({ return (
From 5e7c8b935cd335e1467c025944838cf62c498072 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:53:17 -0500 Subject: [PATCH 02/14] feat: dark mode for table cell --- resources/js/Components/Table/TableCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Table/TableCell.tsx b/resources/js/Components/Table/TableCell.tsx index 9afc20643..1a7bd6b59 100644 --- a/resources/js/Components/Table/TableCell.tsx +++ b/resources/js/Components/Table/TableCell.tsx @@ -22,7 +22,7 @@ const variantClass = (variant: TableCellVariant): string | undefined => { export const TableCell = ({ innerClassName = "py-2.5", - hoverClassName = "group-hover:bg-theme-secondary-50", + hoverClassName = "group-hover:bg-theme-secondary-50 dark:group-hover:bg-theme-dark-800", className, paddingClassName = "px-5", variant = "middle", From e7cf569d9cdda3956d8c80ce794afa4efe578c7d Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:53:23 -0500 Subject: [PATCH 03/14] feat: dark mode for table row --- resources/js/Components/Table/TableRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Table/TableRow.tsx b/resources/js/Components/Table/TableRow.tsx index 3734cafa2..61e5f4c20 100644 --- a/resources/js/Components/Table/TableRow.tsx +++ b/resources/js/Components/Table/TableRow.tsx @@ -6,7 +6,7 @@ export const TableRow = forwardRef( ( { className, - borderClass = "group border-b last:border-b-0 border-theme-secondary-300 border-dashed", + borderClass = "group border-b last:border-b-0 border-theme-secondary-300 border-dashed dark:border-theme-dark-700", onClick, ...properties }: TableRowProperties, From 0aac182b444f3399446dfda71654e82914882fb4 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:53:27 -0500 Subject: [PATCH 04/14] feat: dark mode for table header --- resources/js/Components/Table/TableHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Table/TableHeader.tsx b/resources/js/Components/Table/TableHeader.tsx index 069ad2f89..83a763c85 100644 --- a/resources/js/Components/Table/TableHeader.tsx +++ b/resources/js/Components/Table/TableHeader.tsx @@ -98,7 +98,7 @@ export const TableHeader = >({ {headerGroups.map((headerGroup, index) => ( From b3d0c7ef5575d714d67227b68a6523311f696017 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:53:40 -0500 Subject: [PATCH 05/14] feat: dark mode for wallet token table --- .../WalletTokens/WalletTokensTable.blocks.tsx | 18 +++++++++--------- .../WalletTokens/WalletTokensTable.tsx | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/js/Components/WalletTokens/WalletTokensTable.blocks.tsx b/resources/js/Components/WalletTokens/WalletTokensTable.blocks.tsx index 4094a562f..23756a023 100644 --- a/resources/js/Components/WalletTokens/WalletTokensTable.blocks.tsx +++ b/resources/js/Components/WalletTokens/WalletTokensTable.blocks.tsx @@ -27,13 +27,13 @@ export const Action = ({ asset, onClick }: Omit): JSX.El <> @@ -93,13 +93,13 @@ export const Token = memo(
{asset.symbol} {asset.name} @@ -144,7 +144,7 @@ export const Balance = ({ asset, currency }: Omit): JSX.E
): JSX.E >
): JSX.Ele > ): JSX.Ele export const MarketCap = ({ asset, currency }: Omit): JSX.Element => ( ): JSX export const Volume = ({ asset, currency }: Omit): JSX.Element => ( { onDetailsClick(asset); }} From 1fc7e17af59d4998b5d47f3c61f0d0154c0115a1 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:53:55 -0500 Subject: [PATCH 06/14] feat: dark mode for price change --- resources/js/Components/PriceChange/PriceChange.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/Components/PriceChange/PriceChange.tsx b/resources/js/Components/PriceChange/PriceChange.tsx index b33c3c39e..b4422f7f4 100644 --- a/resources/js/Components/PriceChange/PriceChange.tsx +++ b/resources/js/Components/PriceChange/PriceChange.tsx @@ -11,9 +11,9 @@ export const PriceChange = ({ change }: PriceChangeProperties): JSX.Element => {
{formatPriceChange(change)} From 8bf0d56bfa22478c4100f7346b5f0b3fdf482d48 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:54:29 -0500 Subject: [PATCH 07/14] fix: collection activity table --- .../CollectionActivityTable/CollectionActivityTable.blocks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Components/Collections/CollectionActivityTable/CollectionActivityTable.blocks.tsx b/resources/js/Components/Collections/CollectionActivityTable/CollectionActivityTable.blocks.tsx index 1d7ebafdb..ed2583506 100644 --- a/resources/js/Components/Collections/CollectionActivityTable/CollectionActivityTable.blocks.tsx +++ b/resources/js/Components/Collections/CollectionActivityTable/CollectionActivityTable.blocks.tsx @@ -713,7 +713,7 @@ export const CollectionActivityTableItem = ({ From 0b9892bbcd821d77ea052a88e18a237fe32431fb Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:54:43 -0500 Subject: [PATCH 08/14] feat: dark mode for balance header skeleton --- .../BalanceHeader/BalanceHeader.skeleton.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/resources/js/Components/BalanceHeader/BalanceHeader.skeleton.tsx b/resources/js/Components/BalanceHeader/BalanceHeader.skeleton.tsx index 5d32f687a..47c25a116 100644 --- a/resources/js/Components/BalanceHeader/BalanceHeader.skeleton.tsx +++ b/resources/js/Components/BalanceHeader/BalanceHeader.skeleton.tsx @@ -11,12 +11,14 @@ export const BalanceHeaderSkeleton = ({ animated }: { animated: boolean }): JSX. <>
-
-
+
+
-
{t("common.my_balance")}
+
+ {t("common.my_balance")} +
-
{t("common.tokens")}
+
+ {t("common.tokens")} +
-
+
{t("common.my_address")}
@@ -159,13 +163,14 @@ export const BalanceHeaderSkeleton = ({ animated }: { animated: boolean }): JSX.
-
+
{t("common.more_details")} From e7505c04a266dee22ee7da2d9942c07e86f1461c Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:54:52 -0500 Subject: [PATCH 09/14] feat: dark mode for balance header --- .../BalanceHeader/BalanceHeader.tsx | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/resources/js/Components/BalanceHeader/BalanceHeader.tsx b/resources/js/Components/BalanceHeader/BalanceHeader.tsx index ef26522f5..4a73d6f07 100644 --- a/resources/js/Components/BalanceHeader/BalanceHeader.tsx +++ b/resources/js/Components/BalanceHeader/BalanceHeader.tsx @@ -49,13 +49,15 @@ export const BalanceHeader = ({ <>
-
-
+
+
-
{t("common.my_balance")}
-
+
+ {t("common.my_balance")} +
+
-
{t("common.tokens")}
-
{tokens}
+
+ {t("common.tokens")} +
+
{tokens}
-
+
{t("common.my_address")}
-
+
-
+
{ @@ -118,6 +122,7 @@ export const BalanceHeader = ({ "outline-none outline-3 outline-offset-4", "hover:text-theme-primary-700 hover:decoration-theme-primary-700", "focus-visible:outline-theme-primary-300", + "dark:text-theme-primary-400 dark:hover:text-theme-primary-500 dark:hover:decoration-theme-primary-500", )} > {t("common.more_details")} From 6a0d9f7fb0610732cbc7cf9308ff0f8bd4cd216c Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:54:58 -0500 Subject: [PATCH 10/14] feat: dark mode for balance header mobile skeleton --- .../BalanceHeader/BalanceHeaderMobile.skeleton.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/resources/js/Components/BalanceHeader/BalanceHeaderMobile.skeleton.tsx b/resources/js/Components/BalanceHeader/BalanceHeaderMobile.skeleton.tsx index 70c60c913..c7b2fbc7f 100644 --- a/resources/js/Components/BalanceHeader/BalanceHeaderMobile.skeleton.tsx +++ b/resources/js/Components/BalanceHeader/BalanceHeaderMobile.skeleton.tsx @@ -9,10 +9,12 @@ export const BalanceHeaderMobileSkeleton = ({ animated }: { animated: boolean }) return (
-
+
- {t("common.my_address")}: + + {t("common.my_address")}: +
-
{t("common.my_balance")}
+
+ {t("common.my_balance")} +
-

+

{t("common.tokens")}:

@@ -86,6 +90,7 @@ export const BalanceHeaderMobileSkeleton = ({ animated }: { animated: boolean }) "transition-default rounded-sm border-b border-transparent text-sm font-medium leading-none text-theme-primary-600 outline-none ", "hover:border-theme-primary-700 hover:text-theme-primary-700", "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-theme-primary-300 focus-visible:ring-offset-2", + "dark:text-theme-primary-400 dark:hover:text-theme-primary-500 dark:hover:decoration-theme-primary-500", )} > {t("common.more_details")} From 432a332e23ea86f2ec9409c916a530f0c3050c34 Mon Sep 17 00:00:00 2001 From: Juan Patricio Marroquin Date: Fri, 20 Oct 2023 09:55:06 -0500 Subject: [PATCH 11/14] feat: dark mode for balance header mobile --- .../BalanceHeader/BalanceHeaderMobile.tsx | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/resources/js/Components/BalanceHeader/BalanceHeaderMobile.tsx b/resources/js/Components/BalanceHeader/BalanceHeaderMobile.tsx index 9216586f9..3acc9bcaa 100644 --- a/resources/js/Components/BalanceHeader/BalanceHeaderMobile.tsx +++ b/resources/js/Components/BalanceHeader/BalanceHeaderMobile.tsx @@ -30,11 +30,13 @@ export const BalanceHeaderMobile = ({ return (
-
+
- {t("common.my_address")}: - + + {t("common.my_address")}: + +