Skip to content

A local-first personal finance app

automation UI: tweak font colours to be more readable (#7819)

Matt Fiddamandbf5d7c07906
diff --git a/packages/desktop-client/src/components/budget/goals/editor/CleanupAutomation.tsx b/packages/desktop-client/src/components/budget/goals/editor/CleanupAutomation.tsx
index 37c94911af..be5a0c81b8 100644
--- a/packages/desktop-client/src/components/budget/goals/editor/CleanupAutomation.tsx
+++ b/packages/desktop-client/src/components/budget/goals/editor/CleanupAutomation.tsx
@@ -72,7 +72,7 @@ export function CleanupAutomation({
return (
<View style={{ gap: 14 }}>
- <Text style={{ fontSize: 12, color: theme.pageTextSubdued }}>
+ <Text style={{ fontSize: 12, color: theme.pageTextLight }}>
<Trans>
End of month cleanup is a one-click reallocation of funds. Categories
you choose to <strong>send leftover</strong> return their surplus to a
@@ -215,7 +215,7 @@ function ScopeCard({
style={{
fontSize: 11,
textTransform: 'uppercase',
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
fontWeight: 600,
letterSpacing: '0.04em',
}}
@@ -227,7 +227,7 @@ function ScopeCard({
variant="bare"
onPress={onRemove}
aria-label={t('Remove pool')}
- style={{ color: theme.pageTextSubdued, padding: 2 }}
+ style={{ color: theme.pageTextLight, padding: 2 }}
>
<SvgDelete width={10} height={10} style={{ color: 'inherit' }} />
</Button>
diff --git a/packages/desktop-client/src/components/budget/goals/editor/RemainderAutomation.tsx b/packages/desktop-client/src/components/budget/goals/editor/RemainderAutomation.tsx
index 5aaf666502..75794eb1ed 100644
--- a/packages/desktop-client/src/components/budget/goals/editor/RemainderAutomation.tsx
+++ b/packages/desktop-client/src/components/budget/goals/editor/RemainderAutomation.tsx
@@ -51,7 +51,7 @@ export const RemainderAutomation = ({
onBlur={commitWeight}
/>
</FormField>
- <Text style={{ flex: 2, color: theme.pageTextSubdued, fontSize: 12 }}>
+ <Text style={{ flex: 2, color: theme.pageTextLight, fontSize: 12 }}>
<Trans>
Categories with higher weights get a bigger share of the leftover To
Budget.
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationEditorPane.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationEditorPane.tsx
index d1dc887090..591106fdf0 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationEditorPane.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationEditorPane.tsx
@@ -36,7 +36,7 @@ const CONFIG_PANEL_CLASS = css({
'& span > label': {
fontSize: 11,
fontWeight: 600,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
letterSpacing: '0.04em',
textTransform: 'uppercase',
},
@@ -128,7 +128,7 @@ export function AutomationEditorPane({
if (!active || !state) {
return (
- <View style={{ padding: 20, color: theme.pageTextSubdued }}>
+ <View style={{ padding: 20, color: theme.pageTextLight }}>
<Trans>Select an automation on the left.</Trans>
</View>
);
@@ -186,7 +186,7 @@ export function AutomationEditorPane({
style={{
fontSize: 11,
textTransform: 'uppercase',
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
fontWeight: 600,
letterSpacing: '0.05em',
}}
@@ -207,7 +207,7 @@ export function AutomationEditorPane({
style={{
fontSize: 11,
textTransform: 'uppercase',
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
fontWeight: 600,
letterSpacing: '0.05em',
}}
@@ -227,7 +227,7 @@ export function AutomationEditorPane({
<Text
style={{
fontSize: 12,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
display: 'block',
marginBottom: 4,
}}
@@ -272,7 +272,7 @@ export function AutomationEditorPane({
style={{
fontSize: 11,
fontWeight: 600,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
letterSpacing: '0.04em',
textTransform: 'uppercase',
}}
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationListRow.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationListRow.tsx
index 1de3044da7..fb75297552 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationListRow.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/AutomationListRow.tsx
@@ -61,7 +61,7 @@ export function AutomationListRow({
? theme.errorBackground
: 'transparent';
const titleColor = error ? theme.errorText : theme.pageText;
- const subtitleColor = error ? theme.errorText : theme.pageTextSubdued;
+ const subtitleColor = error ? theme.errorText : theme.pageTextLight;
const priority =
'priority' in entry.template && typeof entry.template.priority === 'number'
? entry.template.priority
@@ -98,7 +98,7 @@ export function AutomationListRow({
? theme.errorText
: isActive
? theme.pageTextPositive
- : theme.pageTextSubdued,
+ : theme.pageTextLight,
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
@@ -156,7 +156,7 @@ export function AutomationListRow({
contribution == null ||
Number.isNaN(contribution) ||
contribution === 0
- ? theme.pageTextSubdued
+ ? theme.pageTextLight
: theme.pageText,
}}
>
@@ -170,7 +170,7 @@ export function AutomationListRow({
<Text
style={{
fontSize: 10,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
fontVariantNumeric: 'tabular-nums',
letterSpacing: '0.04em',
}}
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/BudgetAutomationsBody.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/BudgetAutomationsBody.tsx
index 0d3c63fbe6..aab685a595 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/BudgetAutomationsBody.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/BudgetAutomationsBody.tsx
@@ -86,7 +86,7 @@ function SidebarSectionHeader({
padding: '6px 8px',
fontSize: 11,
textTransform: 'uppercase',
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
fontWeight: 600,
letterSpacing: '0.05em',
...style,
@@ -388,7 +388,7 @@ export function BudgetAutomationsBody({
}}
>
<View style={{ minWidth: 0 }}>
- <Text style={{ fontSize: 12, color: theme.pageTextSubdued }}>
+ <Text style={{ fontSize: 12, color: theme.pageTextLight }}>
<Trans>Budget automation</Trans>
</Text>
<Text
@@ -415,7 +415,7 @@ export function BudgetAutomationsBody({
style={{
fontSize: 11,
textTransform: 'uppercase',
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
letterSpacing: '0.04em',
}}
>
@@ -439,7 +439,7 @@ export function BudgetAutomationsBody({
<SvgInformationCircle
width={12}
height={12}
- style={{ color: theme.pageTextSubdued, cursor: 'help' }}
+ style={{ color: theme.pageTextLight, cursor: 'help' }}
/>
</Tooltip>
</View>
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/CleanupListRow.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/CleanupListRow.tsx
index 907f7fa158..54e2876d4d 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/CleanupListRow.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/CleanupListRow.tsx
@@ -58,7 +58,7 @@ export function CleanupListRow({
backgroundColor: isActive
? theme.upcomingBackground
: theme.pillBackground,
- color: isActive ? theme.pageTextPositive : theme.pageTextSubdued,
+ color: isActive ? theme.pageTextPositive : theme.pageTextLight,
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
@@ -80,7 +80,7 @@ export function CleanupListRow({
<Text
style={{
fontSize: 11,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
display: 'block',
}}
>
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/EmptyState.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/EmptyState.tsx
index fd22e24075..6d5cdcadd6 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/EmptyState.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/EmptyState.tsx
@@ -52,7 +52,7 @@ export function EmptyState({ onAdd }: EmptyStateProps) {
<Text
style={{
fontSize: 13,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
marginTop: 4,
marginBottom: 22,
display: 'block',
@@ -123,7 +123,7 @@ export function EmptyState({ onAdd }: EmptyStateProps) {
<Text
style={{
fontSize: 11,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
lineHeight: 1.4,
}}
>
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/TypePicker.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/TypePicker.tsx
index e08aa14293..ec949beac4 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/TypePicker.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/TypePicker.tsx
@@ -101,7 +101,7 @@ export function TypePicker({ active, disabledTypes, onPick }: TypePickerProps) {
style={{
display: 'block',
fontSize: 11,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
lineHeight: 1.35,
}}
>
diff --git a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/UnsupportedDirectivesNotice.tsx b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/UnsupportedDirectivesNotice.tsx
index 87a7462952..7ffadcab8d 100644
--- a/packages/desktop-client/src/components/modals/BudgetAutomationsModal/UnsupportedDirectivesNotice.tsx
+++ b/packages/desktop-client/src/components/modals/BudgetAutomationsModal/UnsupportedDirectivesNotice.tsx
@@ -41,7 +41,7 @@ export function UnsupportedDirectivesNotice({
<Text
style={{
fontSize: 13,
- color: theme.pageTextSubdued,
+ color: theme.pageTextLight,
maxWidth: 480,
lineHeight: 1.5,
}}
diff --git a/upcoming-release-notes/7819.md b/upcoming-release-notes/7819.md
new file mode 100644
index 0000000000..2269d34595
--- /dev/null
+++ b/upcoming-release-notes/7819.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Automation UI: tweak font colors to be more readable