Browse Source

chore(gui-v2): update menu colors

pull/3238/head
braks 2 years ago
parent
commit
285a59a67a
  1. 7
      packages/nc-gui-v2/components/general/Language.vue
  2. 8
      packages/nc-gui-v2/layouts/base.vue

7
packages/nc-gui-v2/components/general/Language.vue

@ -50,15 +50,12 @@ onMounted(() => {
:value="lang"
@click="changeLanguage(lang)"
>
<div
:class="lang === locale ? '!font-semibold !text-primary' : ''"
class="nc-project-menu-item capitalize group-hover:text-pink-500"
>
<div :class="lang === locale ? '!font-semibold !text-primary' : ''" class="nc-project-menu-item capitalize">
{{ Language[lang] || lang }}
</div>
</a-menu-item>
<a-menu-item>
<a-menu-item class="mt-1">
<a
href="https://docs.nocodb.com/engineering/translation/#how-to-contribute--for-community-members"
target="_blank"

8
packages/nc-gui-v2/layouts/base.vue

@ -68,17 +68,17 @@ const logout = () => {
<nuxt-link v-t="['c:navbar:user:email']" class="nc-project-menu-item group no-underline" to="/user">
<MdiAt class="mt-1 group-hover:text-pink-500" />&nbsp;
<span class="prose">{{ email }}</span>
<span class="prose group-hover:text-primary"> {{ email }}</span>
</nuxt-link>
</a-menu-item>
<a-menu-divider class="!m-0" />
<a-menu-item key="1" class="!rounded-b">
<a-menu-item key="1" class="!rounded-b group">
<div v-t="['a:navbar:user:sign-out']" class="nc-project-menu-item group" @click="logout">
<MdiLogout class="group-hover:(!text-pink-500)" />&nbsp;
<MdiLogout class="group-hover:text-pink-500" />&nbsp;
<span class="prose">
<span class="prose group-hover:text-primary">
{{ $t('general.signOut') }}
</span>
</div>

Loading…
Cancel
Save