Skip to content

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

Improve Lwx colors (#19460)

Francesco Sansalvadoreb66d93cddc0a
diff --git a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
index dadc97a5d48..f88fd1e676f 100644
--- a/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
+++ b/apps/www/components/LaunchWeek/X/LWXMeetups.tsx
@@ -76,8 +76,8 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
if (!isMounted) return null
return (
- <div className="max-w-7xl mx-auto grid grid-cols-1 xl:grid-cols-12 gap-8">
- <div className="mb-4 col-span-1 xl:col-span-4 flex flex-col max-w-lg text-foreground-lighter">
+ <div className="max-w-7xl mx-auto grid grid-cols-1 xl:grid-cols-12 gap-8 text-[#EDEDED]">
+ <div className="mb-4 col-span-1 xl:col-span-4 flex flex-col max-w-lg text-[#575E61]">
<h2 className="text-sm font-mono uppercase tracking-[1px] mb-4">Community meetups</h2>
<p className="text-base xl:max-w-md mb-2">
Celebrate Launch Week X at our live community-driven meetups. Network with the community,
@@ -85,7 +85,7 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
</p>
<TextLink label="Read more about meetups" hasChevron url="/blog/community-meetups-lwx" />
</div>
- <div className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl flex flex-wrap gap-x-3">
+ <div className="col-span-1 xl:col-span-6 xl:col-start-7 w-full max-w-4xl flex flex-wrap gap-x-3 gap-y-1">
{meets &&
meets
?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1))
@@ -105,9 +105,9 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
title={liveNow ? 'Live now' : undefined}
className={cn(
'h-10 group inline-flex items-center flex-wrap text-4xl',
- 'hover:text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup.id ? 'text-foreground' : 'text-foreground-muted',
- liveNow && 'text-foreground-light'
+ 'hover:text-[#EDEDED] !leading-none transition-colors',
+ meetup.id === activeMeetup.id ? 'text-[#EDEDED]' : 'text-[#575E61]',
+ liveNow && 'text-[#B0B0B0]'
)}
>
{liveNow && (
@@ -119,7 +119,7 @@ const LWXMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
)
})}
</div>
- <div className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl text-sm flex-1">
+ <div className="col-span-1 xl:col-span-6 xl:col-start-7 w-full max-w-4xl text-sm flex-1">
{activeMeetup?.display_info}
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx
index ead5677076c..1b42c15db62 100644
--- a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx
@@ -16,7 +16,7 @@ export default function LaunchWeekPrizeCard({
hasShimmer
outerClassName={cn('relative rounded-lg overflow-hidden shadow-lg', className)}
innerClassName={cn(
- 'relative h-full flex flex-col bg-[#121516] rounded-lg overflow-hidden text-foreground',
+ 'relative h-full flex flex-col bg-[#121516] rounded-lg overflow-hidden text-[#EDEDED]',
contentClassName
)}
shimmerToColor="hsl(var(--background-alternative-default))"
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx
index 9cee7adb67b..40becd0a9a6 100644
--- a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx
@@ -9,13 +9,13 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
<div
id="prizes"
className={cn(
- 'relative text-left flex flex-col max-w-7xl mx-auto gap-2 scroll-mt-[66px] text-foreground-lighter',
+ 'relative text-left flex flex-col max-w-7xl mx-auto gap-2 scroll-mt-[66px] text-[#575E61]',
className
)}
>
<h2 className="w-full text-sm font-mono uppercase tracking-[1px]">Awards</h2>
<div className="w-full pt-4">
- <div className="grid grid-cols-1 md:grid-cols-3 gap-4 mx-auto h-auto text-foreground">
+ <div className="grid grid-cols-1 md:grid-cols-3 gap-4 mx-auto h-auto text-[#EDEDED]">
<LaunchWeekPrizeCard
className="col-span-full md:col-span-2"
contentClassName="flex flex-col justify-between"
@@ -23,9 +23,9 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
<>
<div className="p-4 md:p-6 flex flex-col flex-shrink gap-2 text-sm items-start">
<LabelBadge text="10 keyboards" />
- <p className="text-lg text-foreground-lighter max-w-lg">
+ <p className="text-lg text-[#8B9092] max-w-lg">
Increase your chances of winning a limited-edition{' '}
- <span className="text-foreground">62-Key ISO Mechanical Keyboard</span> by
+ <span className="text-[#EDEDED]">62-Key ISO Mechanical Keyboard</span> by
sharing your ticket on X and LinkedIn.
</p>
</div>
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx
index 67030d177a7..3c328da1fff 100644
--- a/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx
@@ -43,7 +43,7 @@ const TicketingFlow = () => {
<div
className={cn(
- 'flex flex-col items-center gap-1 text-light font-mono uppercase transition-all opacity-0 invisible',
+ 'flex flex-col items-center gap-1 text-[#B0B0B0] font-mono uppercase transition-all opacity-0 invisible',
!isGameMode && !hasTicket && 'opacity-100 visible'
)}
>
@@ -100,7 +100,7 @@ const TicketingFlow = () => {
<div className="flex flex-col items-center justify-center font-mono uppercase gap-0 leading-0">
<span>{LWX_DATE}</span>
</div>
- <p className="text-foreground-lighter">
+ <p className="text-[#8B9092]">
Join us for a week of announcing new features,
<br className="hidden md:block" /> and find new ways to level up your
development.
@@ -123,22 +123,22 @@ const TicketingFlow = () => {
<div className="order-first xl:h-full max-w-md gap-3 flex flex-col items-center justify-center xl:items-start xl:justify-start xl:text-left">
{hasSecretTicket ? (
<p className="text-2xl lg:text-3xl">
- <span className="text-foreground-lighter">You got the secret ticket.</span>{' '}
- Share it to increase your chances of winning even more.
+ <span className="text-[#8B9092]">You got the secret ticket.</span> Share it
+ to increase your chances of winning even more.
</p>
) : hasPlatinumTicket ? (
<p className="text-2xl lg:text-3xl">
- <span className="text-foreground-lighter">Congrats!</span> You maximized
- your chances and have a platinum ticket now.
+ <span className="text-[#8B9092]">Congrats!</span> You maximized your chances
+ and have a platinum ticket now.
</p>
) : winningChances !== 2 ? (
<p className="text-2xl lg:text-3xl">
- <span className="text-foreground-lighter">You're in!</span>{' '}
+ <span className="text-[#8B9092]">You're in!</span>{' '}
<span className="">Now share your ticket to win limited swag.</span>
</p>
) : (
<p className="text-2xl lg:text-3xl">
- <span className="text-foreground-lighter">Just one more.</span>{' '}
+ <span className="text-[#8B9092]">Just one more.</span>{' '}
<span className="">Keep sharing to increase your chances.</span>
</p>
)}