diff --git a/src/components/Sections/Defi/SelectCoinDialog.tsx b/src/components/Sections/Defi/SelectCoinDialog.tsx index b8abe35..43bc853 100644 --- a/src/components/Sections/Defi/SelectCoinDialog.tsx +++ b/src/components/Sections/Defi/SelectCoinDialog.tsx @@ -2,6 +2,7 @@ import React, { type Dispatch, type SetStateAction } from 'react'; import { Dialog, DialogContent } from '../../SimularInvestment/ui/dialog'; import ChartLineUp from '../../../assets/ChartLineUp'; +import { cn } from '../../../lib/utils'; import type { BestCoin } from '../../../model/business'; import { formatPercentage } from '../../../utils/formats'; import { MAPPING_RETURNS } from '../../../utils/returnsMapping'; @@ -47,6 +48,7 @@ const ContentDialog = ({ options: BestCoin[]; onClick: (x: BestCoin) => void; }) => { + const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches; return (

@@ -54,7 +56,10 @@ const ContentDialog = ({