span]:!text-header-link/7',
- '[&_svg]:text-header-link',
- 'contrast-more:bg-transparent',
- 'contrast-more:ring-header-link',
- 'contrast-more:[&>span]:!text-header-link',
- 'dark:bg-header-link/3',
- 'dark:ring-header-link/3',
- '[&>span]:!text-header-link/7',
- 'dark:[&_svg]:text-header-link',
- 'dark:contrast-more:bg-transparent',
- 'dark:contrast-more:ring-header-link',
- 'dark:contrast-more:[&>span]:!text-header-link',
+ // 'bg-header-link/3',
+ // 'shadow-sm',
+ // 'ring-header-link/3',
+ // '[&>span]:!text-header-link/7',
+ // '[&_svg]:text-header-link',
+ // 'contrast-more:bg-transparent',
+ // 'contrast-more:ring-header-link',
+ // 'contrast-more:[&>span]:!text-header-link',
+ // 'dark:bg-header-link/3',
+ // 'dark:ring-header-link/3',
+ // '[&>span]:!text-header-link/7',
+ // 'dark:[&_svg]:text-header-link',
+ // 'dark:contrast-more:bg-transparent',
+ // 'dark:contrast-more:ring-header-link',
+ // 'dark:contrast-more:[&>span]:!text-header-link',
]
: null
}
@@ -142,7 +142,7 @@ export function Header(props: {
{sections ? (
{link.title}
diff --git a/packages/gitbook/src/components/Header/HeaderLinkMore.tsx b/packages/gitbook/src/components/Header/HeaderLinkMore.tsx
index 9eb98a313..b682608f0 100644
--- a/packages/gitbook/src/components/Header/HeaderLinkMore.tsx
+++ b/packages/gitbook/src/components/Header/HeaderLinkMore.tsx
@@ -10,7 +10,7 @@ import React from 'react';
import { ContentRefContext, resolveContentRef } from '@/lib/references';
import { tcls } from '@/lib/tailwind';
-import { Dropdown, DropdownMenu, DropdownMenuItem } from './Dropdown';
+import { Dropdown, DropdownChevron, DropdownMenu, DropdownMenuItem } from './Dropdown';
import styles from './headerLinks.module.css';
/**
@@ -30,15 +30,23 @@ export function HeaderLinkMore(props: {
const renderButton = () => (
);
diff --git a/packages/gitbook/src/components/Header/HeaderLinks.tsx b/packages/gitbook/src/components/Header/HeaderLinks.tsx
index 4522f0782..dba614a64 100644
--- a/packages/gitbook/src/components/Header/HeaderLinks.tsx
+++ b/packages/gitbook/src/components/Header/HeaderLinks.tsx
@@ -13,7 +13,7 @@ export async function HeaderLinks({ children }: HeaderLinksProps) {
{children}
diff --git a/packages/gitbook/src/components/Search/SearchButton.tsx b/packages/gitbook/src/components/Search/SearchButton.tsx
index 7a5ba598b..21a55985c 100644
--- a/packages/gitbook/src/components/Search/SearchButton.tsx
+++ b/packages/gitbook/src/components/Search/SearchButton.tsx
@@ -1,6 +1,7 @@
'use client';
import { Icon } from '@gitbook/icons';
+import { motion } from 'framer-motion';
import { useEffect, useState } from 'react';
import { useLanguage, tString } from '@/intl/client';
@@ -26,7 +27,22 @@ export function SearchButton(props: { children?: React.ReactNode; style?: ClassV
};
return (
-