Open source personal finance application
Fix checkbox dark theme color
ilkome3b23b7db5c2e
diff --git a/src/components/categories/form/CategoryForm.vue b/src/components/categories/form/CategoryForm.vueindex d541010a..f5b3a828 100644--- a/src/components/categories/form/CategoryForm.vue+++ b/src/components/categories/form/CategoryForm.vue@@ -208,7 +208,7 @@ export default {Checkbox(v-model="category.showInLastUsed"title="Show in last used categories"- )+ :alt="true").form__actionsButton(diff --git a/src/components/shared/inputs/Checkbox.vue b/src/components/shared/inputs/Checkbox.vueindex a4020873..ada8fd74 100644--- a/src/components/shared/inputs/Checkbox.vue+++ b/src/components/shared/inputs/Checkbox.vue@@ -9,13 +9,17 @@ export default {title: {type: String,default: null+ },+ alt: {+ type: Boolean,+ default: false}}}</script><template lang="pug">-label.checkbox+label.checkbox(:class="{ _alt: alt }")input.checkbox__input(type="checkbox":checked="value"@@ -34,6 +38,7 @@ label.checkboxdisplay flexalign-items centerfont-size 16px+ cursor pointer--width 3.4em--height 1.6em@@ -57,6 +62,8 @@ label.checkbox+ .checkbox__helper:beforebackground var(--c-bg-1)box-shadow inset 0px 1px 1px background var(--c-bg-12)+ ^[0]._alt &+ background var(--c-bg-7)/.theme-light &background var(--c-bg-13)+ .checkbox__helper:afterdiff --git a/src/components/wallets/form/WalletForm.vue b/src/components/wallets/form/WalletForm.vueindex b9b1af3e..190dac1b 100644--- a/src/components/wallets/form/WalletForm.vue+++ b/src/components/wallets/form/WalletForm.vue@@ -185,7 +185,8 @@ export default {.form-line._p0._cleanCheckbox(v-model="wallet.countTotal"- title="Count amount of this wallet in total")+ title="Count amount of this wallet in total"+ alt="true").form__actionsButton(