diff --git a/src/_locales/cmn-CN.yml b/src/_locales/cmn-CN.yml index 0261dd46..e8033344 100644 --- a/src/_locales/cmn-CN.yml +++ b/src/_locales/cmn-CN.yml @@ -60,6 +60,11 @@ settings: enable_horizontal_scrolling_desc: 启用后,鼠标滚动时将直接滚动横向滚动列表 # Appearance settings + theme: 主题 + theme_opt: + light: 亮色 + dark: 暗色 + auto: 自动 theme_color: 主题色 follow_bilibili_evolved_color: 使用 Bilibili Evolved 主题色 follow_bilibili_evolved_color_desc: 每次选完 Bilibili Evolved 主题色时,记得重新选中这一选项以更新配置 @@ -85,6 +90,7 @@ settings: logo_visibility: Logo 可见性 enable_logo_glowing_effect: 启用 Logo 发光效果 bg_darkens_when_the_search_bar_is_focused: 当搜索栏聚焦时背景暗化 + bg_blurs_when_the_search_bar_is_focused: 当搜索栏聚焦时背景模糊 choose_search_bar_focused_character: 选择搜索栏聚焦时出现的人物 individually_set_search_page_wallpaper: 单独设置搜索页背景 auth: diff --git a/src/_locales/cmn-TW.yml b/src/_locales/cmn-TW.yml index ee340254..d14ead9f 100644 --- a/src/_locales/cmn-TW.yml +++ b/src/_locales/cmn-TW.yml @@ -60,6 +60,11 @@ settings: enable_horizontal_scrolling_desc: 啟用後,滑鼠捲動時將直接捲動橫向捲軸列表 # Appearance settings + theme: 主題 + theme_opt: + light: 淺色 + dark: 深色 + auto: 自動 theme_color: 主題色 follow_bilibili_evolved_color: 使用 Bilibili Evolved 主題色 follow_bilibili_evolved_color_desc: 每次變更 Bilibili Evolved 主題色後,記得重新選取此選項以更新配置 @@ -85,6 +90,7 @@ settings: enable_logo_glowing_effect: 啓用 Logo 發光效果 logo_visibility: Logo 可視性 bg_darkens_when_the_search_bar_is_focused: 當搜尋欄聚焦時背景變暗 + bg_blurs_when_the_search_bar_is_focused: 當搜尋欄聚焦時背景變模糊 choose_search_bar_focused_character: 選擇搜尋欄聚焦時出現的人物 individually_set_search_page_wallpaper: 單獨設定搜尋頁背景 diff --git a/src/_locales/en.yml b/src/_locales/en.yml index 614bc3f8..41e56b12 100644 --- a/src/_locales/en.yml +++ b/src/_locales/en.yml @@ -61,6 +61,11 @@ settings: enable_horizontal_scrolling_desc: After enabling, mouse scrolling will directly scroll the horizontal scroll list # Appearance settings + theme: Theme + theme_opt: + light: Light + dark: Dark + auto: Auto theme_color: Theme color follow_bilibili_evolved_color: Follow the Bilibili Evolved theme color follow_bilibili_evolved_color_desc: After changing the theme color in Bilibili Evolved, you will need to re-select this option in order to update the theme color. @@ -86,6 +91,7 @@ settings: enable_logo_glowing_effect: Enable glowing effect for the logo logo_visibility: Logo visibility bg_darkens_when_the_search_bar_is_focused: Background darkens when the search bar is focused + bg_blurs_when_the_search_bar_is_focused: Background blurs when the search bar is focused choose_search_bar_focused_character: Choose the character that appears when the search bar is focused individually_set_search_page_wallpaper: Individually set search page wallpaper auth: diff --git a/src/_locales/jyut.yml b/src/_locales/jyut.yml index 0dfc39b5..db95a749 100644 --- a/src/_locales/jyut.yml +++ b/src/_locales/jyut.yml @@ -60,6 +60,11 @@ settings: enable_horizontal_scrolling_desc: 用咗之後,轆緊滑鼠就可以直接打橫掃水平捲軸列表 # Appearance settings + theme: 色系 + theme_opt: + light: 淺色 + dark: 深色 + auto: 自動 theme_color: 佈景色 follow_bilibili_evolved_color: 跟返 Bilibili Evolved 佈景色 follow_bilibili_evolved_color_desc: 每次換完 Bilibili Evolved 佈景色嗰陣,記得揀多一次呢個選項愛嚟更新佈置 @@ -85,6 +90,7 @@ settings: enable_logo_glowing_effect: Logo 使用發光效果 logo_visibility: Logo 可視性 bg_darkens_when_the_search_bar_is_focused: 搜尋欄聚焦嗰陣校暗背景 + bg_blurs_when_the_search_bar_is_focused: 搜尋欄聚焦嗰陣校矇背景 choose_search_bar_focused_character: 揀個喺搜尋欄聚焦嗰陣出現嘅人物 individually_set_search_page_wallpaper: 單獨設定搵嘢頁背景 auth: diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index 1adbe52c..07bea5bd 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -8,6 +8,7 @@ import { defineProps<{ darkenOnFocus?: boolean + blurredOnFocus?: boolean focusedCharacter?: string }>() @@ -142,6 +143,12 @@ function handleKeyDown() { /> +
+