Skip to content

Commit 3832f04

Browse files
committed
Update Marketplace - Fix style
2 parents 75f1f37 + 8ba2e62 commit 3832f04

11 files changed

Lines changed: 591 additions & 31 deletions

File tree

app/globals.css

Lines changed: 213 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
@import "tailwindcss";
22

3-
@custom-variant dark (&:where(.dark, .dark *));
3+
@plugin "tailwindcss-animate";
4+
@import "tw-animate-css";
45

5-
:root {
6-
--background: #ffffff;
7-
--foreground: #171717;
8-
}
6+
@custom-variant dark (&:where(.dark, .dark *));
97

108
@theme inline {
119
--color-background: var(--background);
1210
--color-foreground: var(--foreground);
1311
--font-sans: "Space Grotesk", sans-serif;
1412
--font-display: "Space Grotesk", sans-serif;
1513

14+
--font-sans: var(--font-inter);
15+
--font-display: var(--font-anton);
16+
1617
/* Custom Colors */
1718
--color-primary: #00bfff;
1819
--color-background-light: #f6f7f9;
@@ -38,16 +39,57 @@
3839
--shadow-hard-sm: 2px 2px 0px 0px #101618;
3940
--shadow-hard-lg: 8px 8px 0px 0px #101618;
4041

42+
43+
/* Border Radius */
44+
--radius: 0.5rem;
45+
--radius-large: 2rem;
46+
4147
/* Animations */
4248
--animate-marquee: marquee 25s linear infinite;
4349
--animate-marquee-reverse: marquee-reverse 25s linear infinite;
4450
--animate-float: float 6s ease-in-out infinite;
51+
--color-sidebar-ring: var(--sidebar-ring);
52+
--color-sidebar-border: var(--sidebar-border);
53+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
54+
--color-sidebar-accent: var(--sidebar-accent);
55+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
56+
--color-sidebar-primary: var(--sidebar-primary);
57+
--color-sidebar-foreground: var(--sidebar-foreground);
58+
--color-sidebar: var(--sidebar);
59+
--color-chart-5: var(--chart-5);
60+
--color-chart-4: var(--chart-4);
61+
--color-chart-3: var(--chart-3);
62+
--color-chart-2: var(--chart-2);
63+
--color-chart-1: var(--chart-1);
64+
--color-ring: var(--ring);
65+
--color-input: var(--input);
66+
--color-border: var(--border);
67+
--color-destructive: var(--destructive);
68+
--color-accent-foreground: var(--accent-foreground);
69+
--color-accent: var(--accent);
70+
--color-muted-foreground: var(--muted-foreground);
71+
--color-muted: var(--muted);
72+
--color-secondary-foreground: var(--secondary-foreground);
73+
--color-secondary: var(--secondary);
74+
--color-primary-foreground: var(--primary-foreground);
75+
--color-popover-foreground: var(--popover-foreground);
76+
--color-popover: var(--popover);
77+
--color-card-foreground: var(--card-foreground);
78+
--color-card: var(--card);
79+
--radius-sm: calc(var(--radius) - 4px);
80+
--radius-md: calc(var(--radius) - 2px);
81+
--radius-lg: var(--radius);
82+
--radius-xl: calc(var(--radius) + 4px);
83+
--radius-2xl: calc(var(--radius) + 8px);
84+
--radius-3xl: calc(var(--radius) + 12px);
85+
--radius-4xl: calc(var(--radius) + 16px);
4586
}
4687

4788
@keyframes marquee {
4889
0% {
4990
transform: translateX(0%);
5091
}
92+
5193
100% {
5294
transform: translateX(-100%);
5395
}
@@ -57,30 +99,25 @@
5799
0% {
58100
transform: translateX(-100%);
59101
}
102+
60103
100% {
61104
transform: translateX(0%);
62105
}
63106
}
64107

