Skip to content

Commit 5bc5c90

Browse files
authored
chore(website): upgrade to DocSearch 4.4.0 + fix little website theming issues (#11626)
1 parent ee9dfd5 commit 5bc5c90

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

website/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ html[data-theme='dark'] {
110110
--docsearch-container-background: rgb(94 100 112 / 70%);
111111
/* Modal */
112112
--docsearch-modal-background: var(--ifm-color-secondary-lighter);
113+
/* Button */
114+
--docsearch-search-button-background: var(--ifm-color-secondary);
115+
--docsearch-search-button-text-color: var(--docsearch-muted-color);
113116
/* Search box */
114117
--docsearch-searchbox-background: var(--ifm-color-secondary);
115118
--docsearch-searchbox-focus-background: var(--ifm-color-white);
@@ -127,6 +130,9 @@ html[data-theme='dark'] {
127130
--docsearch-container-background: rgb(47 55 69 / 70%);
128131
/* Modal */
129132
--docsearch-modal-background: var(--ifm-background-color);
133+
/* Button */
134+
--docsearch-search-button-background: var(--ifm-background-color);
135+
--docsearch-search-button-text-color: var(--docsearch-muted-color);
130136
/* Search box */
131137
--docsearch-searchbox-background: var(--ifm-background-color);
132138
--docsearch-searchbox-focus-background: var(--ifm-color-black);

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,25 +2069,25 @@
20692069
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
20702070
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
20712071

2072-
"@docsearch/core@4.3.1":
2073-
version "4.3.1"
2074-
resolved "https://registry.yarnpkg.com/@docsearch/core/-/core-4.3.1.tgz#88a97a6fe4d4025269b6dee8b9d070b76758ad82"
2075-
integrity sha512-ktVbkePE+2h9RwqCUMbWXOoebFyDOxHqImAqfs+lC8yOU+XwEW4jgvHGJK079deTeHtdhUNj0PXHSnhJINvHzQ==
2072+
"@docsearch/core@4.4.0":
2073+
version "4.4.0"
2074+
resolved "https://registry.yarnpkg.com/@docsearch/core/-/core-4.4.0.tgz#206c0df38ee08cf0d6e33c4eaee140706931b311"
2075+
integrity sha512-kiwNo5KEndOnrf5Kq/e5+D9NBMCFgNsDoRpKQJ9o/xnSlheh6b8AXppMuuUVVdAUIhIfQFk/07VLjjk/fYyKmw==
20762076

2077-
"@docsearch/css@4.3.2":
2078-
version "4.3.2"
2079-
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-4.3.2.tgz#d47d25336c9516b419245fa74e8dd5ae84a17492"
2080-
integrity sha512-K3Yhay9MgkBjJJ0WEL5MxnACModX9xuNt3UlQQkDEDZJZ0+aeWKtOkxHNndMRkMBnHdYvQjxkm6mdlneOtU1IQ==
2077+
"@docsearch/css@4.4.0":
2078+
version "4.4.0"
2079+
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-4.4.0.tgz#b8eebd21a1f79720bf037fda5242b910367f157e"
2080+
integrity sha512-e9vPgtih6fkawakmYo0Y6V4BKBmDV7Ykudn7ADWXUs5b6pmtBRwDbpSG/WiaUG63G28OkJDEnsMvgIAnZgGwYw==
20812081

20822082
"@docsearch/react@^3.9.0 || ^4.3.2":
2083-
version "4.3.2"
2084-
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-4.3.2.tgz#450b8341cb5cca03737a00075d4dfd3a904a3e3e"
2085-
integrity sha512-74SFD6WluwvgsOPqifYOviEEVwDxslxfhakTlra+JviaNcs7KK/rjsPj89kVEoQc9FUxRkAofaJnHIR7pb4TSQ==
2083+
version "4.4.0"
2084+
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-4.4.0.tgz#f69bd533305a07247f4850ee74af11e784b99658"
2085+
integrity sha512-z12zeg1mV7WD4Ag4pKSuGukETJLaucVFwszDXL/qLaEgRqxEaVacO9SR1qqnCXvZztlvz2rt7cMqryi/7sKfjA==
20862086
dependencies:
20872087
"@ai-sdk/react" "^2.0.30"
20882088
"@algolia/autocomplete-core" "1.19.2"
2089-
"@docsearch/core" "4.3.1"
2090-
"@docsearch/css" "4.3.2"
2089+
"@docsearch/core" "4.4.0"
2090+
"@docsearch/css" "4.4.0"
20912091
ai "^5.0.30"
20922092
algoliasearch "^5.28.0"
20932093
marked "^16.3.0"

0 commit comments

Comments
 (0)