Remove Static Colors (#1875)

* Color Changes

* notes
This commit is contained in:
Neil
2023-11-09 15:51:58 -08:00
committed by GitHub
parent 3004f336da
commit 184b302273
6 changed files with 12 additions and 6 deletions

View File

@@ -300,7 +300,7 @@ const BudgetCategories = memo(
<View
style={
!dragState && {
':hover': { backgroundColor: '#fcfcfc' },
':hover': { backgroundColor: theme.tableBackground },
}
}
>

View File

@@ -116,7 +116,7 @@ function SidebarCategory({
// The zIndex here forces the the view on top of a row below
// it that may be "collapsed" and show a border on top
...(dragPreview && {
backgroundColor: 'white',
backgroundColor: theme.tableBackground,
zIndex: 10000,
borderRadius: 6,
overflow: 'hidden',

View File

@@ -327,7 +327,7 @@ export const CategoryMonth = memo(function CategoryMonth({
onEdit(null);
},
style: {
backgroundColor: 'white',
backgroundColor: theme.tableBackground,
},
}}
onSave={amount => {

View File

@@ -264,7 +264,7 @@ export const ExpenseCategoryMonth = memo(function ExpenseCategoryMonth({
borderRadius: 4,
':hover': {
boxShadow: 'inset 0 0 0 1px ' + theme.mobileAccountShadow,
backgroundColor: 'white',
backgroundColor: theme.tableBackground,
},
}}
valueProps={{
@@ -283,7 +283,7 @@ export const ExpenseCategoryMonth = memo(function ExpenseCategoryMonth({
onEdit(null);
},
style: {
backgroundColor: 'white',
backgroundColor: theme.tableBackground,
},
}}
onSave={amount => {

View File

@@ -1137,7 +1137,7 @@ const Transaction = memo(function Transaction(props) {
valueStyle={valueStyle}
style={{
fontStyle: 'italic',
color: '#c0c0c0',
color: theme.pageTextSubdued,
fontWeight: 300,
}}
inputProps={{

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [carkom]
---
Removing the last of the static colors and replacing with theme colors.