Skip to content

A local-first personal finance app

[AI] Fix regex checkbox label contrast in notes modal (#7515)

JasmineLCY2aa2e49df9eb
diff --git a/packages/desktop-client/src/components/modals/EditFieldModal.tsx b/packages/desktop-client/src/components/modals/EditFieldModal.tsx
index 919f744af3..84492f4baa 100644
--- a/packages/desktop-client/src/components/modals/EditFieldModal.tsx
+++ b/packages/desktop-client/src/components/modals/EditFieldModal.tsx
@@ -172,6 +172,7 @@ export function EditFieldModal({
<LabeledCheckbox
id="noteRegex"
checked={noteFindReplace.useRegex}
+ style={{ color: theme.menuAutoCompleteText }}
onChange={({ currentTarget: { checked } }) =>
setNoteFindReplace(current => ({
...current,
diff --git a/upcoming-release-notes/7515.md b/upcoming-release-notes/7515.md
new file mode 100644
index 0000000000..1fc335e8cd
--- /dev/null
+++ b/upcoming-release-notes/7515.md
@@ -0,0 +1,6 @@
+---
+category: Bugfixes
+authors: [JasmineLCY]
+---
+
+Fix unreadable "Use Regular Expressions" checkbox label in the notes find-and-replace modal by applying the correct theme color.