Skip to content

Commit 88efa64

Browse files
authored
Adjust background color for timer (#540)
1 parent de36565 commit 88efa64

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/CountdownTimer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ const Countdown: React.FC<CountdownProps> = ({ targetDate }) => {
7575
)}
7676

7777
<div className={`${unit} grid grid-cols-2 gap-x-1 gap-y-1.5`}>
78-
<span className="h-[2.3rem] aspect-[6/7] grid place-content-center rounded-sm bg-[#f9f4da] bg-opacity-10 font-semibold">
78+
<span className="h-[2.3rem] aspect-[6/7] grid place-content-center rounded-sm bg-[rgba(249,244,218,0.1)] bg-opacity-10 font-semibold">
7979
{formatNumber(timeLeft[unit as keyof TimeLeft]).charAt(0)}
8080
</span>
81-
<span className="h-[2.3rem] aspect-[6/7] grid place-content-center rounded-sm bg-[#f9f4da] bg-opacity-10 font-semibold">
81+
<span className="h-[2.3rem] aspect-[6/7] grid place-content-center rounded-sm bg-[rgba(249,244,218,0.1)] bg-opacity-10 font-semibold">
8282
{formatNumber(timeLeft[unit as keyof TimeLeft]).charAt(1)}
8383
</span>
8484
<p className="col-span-full text-xs">{unit}</p>

src/components/CountdownTimerSmall.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ const Countdown: React.FC<CountdownProps> = ({ targetDate }) => {
6666
)}
6767

6868
<div className={`${unit} grid grid-cols-2 gap-x-1 gap-y-1.5`}>
69-
<span className="h-[1.8em] w-[1.7em] grid place-content-center rounded-sm bg-gray-100 bg-opacity-10 dark:bg-gray-800 dark:bg-opacity-10 text-sm font-semibold">
69+
<span className="h-[1.8em] w-[1.7em] grid place-content-center rounded-sm bg-gray-100 dark:bg-gray-800 text-sm font-semibold">
7070
{formatNumber(timeLeft[unit as keyof TimeLeft]).charAt(0)}
7171
</span>
72-
<span className="h-[1.8em] w-[1.7em] grid place-content-center rounded-sm bg-gray-100 bg-opacity-10 dark:bg-gray-800 dark:bg-opacity-10 text-sm font-semibold">
72+
<span className="h-[1.8em] w-[1.7em] grid place-content-center rounded-sm bg-gray-100 dark:bg-gray-800 text-sm font-semibold">
7373
{formatNumber(timeLeft[unit as keyof TimeLeft]).charAt(1)}
7474
</span>
7575
<p className="col-span-full text-[.65rem]">{unit}</p>

src/components/QueryGGBannerSale.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function QueryGGBannerSale(props: React.HTMLProps<HTMLDivElement>) {
88
return (
99
<aside
1010
{...props}
11-
className="mx-auto w-full max-w-[1200px] p-8 -mt-32 flex justify-between items-center"
11+
className="mx-auto w-full max-w-[1200px] p-8 flex justify-between items-center"
1212
>
1313
<div className="w-full xl:flex xl:gap-6 bg-[#f9f4da] border-4 border-[#231f20]">
1414
<a

0 commit comments

Comments
 (0)