Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: 顶栏浅色状态下文字为白色
Browse files Browse the repository at this point in the history
  • Loading branch information
likui628 committed Nov 23, 2023
1 parent 70932e1 commit 6f8442f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/layouts/src/components/header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const logoWidth = computed(() => (unref(isTopMenu) ? 150 : getMenuWidth.value))
</script>
<template>
<VbenSpace vertical>
<VbenLayoutHeader :inverted="!!isHeaderDark" class="text-white">
<VbenLayoutHeader :inverted="isHeaderDark">
<VbenSpace
v-if="getShowFullHeaderRef"
:class="['h-48px', 'shadow']"
Expand Down Expand Up @@ -86,7 +86,7 @@ const logoWidth = computed(() => (unref(isTopMenu) ? 150 : getMenuWidth.value))
<slot name="buttons">
<VbenSpace class="p-1" :size="16" align="center">
<AppSearch v-if="getShowSearch" />
<AppNotify :is-dark="true" v-if="getShowNotice" />
<AppNotify :is-dark="isHeaderDark" v-if="getShowNotice" />
<AppFullScreen v-if="getShowFullScreen" />
<VbenLocalePicker
v-if="getShowLocalePicker"
Expand Down

0 comments on commit 6f8442f

Please sign in to comment.