From 6e97fe4ad51802a8d3bbde4d846a07722fccaadd Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 16 Dec 2019 17:55:57 +0530 Subject: [PATCH] fix: Active Tab Icon color in Settings --- src/components/Icons/18/dashboard.vue | 2 +- src/components/Icons/18/purchase.vue | 2 +- src/components/Icons/18/reports.vue | 2 +- src/components/Icons/18/sales.vue | 2 +- src/components/Icons/18/settings.vue | 2 +- src/components/Icons/24/general.vue | 11 +++++++++-- src/components/Icons/24/invoice.vue | 11 +++++++++-- src/components/Icons/24/mail.vue | 11 +++++++++-- src/components/Icons/24/privacy.vue | 9 ++++++++- src/components/Icons/24/system.vue | 9 ++++++++- src/components/Icons/{18 => }/base.vue | 0 src/pages/Settings/Settings.vue | 13 ++++++++----- 12 files changed, 56 insertions(+), 18 deletions(-) rename src/components/Icons/{18 => }/base.vue (100%) diff --git a/src/components/Icons/18/dashboard.vue b/src/components/Icons/18/dashboard.vue index 3ee57f1b..d5cf0d74 100644 --- a/src/components/Icons/18/dashboard.vue +++ b/src/components/Icons/18/dashboard.vue @@ -14,7 +14,7 @@ diff --git a/src/components/Icons/24/invoice.vue b/src/components/Icons/24/invoice.vue index e9dc7b0a..f4509d8d 100644 --- a/src/components/Icons/24/invoice.vue +++ b/src/components/Icons/24/invoice.vue @@ -2,14 +2,21 @@ + diff --git a/src/components/Icons/24/mail.vue b/src/components/Icons/24/mail.vue index 2dbf22d7..ba9e6aaf 100644 --- a/src/components/Icons/24/mail.vue +++ b/src/components/Icons/24/mail.vue @@ -2,14 +2,21 @@ + diff --git a/src/components/Icons/24/privacy.vue b/src/components/Icons/24/privacy.vue index 1d2994bb..9c7370d9 100644 --- a/src/components/Icons/24/privacy.vue +++ b/src/components/Icons/24/privacy.vue @@ -1,9 +1,16 @@ + diff --git a/src/components/Icons/24/system.vue b/src/components/Icons/24/system.vue index a85c10bc..000b4d43 100644 --- a/src/components/Icons/24/system.vue +++ b/src/components/Icons/24/system.vue @@ -1,8 +1,15 @@ + diff --git a/src/components/Icons/18/base.vue b/src/components/Icons/base.vue similarity index 100% rename from src/components/Icons/18/base.vue rename to src/components/Icons/base.vue diff --git a/src/pages/Settings/Settings.vue b/src/pages/Settings/Settings.vue index d3d96a5d..000260d3 100644 --- a/src/pages/Settings/Settings.vue +++ b/src/pages/Settings/Settings.vue @@ -20,7 +20,7 @@ :class="i === activeTab && 'bg-white shadow text-blue-500'" @click="activeTab = i" > - +
{{ tab.label }}
@@ -89,10 +89,13 @@ export default { render(h) { return h(Icon, { class: 'w-6 h-6', - props: { - name: tab.icon, - size: '24' - } + props: Object.assign( + { + name: tab.icon, + size: '24' + }, + this.$attrs + ) }); } };