Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

improve annoucement nav coherence between light and dark modes

Florian LEFEBVRE7596e78c4ec9
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsx
index c02ee8a0909..11fe3ac0507 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Annoucement.tsx
@@ -17,12 +17,12 @@ const a: A = data;
const Annoucement = () => {
if (!a.show) return (null)
return (
- <div className="bg-brand-700 dark:bg-gray-700">
+ <div className="bg-brand-700 dark:bg-brand-800">
<div className="flex flex-col items-center justify-center py-2 mx-auto space-x-2 text-white sm:flex-row lg:container lg:px-16 xl:px-20">
<span>{a.text}</span>
<a
href={a.link.url}
- className="inline-flex items-center px-2 py-1 space-x-1 text-xs transition-colors bg-white dark:bg-brand-800 rounded-full text-brand-800 hover:text-brand-800 dark:text-white hover:bg-opacity-90 dark:hover:bg-brand-700"
+ className="inline-flex items-center px-2 py-1 space-x-1 text-xs transition-colors bg-white rounded-full text-brand-800 dark:hover:text-brand-800 hover:text-brand-800 hover:bg-opacity-90"
>
{a.link.text} <IconArrowRight size="tiny" />
</a>