feat: enhance global styles and component themes with new semantic colors; integrate ThemeProvider for improved theme management and update color usage across various components for consistency
This commit is contained in:
@@ -89,7 +89,7 @@ export function AccountsSummary({ data }: AccountsSummaryProps) {
|
||||
<span
|
||||
className={cn(
|
||||
"text-xs font-semibold tabular-nums ml-auto",
|
||||
folderTotal >= 0 ? "text-emerald-600" : "text-red-600",
|
||||
folderTotal >= 0 ? "text-success" : "text-destructive",
|
||||
)}
|
||||
>
|
||||
{formatCurrency(folderTotal)}
|
||||
@@ -131,8 +131,8 @@ export function AccountsSummary({ data }: AccountsSummaryProps) {
|
||||
className={cn(
|
||||
"font-bold tabular-nums text-base",
|
||||
realBalance >= 0
|
||||
? "text-emerald-600 dark:text-emerald-400"
|
||||
: "text-red-600 dark:text-red-400",
|
||||
? "text-success"
|
||||
: "text-destructive",
|
||||
)}
|
||||
>
|
||||
{formatCurrency(realBalance)}
|
||||
@@ -204,7 +204,7 @@ export function AccountsSummary({ data }: AccountsSummaryProps) {
|
||||
<span
|
||||
className={cn(
|
||||
"text-xs font-semibold tabular-nums ml-auto",
|
||||
orphanTotal >= 0 ? "text-emerald-600" : "text-red-600",
|
||||
orphanTotal >= 0 ? "text-success" : "text-destructive",
|
||||
)}
|
||||
>
|
||||
{formatCurrency(orphanTotal)}
|
||||
@@ -245,8 +245,8 @@ export function AccountsSummary({ data }: AccountsSummaryProps) {
|
||||
className={cn(
|
||||
"font-bold tabular-nums text-base",
|
||||
realBalance >= 0
|
||||
? "text-emerald-600 dark:text-emerald-400"
|
||||
: "text-red-600 dark:text-red-400",
|
||||
? "text-success"
|
||||
: "text-destructive",
|
||||
)}
|
||||
>
|
||||
{formatCurrency(realBalance)}
|
||||
|
||||
Reference in New Issue
Block a user