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!

dark theme: tabs: blue colour to white

Blue Mouseddf83afa53d8
diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx
index eacde76af..5b60637be 100644
--- a/src/pages/Dashboard/Dashboard.tsx
+++ b/src/pages/Dashboard/Dashboard.tsx
@@ -465,7 +465,7 @@ const Dashboard = ({
type='button'
onClick={() => setTabProjects(tab.name)}
className={cx('whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-md', {
- 'border-indigo-500 text-indigo-600 dark:text-indigo-500': tabProjects === tab.name,
+ 'border-indigo-500 text-indigo-600 dark:text-gray-50 dark:border-gray-50': tabProjects === tab.name,
'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 dark:hover:border-gray-300': tabProjects !== tab.name,
})}
aria-current={tab.name === tabProjects ? 'page' : undefined}
diff --git a/src/pages/Project/Settings/ProjectSettings.tsx b/src/pages/Project/Settings/ProjectSettings.tsx
index cb84cda3e..1ea6908d6 100644
--- a/src/pages/Project/Settings/ProjectSettings.tsx
+++ b/src/pages/Project/Settings/ProjectSettings.tsx
@@ -78,7 +78,7 @@ const ModalMessage = ({
type='button'
onClick={() => setTab(tabDelete.name)}
className={cx('whitespace-nowrap pb-2 px-1 border-b-2 font-medium text-md', {
- 'border-indigo-500 text-indigo-600 dark:text-indigo-500': tabDelete.name === tab,
+ 'border-indigo-500 text-indigo-600 dark:text-gray-50 dark:border-gray-50': tabDelete.name === tab,
'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 dark:hover:border-gray-300': tab !== tabDelete.name,
})}
>
diff --git a/src/pages/Project/View/ViewProject.tsx b/src/pages/Project/View/ViewProject.tsx
index d7776ee23..1bb8a9893 100644
--- a/src/pages/Project/View/ViewProject.tsx
+++ b/src/pages/Project/View/ViewProject.tsx
@@ -423,7 +423,7 @@ const ViewProject = ({
return generete
})
} catch (e) {
- console.log('FAILED TO LOAD CUSTOM EVENTS', e)
+ console.error('[ERROR] FAILED TO LOAD CUSTOM EVENTS', e)
} finally {
setDataLoading(false)
}
@@ -1455,7 +1455,7 @@ const ViewProject = ({
}}
className={cx(
isCurrent
- ? 'border-indigo-700 text-indigo-700 dark:text-indigo-500 dark:border-indigo-500'
+ ? 'border-indigo-700 text-indigo-700 dark:text-gray-50 dark:border-gray-50'
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300',
'group inline-flex items-center whitespace-nowrap py-2 px-1 border-b-2 font-bold text-md cursor-pointer',
)}
@@ -1463,7 +1463,7 @@ const ViewProject = ({
>
<tab.icon
className={cx(
- isCurrent ? 'text-indigo-700 dark:text-indigo-500' : 'text-gray-500 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-gray-300',
+ isCurrent ? 'text-indigo-700 dark:text-gray-50' : 'text-gray-500 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-gray-300',
'-ml-0.5 mr-2 h-5 w-5',
)}
aria-hidden='true'