diff --git a/frontend/components/Domain/ShoppingList/MultiPurposeLabel.vue b/frontend/components/Domain/ShoppingList/MultiPurposeLabel.vue index 0a32827b..ad62a8d7 100644 --- a/frontend/components/Domain/ShoppingList/MultiPurposeLabel.vue +++ b/frontend/components/Domain/ShoppingList/MultiPurposeLabel.vue @@ -29,7 +29,6 @@ export default defineComponent({ Based on -> https://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color */ - const ACCESSIBILITY_THRESHOLD = 0.179; function pickTextColorBasedOnBgColorAdvanced(bgColor: string, lightColor: string, darkColor: string) { @@ -53,4 +52,4 @@ export default defineComponent({ }; }, }); - \ No newline at end of file + diff --git a/frontend/pages/group/data.vue b/frontend/pages/group/data.vue index 3b81e4dd..1f0bb8a6 100644 --- a/frontend/pages/group/data.vue +++ b/frontend/pages/group/data.vue @@ -24,11 +24,11 @@ value: 'new', to: '/group/data/units', }, - // { - // text: 'Labels', - // value: 'new', - // to: '/group/data/labels', - // }, + { + text: 'Labels', + value: 'new', + to: '/group/data/labels', + }, ]" > diff --git a/frontend/pages/group/data/foods.vue b/frontend/pages/group/data/foods.vue index 1fa3efe2..0c83f5dc 100644 --- a/frontend/pages/group/data/foods.vue +++ b/frontend/pages/group/data/foods.vue @@ -27,7 +27,7 @@ +
+ + + + + +
+ + +
+
+
+ + + + + +
+ + +
+
+
+ + + + + {{ $t("general.confirm-delete-generic") }} + + + + + + + + + +
+ + + diff --git a/frontend/pages/group/data/units.vue b/frontend/pages/group/data/units.vue index fa138766..abc8d771 100644 --- a/frontend/pages/group/data/units.vue +++ b/frontend/pages/group/data/units.vue @@ -21,7 +21,7 @@
- +
diff --git a/frontend/pages/shopping-lists/index.vue b/frontend/pages/shopping-lists/index.vue index 45d7737c..e1d074a2 100644 --- a/frontend/pages/shopping-lists/index.vue +++ b/frontend/pages/shopping-lists/index.vue @@ -1,12 +1,12 @@ - + - - diff --git a/mealie/schema/labels/multi_purpose_label.py b/mealie/schema/labels/multi_purpose_label.py index 8d3807d7..ca73ce03 100644 --- a/mealie/schema/labels/multi_purpose_label.py +++ b/mealie/schema/labels/multi_purpose_label.py @@ -6,7 +6,7 @@ from pydantic import UUID4 class MultiPurposeLabelCreate(CamelModel): name: str - color: str = "" + color: str = "#E0E0E0" class MultiPurposeLabelSave(MultiPurposeLabelCreate):