diff --git a/components/doc/menu/theming/tailwinddoc.js b/components/doc/menu/theming/tailwinddoc.js index fb852ed014..f4184d8ffb 100644 --- a/components/doc/menu/theming/tailwinddoc.js +++ b/components/doc/menu/theming/tailwinddoc.js @@ -23,18 +23,21 @@ const Tailwind = { menu: { className: classNames('m-0 p-0 list-none', 'outline-none') }, - content: ({ context }) => ({ + content: ({ state }) => ({ className: classNames( 'text-gray-700 dark:text-white/80 transition-shadow duration-200 rounded-none', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80', // Hover { - 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused + 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': state.focused } ) }), action: { className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative') }, + menuitem: { + className: classNames('hover:bg-gray-200') + }, icon: 'text-gray-600 dark:text-white/70 mr-2', submenuheader: { className: classNames('m-0 p-3 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-bold rounded-tl-none rounded-tr-none')