Skip to content

fix: use correct text color on the 404 page in dark mode #1082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
usage of text-primary instead
  • Loading branch information
EGAMAGZ committed Apr 30, 2025
commit bc473f1c751811b0372622b6f0031f5e7c47fc95
4 changes: 2 additions & 2 deletions frontend/routes/_error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export default function Error({ error }: { error: unknown }) {
<div class="w-full overflow-x-hidden relative flex justify-between flex-col flex-wrap">
<div class="flex-top">
<header class="text-center px-8 py-[15vh]">
<h1 class="font-extrabold text-5xl leading-10 tracking-tight text-gray-900 dark:text-white">
<h1 class="font-extrabold text-5xl leading-10 tracking-tight text-primary">
{error.status}
</h1>
<h2 class="mt-4 sm:mt-5 font-light text-2xl text-center leading-tight text-gray-900 dark:text-white">
<h2 class="mt-4 sm:mt-5 font-light text-2xl text-center leading-tight text-primary">
{error.message}
</h2>
{error.status === 404 && (
Expand Down