65108
@keyframes float {
66-
0%, 100% {
109+
110+
0%,
111+
100% {
67112
transform: translateY(0);
68113
}
114+
69115
50% {
70116
transform: translateY(-20px);
71117
}
72118
}
73119

74-
@media (prefers-color-scheme: dark) {
75-
:root {
76-
--background: #0a0a0a;
77-
--foreground: #ededed;
78-
}
79-
}
80-
81120
body {
82-
background: var(--background);
83-
color: var(--foreground);
84121
font-family: var(--font-inter), Arial, Helvetica, sans-serif;
85122
}
86123

@@ -235,3 +272,164 @@ body {
235272
white-space: nowrap;
236273
direction: ltr;
237274
}
275+
/* Cursor Hover Animation */
276+
.cursor-animation {
277+
animation: cursorMove 3s ease-in-out infinite;
278+
}
279+
280+
.buy-button {
281+
animation: buttonHover 3s ease-in-out infinite;
282+
}
283+
284+
@keyframes cursorMove {
285+
0% {
286+
transform: translate(80px, 60px);
287+
opacity: 1;
288+
}
289+
290+
30% {
291+
transform: translate(0px, 0px);
292+
opacity: 1;
293+
}
294+
295+
45% {
296+
transform: translate(0px, 0px) scale(0.9);
297+
opacity: 1;
298+
}
299+
300+
55% {
301+
transform: translate(0px, 0px) scale(1);
302+
opacity: 1;
303+
}
304+
305+
70% {
306+
transform: translate(0px, 0px);
307+
opacity: 1;
308+
}
309+
310+
100% {
311+
transform: translate(80px, 60px);
312+
opacity: 1;
313+
}
314+
}
315+
316+
@keyframes buttonHover {
317+
0% {
318+
background-color: black;
319+
transform: scale(1);
320+
box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3);
321+
}
322+
323+
30% {
324+
background-color: #FFD600;
325+
color: black;
326+
transform: scale(1.05);
327+
box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
328+
}
329+
330+
45% {
331+
background-color: #00D68F;
332+
color: black;
333+
transform: scale(0.95);
334+
box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.2);
335+
}
336+
337+
55% {
338+
background-color: #00D68F;
339+
color: black;
340+
transform: scale(1.05);
341+
box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
342+
}
343+
344+
70% {
345+
background-color: #FFD600;
346+
color: black;
347+
transform: scale(1.05);
348+
box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
349+
}
350+
351+
100% {
352+
background-color: black;
353+
color: white;
354+
transform: scale(1);
355+
box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3);
356+
}
357+
}
358+
359+
:root {
360+
--radius: 0.625rem;
361+
--background: oklch(1 0 0);
362+
--foreground: oklch(0.145 0 0);
363+
--card: oklch(1 0 0);
364+
--card-foreground: oklch(0.145 0 0);
365+
--popover: oklch(1 0 0);
366+
--popover-foreground: oklch(0.145 0 0);
367+
--primary: oklch(0.205 0 0);
368+
--primary-foreground: oklch(0.985 0 0);
369+
--secondary: oklch(0.97 0 0);
370+
--secondary-foreground: oklch(0.205 0 0);
371+
--muted: oklch(0.97 0 0);
372+
--muted-foreground: oklch(0.556 0 0);
373+
--accent: oklch(0.97 0 0);
374+
--accent-foreground: oklch(0.205 0 0);
375+
--destructive: oklch(0.577 0.245 27.325);
376+
--border: oklch(0.922 0 0);
377+
--input: oklch(0.922 0 0);
378+
--ring: oklch(0.708 0 0);
379+
--chart-1: oklch(0.646 0.222 41.116);
380+
--chart-2: oklch(0.6 0.118 184.704);
381+
--chart-3: oklch(0.398 0.07 227.392);
382+
--chart-4: oklch(0.828 0.189 84.429);
383+
--chart-5: oklch(0.769 0.188 70.08);
384+
--sidebar: oklch(0.985 0 0);
385+
--sidebar-foreground: oklch(0.145 0 0);
386+
--sidebar-primary: oklch(0.205 0 0);
387+
--sidebar-primary-foreground: oklch(0.985 0 0);
388+
--sidebar-accent: oklch(0.97 0 0);
389+
--sidebar-accent-foreground: oklch(0.205 0 0);
390+
--sidebar-border: oklch(0.922 0 0);
391+
--sidebar-ring: oklch(0.708 0 0);
392+
}
393+
394+
.dark {
395+
--background: oklch(0.145 0 0);
396+
--foreground: oklch(0.985 0 0);
397+
--card: oklch(0.205 0 0);
398+
--card-foreground: oklch(0.985 0 0);
399+
--popover: oklch(0.205 0 0);
400+
--popover-foreground: oklch(0.985 0 0);
401+
--primary: oklch(0.922 0 0);
402+
--primary-foreground: oklch(0.205 0 0);
403+
--secondary: oklch(0.269 0 0);
404+
--secondary-foreground: oklch(0.985 0 0);
405+
--muted: oklch(0.269 0 0);
406+
--muted-foreground: oklch(0.708 0 0);
407+
--accent: oklch(0.269 0 0);
408+
--accent-foreground: oklch(0.985 0 0);
409+
--destructive: oklch(0.704 0.191 22.216);
410+
--border: oklch(1 0 0 / 10%);
411+
--input: oklch(1 0 0 / 15%);
412+
--ring: oklch(0.556 0 0);
413+
--chart-1: oklch(0.488 0.243 264.376);
414+
--chart-2: oklch(0.696 0.17 162.48);
415+
--chart-3: oklch(0.769 0.188 70.08);
416+
--chart-4: oklch(0.627 0.265 303.9);
417+
--chart-5: oklch(0.645 0.246 16.439);
418+
--sidebar: oklch(0.205 0 0);
419+
--sidebar-foreground: oklch(0.985 0 0);
420+
--sidebar-primary: oklch(0.488 0.243 264.376);
421+
--sidebar-primary-foreground: oklch(0.985 0 0);
422+
--sidebar-accent: oklch(0.269 0 0);
423+
--sidebar-accent-foreground: oklch(0.985 0 0);
424+
--sidebar-border: oklch(1 0 0 / 10%);
425+
--sidebar-ring: oklch(0.556 0 0);
426+
}
427+
428+
@layer base {
429+
* {
430+
@apply border-border outline-ring/50;
431+
}
432+
body {
433+
@apply bg-background text-foreground;
434+
}
435+
}

bun.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
},
21+
"registries": {
22+
"@react-bits": "https://reactbits.dev/r/{name}.json"
23+
}
24+
}

0 commit comments

Comments
 (0)