Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: theme colours
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Sep 4, 2023
1 parent 6c48e34 commit 2191c3f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pages/account/statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ export default function Statistics({ data, profile, progress, BASE_URL }) {
{profile.stats.referers && (
<li className="overflow-hidden rounded-xl border border-gray-200">
<div className="flex items-center gap-x-4 border-b border-gray-900/5 bg-gray-50 p-6">
<FaMousePointer className="h-6 w-6 text-gray-500" />
<div className="text-sm font-medium leading-6 text-gray-900">
<FaMousePointer className="h-6 w-6 text-primary-medium" />
<div className="text-sm font-medium leading-6 text-primary-medium">
Referrers
</div>
</div>
Expand All @@ -209,10 +209,12 @@ export default function Statistics({ data, profile, progress, BASE_URL }) {
key={referer[0]}
className="flex justify-between gap-x-4 py-3"
>
<dt className="text-gray-500">
<dt className="text-primary-medium dark:text-primary-low">
{referer[0].replaceAll("|", ".")}
</dt>
<dd className="text-gray-700">{referer[1]}</dd>
<dd className="text-primary-medium dark:text-primary-low">
{referer[1]}
</dd>
</div>
))}
</dl>
Expand All @@ -221,8 +223,8 @@ export default function Statistics({ data, profile, progress, BASE_URL }) {
{profile.stats.countries && (
<li className="overflow-hidden rounded-xl border border-gray-200">
<div className="flex items-center gap-x-4 border-b border-gray-900/5 bg-gray-50 p-6">
<FaMapPin className="h-6 w-6 text-gray-500" />
<div className="text-sm font-medium leading-6 text-gray-900">
<FaMapPin className="h-6 w-6 text-primary-medium" />
<div className="text-sm font-medium leading-6 text-primary-medium">
Locations
</div>
</div>
Expand All @@ -235,10 +237,12 @@ export default function Statistics({ data, profile, progress, BASE_URL }) {
key={country[0]}
className="flex justify-between gap-x-4 py-3"
>
<dt className="text-gray-500">
<dt className="text-primary-medium dark:text-primary-low">
{country[0].replaceAll("|", ".")}
</dt>
<dd className="text-gray-700">{country[1]}</dd>
<dd className="text-primary-medium dark:text-primary-low">
{country[1]}
</dd>
</div>
))}
</dl>
Expand Down

0 comments on commit 2191c3f

Please sign in to comment.