diff --git a/.changeset/honest-teachers-enjoy.md b/.changeset/honest-teachers-enjoy.md new file mode 100644 index 000000000..0d906a89f --- /dev/null +++ b/.changeset/honest-teachers-enjoy.md @@ -0,0 +1,5 @@ +--- +'gitbook': patch +--- + +Improve contrast of search box placeholder diff --git a/packages/gitbook/src/components/Search/SearchButton.tsx b/packages/gitbook/src/components/Search/SearchButton.tsx index bd909659a..a84b7eaa5 100644 --- a/packages/gitbook/src/components/Search/SearchButton.tsx +++ b/packages/gitbook/src/components/Search/SearchButton.tsx @@ -52,8 +52,8 @@ export function SearchButton(props: { children?: React.ReactNode; style?: ClassV 'shadow-dark/4', 'dark:shadow-none', - 'text-dark/6', - 'dark:text-light/6', + 'text-dark/7', + 'dark:text-light-4/7', 'rounded-lg', 'straight-corners:rounded-sm', @@ -128,11 +128,11 @@ const Shortcut = () => { 'md:inline', 'justify-end', 'text-xs', - 'text-dark/6', + 'text-dark/7', 'contrast-more:text-dark', - 'dark:text-light/6', - 'whitespace-nowrap', + 'dark:text-light-4/7', 'contrast-more:dark:text-light', + 'whitespace-nowrap', `[font-feature-settings:"calt",_"case"]`, )} >