Skip to content

A local-first personal finance app

[Bugfix] Midnight theme - Budget Name color, Mobile category color in account view (#2422)

shall0pass0e0d960cd41a
diff --git a/packages/desktop-client/src/components/accounts/MobileAccounts.jsx b/packages/desktop-client/src/components/accounts/MobileAccounts.jsx
index f056629501..0563e1383d 100644
--- a/packages/desktop-client/src/components/accounts/MobileAccounts.jsx
+++ b/packages/desktop-client/src/components/accounts/MobileAccounts.jsx
@@ -167,7 +167,7 @@ function AccountList({
<Button
type="bare"
style={{
- ...noBackgroundColorStyle,
+ color: theme.mobileHeaderText,
margin: 10,
}}
activeStyle={noBackgroundColorStyle}
diff --git a/packages/desktop-client/src/components/transactions/MobileTransaction.jsx b/packages/desktop-client/src/components/transactions/MobileTransaction.jsx
index bf97e9d59c..24fc2987b8 100644
--- a/packages/desktop-client/src/components/transactions/MobileTransaction.jsx
+++ b/packages/desktop-client/src/components/transactions/MobileTransaction.jsx
@@ -1272,7 +1272,7 @@ const Transaction = memo(function Transaction({
marginTop: 1,
fontWeight: '400',
color: prettyCategory
- ? theme.tableTextSelected
+ ? theme.tableText
: theme.menuItemTextSelected,
fontStyle:
specialCategory || !prettyCategory ? 'italic' : undefined,
diff --git a/packages/desktop-client/src/style/themes/midnight.ts b/packages/desktop-client/src/style/themes/midnight.ts
index 1fc41c202c..f0d3a10dc4 100644
--- a/packages/desktop-client/src/style/themes/midnight.ts
+++ b/packages/desktop-client/src/style/themes/midnight.ts
@@ -115,7 +115,7 @@ export const buttonNormalBorder = colorPalette.gray300;
export const buttonNormalShadow = 'rgba(0, 0, 0, 0.4)';
export const buttonNormalSelectedText = colorPalette.white;
export const buttonNormalSelectedBackground = colorPalette.purple500;
-export const buttonNormalDisabledText = colorPalette.gray500;
+export const buttonNormalDisabledText = colorPalette.gray400;
export const buttonNormalDisabledBackground = colorPalette.gray700;
export const buttonNormalDisabledBorder = colorPalette.gray500;
diff --git a/upcoming-release-notes/2422.md b/upcoming-release-notes/2422.md
new file mode 100644
index 0000000000..9caa1732c3
--- /dev/null
+++ b/upcoming-release-notes/2422.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [shall0pass]
+---
+
+Fix colors for the budget name and category name in the accounts view on mobile.