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!

make tooltip brighter

Blue Mouse809fb43adf57
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
index c761cfb8e..fc2102a3a 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
@@ -114,7 +114,7 @@ const getSettings = (
},
tooltip: {
contents: (item: any, _: any, __: any, color: any) => {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
diff --git a/web/app/pages/Project/View/ViewProject.helpers.tsx b/web/app/pages/Project/View/ViewProject.helpers.tsx
index d906790b0..8224ce790 100644
--- a/web/app/pages/Project/View/ViewProject.helpers.tsx
+++ b/web/app/pages/Project/View/ViewProject.helpers.tsx
@@ -629,7 +629,7 @@ const getSettings = (
}
if (_isEmpty(compareChart)) {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
@@ -666,7 +666,7 @@ const getSettings = (
}
return `
- <ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ <ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
${_map(item, (el: { id: string; index: number; name: string; value: string; x: Date }) => {
const { id, index, name, value, x } = el
@@ -834,7 +834,7 @@ const getSettingsSession = (
},
tooltip: {
contents: (item: any, _: any, __: any, color: any) => {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
@@ -974,7 +974,7 @@ const getSettingsError = (
},
tooltip: {
contents: (item: any, _: any, __: any, color: any) => {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
@@ -1137,7 +1137,7 @@ const getSettingsFunnels = (funnel: AnalyticsFunnel[], totalPageviews: number, t
`
return `
- <div class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ <div class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
${title}
<hr class='border-gray-200 dark:border-gray-600' />
<table class='table-fixed'>
@@ -1241,7 +1241,7 @@ const getSettingsUptime = (
},
tooltip: {
contents: (item: any, _: any, __: any, color: any) => {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
@@ -1434,7 +1434,7 @@ const getSettingsPerf = (
tooltip: {
contents: (item: any, _: any, __: any, color: any) => {
if (_isEmpty(compareChart)) {
- return `<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ return `<ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
<li class='font-semibold'>${
timeFormat === TimeFormat['24-hour']
? d3.timeFormat(tbsFormatMapperTooltip24h[timeBucket])(item[0].x)
@@ -1455,7 +1455,7 @@ const getSettingsPerf = (
}
return `
- <ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
+ <ul class='bg-gray-50 dark:text-gray-50 dark:bg-slate-800 rounded-md ring-1 ring-black/10 px-3 py-1'>
${_map(item, (el: { id: string; index: number; name: string; value: string; x: Date }) => {
const { id, index, name, value, x } = el