Skip to content

Commit 832017d

Browse files
committed
remove radial gradient and use new one
1 parent bee765c commit 832017d

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

src/pages/get-eth.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import { Divider } from "@/components/ui/divider"
3030
import { Stack } from "@/components/ui/flex"
3131
import InlineLink from "@/components/ui/Link"
3232

33+
import { cn } from "@/lib/utils/cn"
3334
import { existsNamespace } from "@/lib/utils/existsNamespace"
3435
import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
3536
import { getLastModifiedDateByPath } from "@/lib/utils/gh"
@@ -270,7 +271,10 @@ const GetEthPage = ({
270271

271272
<div
272273
id="country-picker"
273-
className="-mx-8 my-0 flex flex-col items-center bg-radial-gradient px-8 py-16 sm:p-16 md:my-16 lg:mx-0"
274+
className={cn(
275+
"-mx-8 my-0 flex flex-col items-center px-8 py-16 sm:p-16 md:my-16 lg:mx-0",
276+
"bg-gradient-to-r from-accent-a/10 to-accent-c/10 dark:from-accent-a/20 dark:to-accent-c-hover/20"
277+
)}
274278
>
275279
<CentralizedExchanges lastDataUpdateDate={lastDataUpdateDate} />
276280
</div>

src/styles/global.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
rgba(84, 132, 234, 0.2) 51.56%,
2424
rgba(58, 142, 137, 0.2) 100%
2525
);
26-
--radial-gradient: radial-gradient(
27-
46.28% 66.31% at 66.95% 58.35%,
28-
rgba(127, 127, 213, 0.2) 0%,
29-
rgba(134, 168, 231, 0.2) 50%,
30-
rgba(145, 234, 228, 0.2) 100%
31-
);
3226
--feedback-gradient: var(--gradient-main);
3327
--table-box-shadow: 0 14px 66px rgba(0, 0, 0, 0.07),
3428
0 10px 17px rgba(0, 0, 0, 0.03), 0 4px 7px rgba(0, 0, 0, 0.05);
@@ -62,12 +56,6 @@
6256
rgba(84, 132, 234, 0.2) 51.56%,
6357
rgba(58, 142, 137, 0.2) 100%
6458
);
65-
--radial-gradient: radial-gradient(
66-
46.28% 66.31% at 66.95% 58.35%,
67-
rgba(127, 127, 213, 0.2) 0%,
68-
rgba(134, 168, 231, 0.2) 50%,
69-
rgba(145, 234, 228, 0.2) 100%
70-
);
7159
--feedback-gradient: linear-gradient(
7260
83.46deg,
7361
#2c2c32 7.03%,

tailwind.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ const config = {
212212
"banner-grid-gradient": "var(--banner-grid-gradient)",
213213
"radial-a": "var(--radial-a)",
214214
"linear-bug-bounty-title": "var(--linear-bug-bounty-title)",
215-
"radial-gradient": "var(--radial-gradient)",
216215
},
217216
boxShadow: {
218217
"table-box": "var(--table-box-shadow)",

0 commit comments

Comments
 (0)