A local-first personal finance app
Final Colors Consolidation (#1871)
Neil3004f336da34
diff --git a/packages/desktop-client/src/components/Titlebar.tsx b/packages/desktop-client/src/components/Titlebar.tsxindex 587b3c2f2a..b318396349 100644--- a/packages/desktop-client/src/components/Titlebar.tsx+++ b/packages/desktop-client/src/components/Titlebar.tsx@@ -171,7 +171,7 @@ export function SyncButton({ style, isMobile = false }: SyncButtonProps) {: syncState === 'disabled' ||syncState === 'offline' ||syncState === 'local'- ? theme.altTableText+ ? theme.tableTextLight: 'inherit';const activeStyle = isMobilediff --git a/packages/desktop-client/src/components/accounts/Account.js b/packages/desktop-client/src/components/accounts/Account.jsindex 9bcbf26170..4d4096cfd3 100644--- a/packages/desktop-client/src/components/accounts/Account.js+++ b/packages/desktop-client/src/components/accounts/Account.js@@ -71,7 +71,7 @@ function EmptyMessage({ onAdd }) {</Button><View- style={{ marginTop: 20, fontSize: 13, color: theme.alttableText }}+ style={{ marginTop: 20, fontSize: 13, color: theme.tableTextLight }}>In the future, you can add accounts from the sidebar.</View>diff --git a/packages/desktop-client/src/components/autocomplete/AccountAutocomplete.js b/packages/desktop-client/src/components/autocomplete/AccountAutocomplete.jsindex 44799d7145..b1e0c50ae0 100644--- a/packages/desktop-client/src/components/autocomplete/AccountAutocomplete.js+++ b/packages/desktop-client/src/components/autocomplete/AccountAutocomplete.js@@ -48,7 +48,7 @@ function AccountList({<divkey={group}style={{- color: theme.alt2MenuItemTextHeader,+ color: theme.menuAutoCompleteTextHeader,padding: '4px 9px',...groupHeaderStyle,}}@@ -87,7 +87,7 @@ function AccountList({{backgroundColor:highlightedIndex === idx- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',padding: 4,paddingLeft: 20,diff --git a/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx b/packages/desktop-client/src/components/autocomplete/Autocomplete.tsxindex 018d446ecc..32ec5f2d78 100644--- a/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx+++ b/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx@@ -122,7 +122,7 @@ function defaultRenderItems(items, getItemProps, highlightedIndex) {cursor: 'default',backgroundColor:highlightedIndex === index- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: null,})}`}>diff --git a/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx b/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsxindex 05641edfa8..267b657ca1 100644--- a/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx+++ b/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx@@ -77,7 +77,7 @@ function CategoryList({style={{backgroundColor:highlightedIndex === idx- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',borderRadius: embedded ? 4 : 0,flexShrink: 0,@@ -108,7 +108,7 @@ function CategoryList({{showGroup && (<divstyle={{- color: theme.alt2MenuItemTextHeader,+ color: theme.menuAutoCompleteTextHeader,padding: '4px 9px',...groupHeaderStyle,}}@@ -125,7 +125,7 @@ function CategoryList({{backgroundColor:highlightedIndex === idx- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',padding: 4,paddingLeft: 20,diff --git a/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.js b/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.jsindex 1f2cb6abdf..050c07cc91 100644--- a/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.js+++ b/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.js@@ -88,7 +88,7 @@ function PayeeList({padding: '6px 9px',backgroundColor:highlightedIndex === 0- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',borderRadius: embedded ? 4 : 0,':active': {@@ -132,7 +132,7 @@ function PayeeList({<divkey={'title-' + idx}style={{- color: theme.alt2MenuItemTextHeader,+ color: theme.menuAutoCompleteTextHeader,padding: '4px 9px',...groupHeaderStyle,}}@@ -170,7 +170,7 @@ function PayeeList({{backgroundColor:highlightedIndex === idx + offset- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',borderRadius: embedded ? 4 : 0,padding: 4,diff --git a/packages/desktop-client/src/components/autocomplete/SavedFilterAutocomplete.js b/packages/desktop-client/src/components/autocomplete/SavedFilterAutocomplete.jsindex 2e43be2914..2ba4b1fb39 100644--- a/packages/desktop-client/src/components/autocomplete/SavedFilterAutocomplete.js+++ b/packages/desktop-client/src/components/autocomplete/SavedFilterAutocomplete.js@@ -25,7 +25,7 @@ function FilterList({ items, getItemProps, highlightedIndex, embedded }) {style={{backgroundColor:highlightedIndex === idx- ? theme.alt2MenuItemBackgroundHover+ ? theme.menuAutoCompleteBackgroundHover: 'transparent',padding: 4,paddingLeft: 20,diff --git a/packages/desktop-client/src/components/budget/BudgetCategories.js b/packages/desktop-client/src/components/budget/BudgetCategories.jsindex 6b056f6dbb..7e28819179 100644--- a/packages/desktop-client/src/components/budget/BudgetCategories.js+++ b/packages/desktop-client/src/components/budget/BudgetCategories.js@@ -161,7 +161,9 @@ const BudgetCategories = memo(switch (item.type) {case 'new-group':content = (- <Row style={{ backgroundColor: theme.altTableBackground }}>+ <Row+ style={{ backgroundColor: theme.tableRowHeaderBackground }}+ ><SidebarGroupgroup={{ id: 'new', name: '' }}editing={true}diff --git a/packages/desktop-client/src/components/budget/ExpenseGroup.js b/packages/desktop-client/src/components/budget/ExpenseGroup.jsindex 14c7322091..26534f3966 100644--- a/packages/desktop-client/src/components/budget/ExpenseGroup.js+++ b/packages/desktop-client/src/components/budget/ExpenseGroup.js@@ -56,7 +56,7 @@ function ExpenseGroup({style={{fontWeight: 600,opacity: group.hidden ? 0.33 : undefined,- backgroundColor: theme.altTableBackground,+ backgroundColor: theme.tableRowHeaderBackground,}}>{dragState && !dragState.preview && dragState.type === 'group' && (diff --git a/packages/desktop-client/src/components/budget/IncomeGroup.tsx b/packages/desktop-client/src/components/budget/IncomeGroup.tsxindex 8ee4faa73b..e3bd787f83 100644--- a/packages/desktop-client/src/components/budget/IncomeGroup.tsx+++ b/packages/desktop-client/src/components/budget/IncomeGroup.tsx@@ -38,7 +38,10 @@ function IncomeGroup({return (<Rowcollapsed={true}- style={{ fontWeight: 600, backgroundColor: theme.altTableBackground }}+ style={{+ fontWeight: 600,+ backgroundColor: theme.tableRowHeaderBackground,+ }}><SidebarGroupgroup={group}diff --git a/packages/desktop-client/src/components/budget/MobileBudgetTable.js b/packages/desktop-client/src/components/budget/MobileBudgetTable.jsindex ccb8f974d0..318dd416ea 100644--- a/packages/desktop-client/src/components/budget/MobileBudgetTable.js+++ b/packages/desktop-client/src/components/budget/MobileBudgetTable.js@@ -299,7 +299,7 @@ const ExpenseCategory = memo(function ExpenseCategory({<ListItemstyle={{backgroundColor: isEditingBudget- ? theme.altTableTextEditing+ ? theme.tableTextEditing: 'transparent',borderBottomWidth: 0,borderTopWidth: index > 0 ? 1 : 0,@@ -1359,7 +1359,7 @@ function IncomeGroup({: rolloverBudget.groupSumAmount(group.id)}style={{- backgroundColor: theme.altTableBackground,+ backgroundColor: theme.tableRowHeaderBackground,}}onAddCategory={onAddCategory}onSave={onSave}diff --git a/packages/desktop-client/src/components/budget/SidebarGroup.tsx b/packages/desktop-client/src/components/budget/SidebarGroup.tsxindex e9586d5ebc..afb8090def 100644--- a/packages/desktop-client/src/components/budget/SidebarGroup.tsx+++ b/packages/desktop-client/src/components/budget/SidebarGroup.tsx@@ -148,7 +148,7 @@ function SidebarGroup({style={{...style,width: 200,- backgroundColor: theme.altTableBackground,+ backgroundColor: theme.tableRowHeaderBackground,'& button': { display: 'none' },'&:hover button': { display: 'flex', color: theme.tableTextHover },...(dragPreview && {diff --git a/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx b/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsxindex 9959da029f..dde6177cc0 100644--- a/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx+++ b/packages/desktop-client/src/components/budget/rollover/BudgetSummary.tsx@@ -332,7 +332,7 @@ export function BudgetSummary({width={13}height={13}// The margin is to make it the exact same size as the dots button- style={{ color: theme.altTableText, margin: 1 }}+ style={{ color: theme.tableTextLight, margin: 1 }}/></Button></View>@@ -367,7 +367,7 @@ export function BudgetSummary({width={15}height={15}tooltipPosition="bottom-right"- defaultColor={theme.altTableText}+ defaultColor={theme.tableTextLight}/></View><View style={{ userSelect: 'none', marginLeft: 2 }}>diff --git a/packages/desktop-client/src/components/budget/rollover/rollover-components.tsx b/packages/desktop-client/src/components/budget/rollover/rollover-components.tsxindex 8be56b0bbf..fe6b614400 100644--- a/packages/desktop-client/src/components/budget/rollover/rollover-components.tsx+++ b/packages/desktop-client/src/components/budget/rollover/rollover-components.tsx@@ -41,30 +41,30 @@ export const BudgetTotalsMonth = memo(function BudgetTotalsMonth() {}}><View style={headerLabelStyle}>- <Text style={{ color: theme.alt2TableText }}>Budgeted</Text>+ <Text style={{ color: theme.tableHeaderText }}>Budgeted</Text><CellValuebinding={rolloverBudget.totalBudgeted}type="financial"- style={{ color: theme.alt2TableText, fontWeight: 600 }}+ style={{ color: theme.tableHeaderText, fontWeight: 600 }}formatter={value => {return format(-parseFloat(value || '0'), 'financial');}}/></View><View style={headerLabelStyle}>- <Text style={{ color: theme.alt2TableText }}>Spent</Text>+ <Text style={{ color: theme.tableHeaderText }}>Spent</Text><CellValuebinding={rolloverBudget.totalSpent}type="financial"- style={{ color: theme.alt2TableText, fontWeight: 600 }}+ style={{ color: theme.tableHeaderText, fontWeight: 600 }}/></View><View style={headerLabelStyle}>- <Text style={{ color: theme.alt2TableText }}>Balance</Text>+ <Text style={{ color: theme.tableHeaderText }}>Balance</Text><CellValuebinding={rolloverBudget.totalBalance}type="financial"- style={{ color: theme.alt2TableText, fontWeight: 600 }}+ style={{ color: theme.tableHeaderText, fontWeight: 600 }}/></View></View>@@ -75,7 +75,7 @@ export function IncomeHeaderMonth() {return (<Rowstyle={{- color: theme.alt2TableText,+ color: theme.tableHeaderText,alignItems: 'center',paddingRight: 10,}}diff --git a/packages/desktop-client/src/components/budget/util.ts b/packages/desktop-client/src/components/budget/util.tsindex 38d571e2fd..f01d4f6edc 100644--- a/packages/desktop-client/src/components/budget/util.ts+++ b/packages/desktop-client/src/components/budget/util.ts@@ -33,7 +33,7 @@ export function separateGroups(categoryGroups: CategoryGroupEntity[]) {export function makeAmountGrey(value: number | string) {return value === 0 || value === '0' || value === '' || value == null- ? { color: theme.altMenuItemText }+ ? { color: theme.tableTextSubdued }: null;}@@ -65,7 +65,7 @@ export function makeAmountFullStyle(value: number) {value < 0? theme.errorText: value === 0- ? theme.altMenuItemText+ ? theme.tableTextSubdued: theme.noticeText,};}diff --git a/packages/desktop-client/src/components/common/Menu.tsx b/packages/desktop-client/src/components/common/Menu.tsxindex 43aabf4dce..be4382405f 100644--- a/packages/desktop-client/src/components/common/Menu.tsx+++ b/packages/desktop-client/src/components/common/Menu.tsx@@ -118,7 +118,7 @@ export default function Menu({<Textkey={item.name}style={{- color: theme.altMenuItemTextHeader,+ color: theme.menuItemTextHeader,fontSize: 11,lineHeight: '1em',textTransform: 'uppercase',diff --git a/packages/desktop-client/src/components/common/Search.tsx b/packages/desktop-client/src/components/common/Search.tsxindex c88cb76eb2..9281d75d57 100644--- a/packages/desktop-client/src/components/common/Search.tsx+++ b/packages/desktop-client/src/components/common/Search.tsx@@ -47,7 +47,7 @@ export default function Search({width: 13,height: 13,flexShrink: 0,- color: value ? theme.altMenuItemTextSelected : 'inherit',+ color: value ? theme.menuItemTextSelected : 'inherit',margin: 5,marginRight: 0,}}diff --git a/packages/desktop-client/src/components/filters/FiltersMenu.js b/packages/desktop-client/src/components/filters/FiltersMenu.jsindex 73f5d68ebe..6250230296 100644--- a/packages/desktop-client/src/components/filters/FiltersMenu.js+++ b/packages/desktop-client/src/components/filters/FiltersMenu.js@@ -174,7 +174,7 @@ function ConfigureField({return (<Tooltipposition="bottom-left"- style={{ padding: 15, color: theme.altmenuItemTextHeader }}+ style={{ padding: 15, color: theme.menuItemText }}width={275}onClose={() => dispatch({ type: 'close' })}data-testid="filters-menu-tooltip"diff --git a/packages/desktop-client/src/components/modals/EditField.js b/packages/desktop-client/src/components/modals/EditField.jsindex 1e9f09af25..7cf9900041 100644--- a/packages/desktop-client/src/components/modals/EditField.js+++ b/packages/desktop-client/src/components/modals/EditField.js@@ -86,7 +86,7 @@ export default function EditField({ modalProps, name, onSubmit }) {groupHeaderStyle={isNarrowWidth? {- color: theme.altTableText,+ color: theme.tableTextLight,}: undefined}@@ -118,7 +118,7 @@ export default function EditField({ modalProps, name, onSubmit }) {groupHeaderStyle={isNarrowWidth? {- color: theme.altTableText,+ color: theme.tableTextLight,}: undefined}@@ -155,7 +155,7 @@ export default function EditField({ modalProps, name, onSubmit }) {groupHeaderStyle={isNarrowWidth? {- color: theme.altTableText,+ color: theme.tableTextLight,}: undefined}diff --git a/packages/desktop-client/src/components/modals/LoadBackup.js b/packages/desktop-client/src/components/modals/LoadBackup.jsindex 92b12199c5..6e0f3d98e6 100644--- a/packages/desktop-client/src/components/modals/LoadBackup.js+++ b/packages/desktop-client/src/components/modals/LoadBackup.js@@ -119,7 +119,7 @@ function LoadBackup({)}</View>{previousBackups.length === 0 ? (- <Block style={{ color: theme.altTableText, marginLeft: 20 }}>+ <Block style={{ color: theme.tableTextLight, marginLeft: 20 }}>No backups available</Block>) : (diff --git a/packages/desktop-client/src/components/reports/Overview.js b/packages/desktop-client/src/components/reports/Overview.jsindex dbe0f6ba36..10e6aad5ed 100644--- a/packages/desktop-client/src/components/reports/Overview.js+++ b/packages/desktop-client/src/components/reports/Overview.js@@ -125,7 +125,7 @@ function NetWorthCard({ accounts }) {<PrivacyFilter activationFilters={[!isCardHovered]}><Changeamount={data.totalChange}- style={{ color: theme.altTableText, fontWeight: 300 }}+ style={{ color: theme.tableTextLight, fontWeight: 300 }}/></PrivacyFilter></View>@@ -184,7 +184,7 @@ function CashFlowCard() {<PrivacyFilter activationFilters={[!isCardHovered]}><Changeamount={income - expense}- style={{ color: theme.altTableText, fontWeight: 300 }}+ style={{ color: theme.tableTextLight, fontWeight: 300 }}/></PrivacyFilter></View>diff --git a/packages/desktop-client/src/components/reports/Tooltip.js b/packages/desktop-client/src/components/reports/Tooltip.jsindex 4ee6b07e74..090be01f71 100644--- a/packages/desktop-client/src/components/reports/Tooltip.js+++ b/packages/desktop-client/src/components/reports/Tooltip.js@@ -57,8 +57,10 @@ class Tooltip extends Component {borderRadius: 2,boxShadow: light ? 'none' : '0 1px 6px rgba(0, 0, 0, .20)',// TODO: Transparent background- backgroundColor: light ? 'transparent' : theme.alt2MenuBackground,- color: light ? 'inherit' : theme.alt2MenuItemText,+ backgroundColor: light+ ? 'transparent'+ : theme.menuAutoCompleteBackground,+ color: light ? 'inherit' : theme.menuAutoCompleteText,padding: 10,},!light &&@@ -68,7 +70,7 @@ class Tooltip extends Component {borderTop: '7px solid transparent',borderBottom: '7px solid transparent',[position === 'right' ? 'borderRight' : 'borderLeft']:- '7px solid ' + theme.alt2MenuBackground,+ '7px solid ' + theme.menuAutoCompleteBackground,[position === 'right' ? 'left' : 'right']: -6,top: 'calc(50% - 7px)',// eslint-disable-next-line rulesdir/typographydiff --git a/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx b/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsxindex 5ef62d3591..724f9f325e 100644--- a/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx+++ b/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx@@ -85,8 +85,8 @@ function NetWorthGraph({pointerEvents: 'none',borderRadius: 2,boxShadow: '0 1px 6px rgba(0, 0, 0, .20)',- backgroundColor: theme.alt2MenuBackground,- color: theme.alt2MenuItemText,+ backgroundColor: theme.menuAutoCompleteBackground,+ color: theme.menuAutoCompleteText,padding: 10,},style,diff --git a/packages/desktop-client/src/components/schedules/DiscoverSchedules.js b/packages/desktop-client/src/components/schedules/DiscoverSchedules.jsindex ebc3568418..e145776a57 100644--- a/packages/desktop-client/src/components/schedules/DiscoverSchedules.js+++ b/packages/desktop-client/src/components/schedules/DiscoverSchedules.js@@ -40,9 +40,7 @@ function DiscoverSchedulesTable({ schedules, loading }) {dispatchSelected({ type: 'select', id: item.id, event: e });}}style={{- borderColor: selected- ? theme.alttableBorderSelected- : theme.tableBorder,+ borderColor: selected ? theme.tableBorderSelected : theme.tableBorder,cursor: 'pointer',color: selected? theme.tableRowBackgroundHighlightTextdiff --git a/packages/desktop-client/src/components/schedules/StatusBadge.tsx b/packages/desktop-client/src/components/schedules/StatusBadge.tsxindex 16a514d0b8..e7c91568f6 100644--- a/packages/desktop-client/src/components/schedules/StatusBadge.tsx+++ b/packages/desktop-client/src/components/schedules/StatusBadge.tsx@@ -44,8 +44,8 @@ export function getStatusProps(status: StatusTypes) {};case 'completed':return {- color: theme.alt2TableText,- backgroundColor: theme.altTableBackground,+ color: theme.tableHeaderText,+ backgroundColor: theme.tableRowHeaderBackground,Icon: FavoriteStar,};case 'pending':@@ -56,20 +56,20 @@ export function getStatusProps(status: StatusTypes) {};case 'scheduled':return {- color: theme.menuItemText,- backgroundColor: theme.altTableBackground,+ color: theme.tableRowHeaderText,+ backgroundColor: theme.tableRowHeaderBackground,Icon: CalendarIcon,};case 'cleared':return {color: theme.noticeTextLight,- backgroundColor: theme.altTableBackground,+ backgroundColor: theme.tableRowHeaderBackground,Icon: CheckCircle1,};default:return {color: theme.buttonNormalDisabledText,- backgroundColor: theme.altTableBackground,+ backgroundColor: theme.tableRowHeaderBackground,Icon: CheckCircleHollow,};}diff --git a/packages/desktop-client/src/components/transactions/MobileTransaction.js b/packages/desktop-client/src/components/transactions/MobileTransaction.jsindex 322678f6ba..6880a6d9e7 100644--- a/packages/desktop-client/src/components/transactions/MobileTransaction.js+++ b/packages/desktop-client/src/components/transactions/MobileTransaction.js@@ -144,7 +144,7 @@ export function DateHeader({ date }) {}}><Text- style={{ ...styles.text, fontSize: 13, color: theme.alt2TableText }}+ style={{ ...styles.text, fontSize: 13, color: theme.tableHeaderText }}>{monthUtils.format(date, 'MMMM dd, yyyy')}</Text>@@ -163,7 +163,7 @@ function Status({ status }) {color = theme.warningText;break;case 'upcoming':- color = theme.alt2TableText;+ color = theme.tableHeaderText;break;default:}@@ -987,7 +987,7 @@ class Transaction extends PureComponent {fontSize: 14,fontWeight: added ? '600' : '400',...(prettyDescription === '' && {- color: theme.altTableText,+ color: theme.tableTextLight,fontStyle: 'italic',}),}}@@ -1023,7 +1023,7 @@ class Transaction extends PureComponent {fontWeight: '400',color: prettyCategory? theme.tableTextSelected- : theme.altMenuItemTextSelected,+ : theme.menuItemTextSelected,fontStyle: prettyCategory ? null : 'italic',textAlign: 'left',}}@@ -1218,7 +1218,7 @@ function ListBoxSection({ section, state }) {backgroundColor: theme.mobileDateBackground,borderBottom: `1px solid ${theme.tableBorder}`,borderTop: `1px solid ${theme.tableBorder}`,- color: theme.alt2TableText,+ color: theme.tableHeaderText,display: 'flex',justifyContent: 'center',paddingBottom: 4,diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.js b/packages/desktop-client/src/components/transactions/TransactionsTable.jsindex 472fdd389d..ee49899adc 100644--- a/packages/desktop-client/src/components/transactions/TransactionsTable.js+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.js@@ -843,7 +843,7 @@ const Transaction = memo(function Transaction(props) {...style,...(isPreview && {color: theme.tableTextInactive,- backgroundColor: !selected ? '#fcfcfc' : undefined,+ backgroundColor: !selected ? theme.tableBackground : undefined,fontStyle: 'italic',}),...(_unmatched && { opacity: 0.5 }),@@ -1048,7 +1048,7 @@ const Transaction = memo(function Transaction(props) {? theme.warningText: selected? theme.formLabelText- : theme.altTableText,+ : theme.tableTextLight,backgroundColor:notes === 'missed'? theme.errorBackground@@ -1056,7 +1056,7 @@ const Transaction = memo(function Transaction(props) {? theme.warningBackground: selected? theme.formLabelBackground- : theme.alt2TableBackground,+ : theme.pageBackground,margin: '0 5px',padding: '3px 7px',borderRadius: 4,diff --git a/packages/desktop-client/src/style/themes/dark.ts b/packages/desktop-client/src/style/themes/dark.tsindex 7e8cc8b264..68e475657a 100644--- a/packages/desktop-client/src/style/themes/dark.ts+++ b/packages/desktop-client/src/style/themes/dark.ts@@ -20,23 +20,19 @@ export const cardBorder = colorPalette.purple400;export const cardShadow = colorPalette.navy700;export const tableBackground = colorPalette.navy800;-export const altTableBackground = colorPalette.navy700;-export const alt2TableBackground = tableBackground;export const tableRowBackgroundHover = colorPalette.navy700;export const tableText = colorPalette.navy150;-export const altTableText = tableText;-export const alt2TableText = tableText;+export const tableTextLight = tableText;+export const tableTextSubdued = colorPalette.navy150;export const tableTextSelected = colorPalette.navy150;export const tableTextHover = colorPalette.navy400;export const tableTextEditing = colorPalette.black;-export const altTableTextEditing = tableTextEditing;export const tableTextEditingBackground = colorPalette.purple400;export const tableTextInactive = colorPalette.navy500;export const tableHeaderText = colorPalette.navy300;export const tableHeaderBackground = colorPalette.navy700;export const tableBorder = colorPalette.navy600;export const tableBorderSelected = colorPalette.purple400;-export const alttableBorderSelected = tableBorderSelected;export const tableBorderHover = colorPalette.purple300;export const tableBorderSeparator = colorPalette.navy400;export const tableRowBackgroundHighlight = colorPalette.purple800;@@ -62,26 +58,15 @@ export const menuItemBackground = colorPalette.navy600;export const menuItemBackgroundHover = colorPalette.navy500;export const menuItemText = colorPalette.navy100;export const menuItemTextHover = colorPalette.navy50;-export const menuItemTextSelected = colorPalette.navy200;-export const menuItemTextHeader = colorPalette.purple300;+export const menuItemTextSelected = colorPalette.purple400;+export const menuItemTextHeader = colorPalette.purple500;export const menuBorder = colorPalette.navy800;export const menuBorderHover = colorPalette.purple400;export const menuKeybindingText = colorPalette.navy500;-export const altMenuBackground = colorPalette.navy700;-export const alt2MenuBackground = altMenuBackground;-export const altMenuItemBackground = colorPalette.navy700;-export const altMenuItemBackgroundHover = colorPalette.navy600;-export const alt2MenuItemBackgroundHover = colorPalette.navy300;-export const altMenuItemText = colorPalette.navy150;-export const alt2MenuItemText = altMenuItemText;-export const altMenuItemTextHover = colorPalette.navy150;-export const altMenuItemTextSelected = colorPalette.purple400;-export const altMenuItemTextHeader = colorPalette.purple500;-export const alt2MenuItemTextHeader = altMenuItemTextHeader;-export const altMenuBorder = colorPalette.navy200;-export const altMenuBorderHover = colorPalette.purple400;export const menuAutoCompleteBackground = colorPalette.navy400;+export const menuAutoCompleteBackgroundHover = colorPalette.navy300;export const menuAutoCompleteText = colorPalette.navy900;+export const menuAutoCompleteTextHeader = menuItemTextHeader;export const modalBackground = colorPalette.gray800;export const modalBorder = colorPalette.navy600;diff --git a/packages/desktop-client/src/style/themes/development.ts b/packages/desktop-client/src/style/themes/development.tsindex 7d84e5ee7d..463f7abf06 100644--- a/packages/desktop-client/src/style/themes/development.ts+++ b/packages/desktop-client/src/style/themes/development.ts@@ -1,16 +1,17 @@import * as colorPalette from '../palette';-export const pageBackground = colorPalette.blue600;-export const pageBackgroundModalActive = colorPalette.blue700;-export const pageBackgroundTopLeft = colorPalette.green300;-export const pageBackgroundBottomRight = colorPalette.red600;-export const pageBackgroundLineTop = colorPalette.navy50;-export const pageBackgroundLineMid = colorPalette.green500;-export const pageBackgroundLineBottom = colorPalette.orange200;-export const pageText = colorPalette.blue300;+export const pageBackground = colorPalette.navy100;+export const pageBackgroundModalActive = colorPalette.navy200;+export const pageBackgroundTopLeft = colorPalette.navy100;+export const pageBackgroundBottomRight = colorPalette.blue150;+export const pageBackgroundLineTop = colorPalette.white;+export const pageBackgroundLineMid = colorPalette.navy100;+export const pageBackgroundLineBottom = colorPalette.blue150;+export const pageText = '#272630';export const pageTextLight = colorPalette.navy500;-export const pageTextSubdued = colorPalette.blue500;-export const pageTextPositive = colorPalette.blue50;+export const pageTextSubdued = colorPalette.navy300;+export const pageTextDark = colorPalette.navy800;+export const pageTextPositive = colorPalette.purple600;export const pageTextLink = colorPalette.blue600;export const pageTextLinkLight = colorPalette.blue300;@@ -18,66 +19,54 @@ export const cardBackground = colorPalette.purple700;export const cardBorder = colorPalette.purple400;export const cardShadow = colorPalette.purple100;-export const tableBackground = colorPalette.red900;-export const altTableBackground = tableBackground;-export const alt2TableBackground = tableBackground;-export const tableRowBackgroundHover = colorPalette.red800;-export const tableText = colorPalette.red200;-export const altTableText = colorPalette.navy400;-export const alt2TableText = altTableText;-export const tableTextSelected = colorPalette.red150;-export const tableTextHover = colorPalette.red400;-export const tableTextEditing = colorPalette.black;-export const altTableTextEditing = tableTextEditing;-export const tableTextEditingBackground = colorPalette.red200;-export const tableTextInactive = colorPalette.red500;-export const tableHeaderText = colorPalette.red700;-export const tableHeaderBackground = colorPalette.red300;-export const tableBorder = colorPalette.red200;-export const tableBorderSelected = colorPalette.purple400;-export const tableBorderHover = colorPalette.purple300;+export const tableBackground = colorPalette.white;+export const tableRowBackgroundHover = colorPalette.navy50;+export const tableText = pageText;+export const tableTextLight = colorPalette.navy400;+export const tableTextSubdued = colorPalette.navy100;+export const tableTextSelected = colorPalette.navy700;+export const tableTextHover = colorPalette.navy900;+export const tableTextEditing = colorPalette.navy50;+export const tableTextEditingBackground = colorPalette.blue500;+export const tableTextInactive = colorPalette.navy500;+export const tableHeaderText = colorPalette.navy600;+export const tableHeaderBackground = colorPalette.white;+export const tableBorder = colorPalette.navy100;+export const tableBorderSelected = colorPalette.purple500;+export const tableBorderHover = colorPalette.purple400;export const tableBorderSeparator = colorPalette.navy400;-export const tableRowBackgroundHighlight = colorPalette.red700;-export const tableRowBackgroundHighlightText = colorPalette.red200;-export const tableRowHeaderBackground = colorPalette.red100;-export const tableRowHeaderText = colorPalette.red700;--export const sidebarBackground = colorPalette.orange800;-export const sidebarItemBackground = colorPalette.orange700;-export const sidebarItemBackgroundSelected = colorPalette.orange900;-export const sidebarItemBackgroundHover = colorPalette.orange500;-export const sidebarItemAccent = colorPalette.orange200;-export const sidebarItemAccentSelected = colorPalette.orange400;-export const sidebarItemAccentHover = colorPalette.orange200;-export const sidebarItemText = colorPalette.orange200;-export const sidebarItemTextSelected = colorPalette.orange400;-export const sidebarItemTextHover = colorPalette.orange150;--export const menuBackground = colorPalette.green800;-export const menuItemBackground = colorPalette.green700;-export const menuItemBackgroundHover = colorPalette.green500;-export const menuItemText = colorPalette.green200;-export const menuItemTextHover = colorPalette.green50;-export const menuItemTextSelected = colorPalette.green500;-export const menuItemTextHeader = colorPalette.green300;-export const menuBorder = colorPalette.green500;-export const menuBorderHover = colorPalette.green900;+export const tableRowBackgroundHighlight = colorPalette.blue150;+export const tableRowBackgroundHighlightText = colorPalette.navy700;+export const tableRowHeaderBackground = colorPalette.navy50;+export const tableRowHeaderText = colorPalette.navy800;++export const sidebarBackground = colorPalette.navy900;+export const sidebarItemBackground = colorPalette.blue800;+export const sidebarItemBackgroundPositive = colorPalette.green500;+export const sidebarItemBackgroundFailed = colorPalette.red300;+export const sidebarItemBackgroundSelected = colorPalette.purple200;+export const sidebarItemBackgroundHover = colorPalette.navy800;+export const sidebarItemAccent = colorPalette.blue800;+export const sidebarItemAccentSelected = colorPalette.purple200;+export const sidebarItemAccentHover = colorPalette.blue700;+export const sidebarItemText = colorPalette.navy150;+export const sidebarItemTextSelected = colorPalette.purple200;+export const sidebarItemTextHover = colorPalette.navy50;++export const menuBackground = colorPalette.white;+export const menuItemBackground = colorPalette.navy50;+export const menuItemBackgroundHover = colorPalette.navy100;+export const menuItemText = colorPalette.navy900;+export const menuItemTextHover = menuItemText;+export const menuItemTextSelected = colorPalette.purple300;+export const menuItemTextHeader = colorPalette.navy400;+export const menuBorder = colorPalette.navy100;+export const menuBorderHover = colorPalette.purple100;export const menuKeybindingText = colorPalette.navy400;-export const altMenuBackground = colorPalette.navy700;-export const alt2MenuBackground = altMenuBackground;-export const altMenuItemBackground = colorPalette.navy700;-export const altMenuItemBackgroundHover = colorPalette.navy600;-export const alt2MenuItemBackgroundHover = colorPalette.navy600;-export const altMenuItemText = colorPalette.navy150;-export const alt2MenuItemText = altMenuItemText;-export const altMenuItemTextHover = colorPalette.navy150;-export const altMenuItemTextSelected = colorPalette.navy150;-export const altMenuItemTextHeader = colorPalette.purple500;-export const alt2MenuItemTextHeader = colorPalette.orange150;-export const altMenuBorder = colorPalette.navy200;-export const altMenuBorderHover = colorPalette.purple400;export const menuAutoCompleteBackground = colorPalette.navy900;+export const menuAutoCompleteBackgroundHover = colorPalette.navy600;export const menuAutoCompleteText = colorPalette.white;+export const menuAutoCompleteTextHeader = colorPalette.orange150;export const modalBackground = colorPalette.navy900;export const modalBorder = colorPalette.navy200;diff --git a/packages/desktop-client/src/style/themes/light.ts b/packages/desktop-client/src/style/themes/light.tsindex 26b4a1825d..e4392062e6 100644--- a/packages/desktop-client/src/style/themes/light.ts+++ b/packages/desktop-client/src/style/themes/light.ts@@ -20,29 +20,26 @@ export const cardBorder = colorPalette.purple700;export const cardShadow = colorPalette.navy700;export const tableBackground = colorPalette.white;-export const altTableBackground = colorPalette.navy50;-export const alt2TableBackground = colorPalette.navy100;export const tableRowBackgroundHover = colorPalette.navy50;export const tableText = pageText;-export const altTableText = colorPalette.navy400;-export const alt2TableText = colorPalette.navy600;+export const tableTextLight = colorPalette.navy400;+export const tableTextSubdued = colorPalette.navy100;export const tableTextSelected = colorPalette.navy700;export const tableTextHover = colorPalette.navy900;export const tableTextEditing = colorPalette.navy50;-export const altTableTextEditing = colorPalette.purple50;export const tableTextEditingBackground = colorPalette.blue500;export const tableTextInactive = colorPalette.navy500;export const tableHeaderText = colorPalette.navy600;export const tableHeaderBackground = colorPalette.white;export const tableBorder = colorPalette.navy100;export const tableBorderSelected = colorPalette.purple500;-export const alttableBorderSelected = colorPalette.blue200;export const tableBorderHover = colorPalette.purple400;export const tableBorderSeparator = colorPalette.navy400;export const tableRowBackgroundHighlight = colorPalette.blue150;export const tableRowBackgroundHighlightText = colorPalette.navy700;export const tableRowHeaderBackground = colorPalette.navy50;export const tableRowHeaderText = colorPalette.navy800;+export const sidebarBackground = colorPalette.navy900;export const sidebarItemBackground = colorPalette.blue800;export const sidebarItemBackgroundPositive = colorPalette.green500;@@ -61,26 +58,15 @@ export const menuItemBackground = colorPalette.navy50;export const menuItemBackgroundHover = colorPalette.navy100;export const menuItemText = colorPalette.navy900;export const menuItemTextHover = menuItemText;-export const menuItemTextSelected = menuItemText;-export const menuItemTextHeader = colorPalette.purple600;+export const menuItemTextSelected = colorPalette.purple300;+export const menuItemTextHeader = colorPalette.navy400;export const menuBorder = colorPalette.navy100;export const menuBorderHover = colorPalette.purple100;export const menuKeybindingText = colorPalette.navy400;-export const altMenuBackground = colorPalette.blue800;-export const alt2MenuBackground = colorPalette.navy900;-export const altMenuItemBackground = colorPalette.blue800;-export const altMenuItemBackgroundHover = colorPalette.blue700;-export const alt2MenuItemBackgroundHover = colorPalette.navy600;-export const altMenuItemText = colorPalette.navy100;-export const alt2MenuItemText = colorPalette.white;-export const altMenuItemTextHover = colorPalette.navy50;-export const altMenuItemTextSelected = colorPalette.purple300;-export const altMenuItemTextHeader = colorPalette.navy400;-export const alt2MenuItemTextHeader = colorPalette.orange150;-export const altMenuBorder = colorPalette.blue700;-export const altMenuBorderHover = colorPalette.purple300;export const menuAutoCompleteBackground = colorPalette.navy900;+export const menuAutoCompleteBackgroundHover = colorPalette.navy600;export const menuAutoCompleteText = colorPalette.white;+export const menuAutoCompleteTextHeader = colorPalette.orange150;export const modalBackground = colorPalette.white;export const modalBorder = colorPalette.white;diff --git a/upcoming-release-notes/1871.md b/upcoming-release-notes/1871.mdnew file mode 100644index 0000000000..d6c13cbb3c--- /dev/null+++ b/upcoming-release-notes/1871.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [carkom]+---++Consolidating colors so they are more consistent across the app from one page to the next.\ No newline at end of file