Skip to content

Commit d5a2ec9

Browse files
authored
fix(frontend): update the globals.css file with new colors from figma (#69)
1 parent 768d128 commit d5a2ec9

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

frontend/app/globals.css

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
@theme inline {
1313
/* Core semantic colors - reference CSS variables */
1414
--color-background: var(--background);
15+
--color-background-secondary: var(--background-secondary);
1516
--color-foreground: var(--foreground);
1617
--color-card: var(--card);
1718
--color-card-foreground: var(--card-foreground);
@@ -127,10 +128,10 @@
127128
--color-tracker-active: #836ef9;
128129

129130
/* Block state colors */
130-
--color-block-proposed: #d4631f;
131-
--color-block-voted: #8b68d9;
132-
--color-block-finalized: #4680d6;
133-
--color-block-verified: #2aad7c;
131+
--color-block-proposed: #342b6f;
132+
--color-block-voted: #6e54ff;
133+
--color-block-finalized: #2dd4bf;
134+
--color-block-verified: #22c55e;
134135

135136
/* Swap provider and transfer colors */
136137
--color-purple-primary: #836ef9;
@@ -142,7 +143,7 @@
142143
--color-blue-primary: #0066ff;
143144

144145
/* UI component colors */
145-
--color-text-muted: #a0a0b0;
146+
--color-text-muted: #52525e;
146147
--color-text-muted-darker: #6a6a7a;
147148
--color-bg-card-dark: #454150;
148149
--color-bg-card-darker: #696274;
@@ -284,6 +285,8 @@
284285
--accent-foreground-dark: var(--color-zinc-50);
285286
--background-light: var(--color-base-white);
286287
--background-dark: var(--color-brand-monad-off-black-700-dark-bg);
288+
--background-secondary-light: var(--color-zinc-50);
289+
--background-secondary-dark: #18181b;
287290
--border-light: var(--color-zinc-200);
288291
--border-dark: var(--color-zinc-800);
289292
--card-light: var(--color-base-white);
@@ -413,21 +416,23 @@
413416
--toast-error-bg-dark: hsla(0, 84%, 60%, 0.1);
414417

415418
/* Tooltip colors */
416-
--tooltip-bg: #0e0e1a;
417-
--tooltip-border: #2a2a4a;
419+
--tooltip-bg: #18181b;
420+
--tooltip-border: #e5e5e5;
418421
--tooltip-text: #ffffff;
419-
--tooltip-text-secondary: #8888a0;
422+
--tooltip-text-secondary: #a8a3b8;
420423
--tooltip-text-accent: #9c6ef8;
421-
--tooltip-separator: #2c2735;
424+
--tooltip-separator: #27272a;
422425

423426
/* Bubble map colors */
424-
--color-bubble-map-color-1: #b63537;
425-
--color-bubble-map-color-2: #c88328;
426-
--color-bubble-map-color-3: #509e68;
427+
--color-bubble-map-color-1: #d33636;
428+
--color-bubble-map-color-2: #d34936;
429+
--color-bubble-map-color-3: #d38736;
430+
--color-bubble-map-color-4: #afa10d;
431+
--color-bubble-map-color-5: #67ae11;
427432

428433
/* Text colors */
429434
--text-secondary-light: var(--color-neutral-500);
430-
--text-secondary-dark: var(--color-zinc-400);
435+
--text-secondary-dark: #a8a3b8;
431436
--text-tertiary-light: var(--color-neutral-400);
432437
--text-tertiary-dark: #65656f;
433438
--text-disabled-light: var(--color-neutral-200);

frontend/app/layout.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ export default function RootLayout({
2828
children: React.ReactNode
2929
}>) {
3030
return (
31-
<html lang="en">
31+
<html lang="en" className="dark">
3232
<body
33-
className={cn(
34-
brittiSans.variable,
35-
robotoMono.variable,
36-
'antialiased bg-zinc-950',
37-
)}
33+
className={cn(brittiSans.variable, robotoMono.variable, 'antialiased')}
3834
>
3935
<Providers>{children}</Providers>
4036
<Analytics />

0 commit comments

Comments
 (0)