From 88e3deda85fa6d7117ba157e15dfac59b87d7d9f Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Tue, 21 Jan 2025 11:55:52 +0100 Subject: [PATCH] clean up globals.css --- autogpt_platform/frontend/src/app/globals.css | 85 +++++++++---------- 1 file changed, 41 insertions(+), 44 deletions(-) diff --git a/autogpt_platform/frontend/src/app/globals.css b/autogpt_platform/frontend/src/app/globals.css index fee8c34a1..9dcd3c407 100644 --- a/autogpt_platform/frontend/src/app/globals.css +++ b/autogpt_platform/frontend/src/app/globals.css @@ -2,48 +2,6 @@ @tailwind components; @tailwind utilities; -@layer base { - .font-neue { - font-family: "PP Neue Montreal TT", sans-serif; - } -} - -@layer utilities { - .h-7\.5 { - height: 1.1875rem; - } - .h-18 { - height: 4.5rem; - } - .h-238 { - height: 14.875rem; - } - .top-158 { - top: 9.875rem; - } - .top-254 { - top: 15.875rem; - } - .top-284 { - top: 17.75rem; - } - .top-360 { - top: 22.5rem; - } - .left-297 { - left: 18.5625rem; - } - .left-34 { - left: 2.125rem; - } -} - -@layer utilities { - .text-balance { - text-wrap: balance; - } -} - @layer base { :root { --background: 250 5% 98%; @@ -99,15 +57,17 @@ --chart-4: 280 65% 60%; --chart-5: 340 75% 55%; } -} -@layer base { * { @apply border-border; } body { @apply bg-background text-foreground; } + + .font-neue { + font-family: "PP Neue Montreal TT", sans-serif; + } } /* *** AutoGPT Design Components *** */ @@ -147,3 +107,40 @@ @apply border-2 border-accent bg-violet-50/50; } } + +@layer utilities { + /* TODO: 1. remove unused utility classes */ + /* TODO: 2. fix naming of numbered dimensions so that the number is 4*dimension */ + /* TODO: 3. move to tailwind.config.ts spacing config */ + .h-7\.5 { + height: 1.1875rem; + } + .h-18 { + height: 4.5rem; + } + .h-238 { + height: 14.875rem; + } + .top-158 { + top: 9.875rem; + } + .top-254 { + top: 15.875rem; + } + .top-284 { + top: 17.75rem; + } + .top-360 { + top: 22.5rem; + } + .left-297 { + left: 18.5625rem; + } + .left-34 { + left: 2.125rem; + } + + .text-balance { + text-wrap: balance; + } +}