Skip to content

Commit

Permalink
Merge pull request #300 from letehaha/feat/improvements
Browse files Browse the repository at this point in the history
fix: Wrong trend change indication colors
  • Loading branch information
letehaha authored Jun 11, 2024
2 parents 4337852 + 6dd554c commit 6f66ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/balance-trend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</div>
<div
:class="{
'text-[var(--app-success)]': balancesDiff < 0,
'text-[var(--app-error)]': balancesDiff > 0,
'text-[var(--app-error)]': balancesDiff < 0,
'text-[var(--app-success)]': balancesDiff > 0,
}"
>
{{ `${balancesDiff}%` }}
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/expenses-structure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

<div
:class="{
'text-[var(--app-success)]': expensesDiff < 0,
'text-[var(--app-error)]': expensesDiff > 0,
'text-[var(--app-error)]': expensesDiff < 0,
'text-[var(--app-success)]': expensesDiff > 0,
}"
>
{{ `${expensesDiff}%` }}
Expand Down

0 comments on commit 6f66ab0

Please sign in to comment.