diff --git a/src/Mobile.vue b/src/Mobile.vue index e4a224ef..6a7d811d 100644 --- a/src/Mobile.vue +++ b/src/Mobile.vue @@ -77,6 +77,12 @@ body { --f7-theme-color-rgb: 198, 126, 72; --f7-theme-color-shade: #af6a36; --f7-theme-color-tint: #d09467; + + --default-icon-color: var(--f7-text-color); +} + +:root .theme-dark { + --default-icon-color: var(--f7-text-color); } .no-right-border { diff --git a/src/components/mobile/ColorSelectionSheet.vue b/src/components/mobile/ColorSelectionSheet.vue index 78df41a8..ea6198a0 100644 --- a/src/components/mobile/ColorSelectionSheet.vue +++ b/src/components/mobile/ColorSelectionSheet.vue @@ -10,7 +10,9 @@ - + diff --git a/src/components/mobile/IconSelectionSheet.vue b/src/components/mobile/IconSelectionSheet.vue index cca8a54b..48b41492 100644 --- a/src/components/mobile/IconSelectionSheet.vue +++ b/src/components/mobile/IconSelectionSheet.vue @@ -10,7 +10,7 @@ - + diff --git a/src/components/mobile/ListItemSelectionSheet.vue b/src/components/mobile/ListItemSelectionSheet.vue index ff1a4405..21eee0aa 100644 --- a/src/components/mobile/ListItemSelectionSheet.vue +++ b/src/components/mobile/ListItemSelectionSheet.vue @@ -14,7 +14,10 @@ :value="valueType === 'index' ? index : (valueField ? item[valueField] : item)" :title="titleField ? (titleI18n ? $t(item[titleField]) : item[titleField]) : (titleI18n ? $t(item) : item)" @click="onItemClicked(item, index)"> - + diff --git a/src/components/mobile/TwoColumnListItemSelectionSheet.vue b/src/components/mobile/TwoColumnListItemSelectionSheet.vue index 66126d57..e829ced3 100644 --- a/src/components/mobile/TwoColumnListItemSelectionSheet.vue +++ b/src/components/mobile/TwoColumnListItemSelectionSheet.vue @@ -17,7 +17,10 @@ :value="primaryValueField ? item[primaryValueField] : item" :title="primaryTitleField ? item[primaryTitleField] : item" @click="onPrimaryItemClicked(item)"> - + @@ -32,7 +35,10 @@ :value="secondaryValueField ? subItem[secondaryValueField] : subItem" :title="secondaryTitleField ? subItem[secondaryTitleField] : subItem" @click="onSecondaryItemClicked(subItem)"> - + diff --git a/src/views/mobile/accounts/Edit.vue b/src/views/mobile/accounts/Edit.vue index f5660555..d027c547 100644 --- a/src/views/mobile/accounts/Edit.vue +++ b/src/views/mobile/accounts/Edit.vue @@ -84,7 +84,9 @@ - + - + - + - + - + - +
- + @@ -101,7 +102,8 @@ :title="subAccount.name" :after="accountBalance(subAccount) | currency(subAccount.currency)" link="#" > - + diff --git a/src/views/mobile/categories/Default.vue b/src/views/mobile/categories/Default.vue index dc06ede3..952ba82c 100644 --- a/src/views/mobile/categories/Default.vue +++ b/src/views/mobile/categories/Default.vue @@ -23,7 +23,7 @@ :title="$t('category.' + category.name, currentLocale)"> + :style="{ color: (category.color && category.color !== '000000' ? '#' + category.color : 'var(--default-icon-color)') }"> @@ -33,7 +33,7 @@ :title="$t('category.' + subCategory.name, currentLocale)"> + :style="{ color: (subCategory.color && subCategory.color !== '000000' ? '#' + subCategory.color : 'var(--default-icon-color)') }"> diff --git a/src/views/mobile/categories/Edit.vue b/src/views/mobile/categories/Edit.vue index c68ff78f..d18f7436 100644 --- a/src/views/mobile/categories/Edit.vue +++ b/src/views/mobile/categories/Edit.vue @@ -33,7 +33,9 @@ - + - + - +