Skip to content

Commit 358896b

Browse files
committed
fix: 修复顶栏的输入框文字显示颜色异常
1 parent 9e27a3a commit 358896b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/TopBar/components/TopBarSearch.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const searchBarStyles = computed(() => ({
1818
'--b-search-bar-normal-color': settings.value.enableFrostedGlass ? 'color-mix(in oklab, var(--bew-elevated-solid), transparent 60%)' : 'var(--bew-elevated)',
1919
'--b-search-bar-hover-color': 'var(--bew-elevated-hover)',
2020
'--b-search-bar-focus-color': 'var(--bew-elevated)',
21-
'--b-search-bar-normal-icon-color': forceWhiteIcon.value && !settings.value.enableFrostedGlass ? 'var(--bew-text-1)' : 'white',
22-
'--b-search-bar-normal-text-color': forceWhiteIcon.value && !settings.value.enableFrostedGlass ? 'var(--bew-text-1)' : 'white',
21+
'--b-search-bar-normal-icon-color': forceWhiteIcon.value && settings.value.enableFrostedGlass ? 'white' : 'var(--bew-text-1)',
22+
'--b-search-bar-normal-text-color': forceWhiteIcon.value && settings.value.enableFrostedGlass ? 'white' : 'var(--bew-text-1)',
2323
}))
2424
2525
const currentLocation = ref(window.location.href)

0 commit comments

Comments
 (0)