From 560e4e72037c7d6122bfd8bca336b7b563064c90 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 18 Jul 2022 12:41:02 +0200 Subject: [PATCH] feat(gui-v2): add color-transition shortcut to windi --- packages/nc-gui-v2/app.vue | 11 ++++++----- packages/nc-gui-v2/components/general/Share.vue | 2 +- packages/nc-gui-v2/components/general/Social.vue | 2 +- packages/nc-gui-v2/pages/projects/index.vue | 16 ++++++++-------- .../nc-gui-v2/pages/projects/index/index.vue | 2 +- packages/nc-gui-v2/pages/projects/index/list.vue | 2 +- packages/nc-gui-v2/pages/signin.vue | 2 +- packages/nc-gui-v2/pages/signup.vue | 2 +- packages/nc-gui-v2/windi.config.ts | 1 + 9 files changed, 21 insertions(+), 19 deletions(-) diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index 4e69eba213..8317c25d91 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -59,13 +59,14 @@ const signOut = () => { - + + -   +   {{ email }} @@ -73,10 +74,10 @@ const signOut = () => {
-   +   {{ $t('general.signOut') }}
diff --git a/packages/nc-gui-v2/components/general/Share.vue b/packages/nc-gui-v2/components/general/Share.vue index 2e17b03156..ca6303138c 100644 --- a/packages/nc-gui-v2/components/general/Share.vue +++ b/packages/nc-gui-v2/components/general/Share.vue @@ -292,6 +292,6 @@ const openUrl = (url: string) => { } a { - @apply cursor-pointer text-3xl rounded-full p-2 bg-gray-100 shadow-md hover:(shadow-lg bg-gray-200) transition-color ease-in duration-100; + @apply cursor-pointer text-3xl rounded-full p-2 bg-gray-100 shadow-md hover:(shadow-lg bg-gray-200) color-transition; } diff --git a/packages/nc-gui-v2/components/general/Social.vue b/packages/nc-gui-v2/components/general/Social.vue index 36cad13024..3cf23a1f6b 100644 --- a/packages/nc-gui-v2/components/general/Social.vue +++ b/packages/nc-gui-v2/components/general/Social.vue @@ -46,7 +46,7 @@ const isZhLang = $computed(() => locale.value.startsWith('zh'))