From e266c69acd784c815f09b5f2374e6f6e28ade62c Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 15 Jun 2020 09:46:52 +0000 Subject: [PATCH] Add option to remove color from label, task, namespace or list (#157) Add reset to color picker Move all usages of verte to seperate component Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/157 --- src/components/global/colorPicker.vue | 59 +++++++++++++++++++++ src/components/labels/ListLabels.vue | 14 ++--- src/components/lists/EditList.vue | 14 ++--- src/components/namespaces/EditNamespace.vue | 14 ++--- src/components/tasks/edit-task.vue | 15 ++---- src/styles/components/_all.scss | 1 + src/styles/components/color-picker.scss | 15 ++++++ src/styles/theme/theme.scss | 5 -- 8 files changed, 87 insertions(+), 50 deletions(-) create mode 100644 src/components/global/colorPicker.vue create mode 100644 src/styles/components/color-picker.scss diff --git a/src/components/global/colorPicker.vue b/src/components/global/colorPicker.vue new file mode 100644 index 00000000..c8f3c35b --- /dev/null +++ b/src/components/global/colorPicker.vue @@ -0,0 +1,59 @@ + + + diff --git a/src/components/labels/ListLabels.vue b/src/components/labels/ListLabels.vue index 14b011fa..307a8795 100644 --- a/src/components/labels/ListLabels.vue +++ b/src/components/labels/ListLabels.vue @@ -64,14 +64,7 @@
- - +
@@ -100,17 +93,16 @@