Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

improved account / language selector dropdown distinction

Blue Mousee1fad0ef4dd4
diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx
index 977ee5f86..eab630137 100644
--- a/src/components/Header/index.tsx
+++ b/src/components/Header/index.tsx
@@ -75,7 +75,7 @@ const ThemeMenu = ({
leaveFrom='transform opacity-100 scale-100'
leaveTo='transform opacity-0 scale-95'
>
- <Menu.Items className='absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none'>
+ <Menu.Items className='absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'>
<Menu.Item>
{({ active }) => (
<div
@@ -136,7 +136,7 @@ const ProfileMenu = ({
leaveFrom='transform opacity-100 scale-100'
leaveTo='transform opacity-0 scale-95'
>
- <Menu.Items className='absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none'>
+ <Menu.Items className='absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white dark:bg-slate-900 py-1 shadow-lg ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'>
<div className='border-gray-200 dark:border-slate-700/50 border-b-[1px]'>
<Menu.Item>
<p className='truncate py-2 px-4' role='none'>
@@ -184,7 +184,7 @@ const ProfileMenu = ({
leaveTo='transform opacity-0 scale-95'
>
<Menu.Items
- className='z-50 py-1 origin-top-right absolute right-0 mt-1 w-full min-w-max rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 focus:outline-none'
+ className='z-50 py-1 origin-top-right absolute right-0 mt-1 w-full min-w-max rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-slate-200 dark:ring-slate-800 focus:outline-none'
static
>
{_map(whitelist, lng => (
@@ -672,7 +672,7 @@ const Header = (): JSX.Element => {
leaveTo='opacity-0 scale-95'
>
<Popover.Panel focus className='absolute top-0 z-50 inset-x-0 p-2 transition transform origin-top-right md:hidden'>
- <div className='rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 bg-white dark:bg-gray-750 divide-y-2 divide-gray-50 dark:divide-gray-800'>
+ <div className='rounded-lg shadow-lg ring-1 ring-slate-200 dark:ring-slate-800 bg-white dark:bg-gray-750 divide-y-2 divide-gray-50 dark:divide-gray-800'>
<div className='pt-5 pb-6 px-5'>
<div className='flex items-center justify-between'>
<Link to={routes.main}>