From 05df311b1f3e2f2be04912f9a8b265b425892e82 Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Wed, 29 Oct 2025 12:43:08 +0000
Subject: [PATCH] Update styles with Inter font
---
index.html | 3 +
src/index.css | 152 ++++++++++++++++++++++++++++++---------------
tailwind.config.ts | 25 ++++++--
3 files changed, 125 insertions(+), 55 deletions(-)
diff --git a/index.html b/index.html
index cd52b19..2edf90c 100644
--- a/index.html
+++ b/index.html
@@ -6,6 +6,9 @@
HGTX PromptLab - Laboratório de Prompts de IA
+
+
+
diff --git a/src/index.css b/src/index.css
index b40404d..22ae396 100644
--- a/src/index.css
+++ b/src/index.css
@@ -2,13 +2,10 @@
@tailwind components;
@tailwind utilities;
-/* Definition of the design system. All colors, gradients, fonts, etc should be defined here.
-All colors MUST be HSL.
-*/
-
@layer base {
:root {
- --background: 0 0% 98%;
+ /* HGTX Codex - Light Theme */
+ --background: 210 40% 98%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
@@ -17,87 +14,140 @@ All colors MUST be HSL.
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
- --primary: 221 83% 53%;
+ --primary: 190 100% 45%;
--primary-foreground: 0 0% 100%;
- --secondary: 220 14% 96%;
- --secondary-foreground: 222 47% 11%;
+ --secondary: 210 100% 45%;
+ --secondary-foreground: 0 0% 100%;
- --muted: 220 14% 96%;
+ --muted: 210 40% 96%;
--muted-foreground: 215 16% 47%;
- --accent: 262 83% 58%;
+ --accent: 190 100% 50%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 100%;
- --border: 220 13% 91%;
- --input: 220 13% 91%;
- --ring: 221 83% 53%;
+ --border: 214 32% 91%;
+ --input: 214 32% 91%;
+ --ring: 190 100% 45%;
--radius: 0.75rem;
- --sidebar-background: 0 0% 100%;
+ /* Sidebar specific - Light */
+ --sidebar-background: 210 40% 99%;
--sidebar-foreground: 222 47% 11%;
- --sidebar-primary: 221 83% 53%;
+ --sidebar-primary: 190 100% 45%;
--sidebar-primary-foreground: 0 0% 100%;
- --sidebar-accent: 220 14% 96%;
+ --sidebar-accent: 210 40% 95%;
--sidebar-accent-foreground: 222 47% 11%;
- --sidebar-border: 220 13% 91%;
- --sidebar-ring: 221 83% 53%;
+ --sidebar-border: 214 32% 88%;
+ --sidebar-ring: 190 100% 45%;
- --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
- --shadow-hover: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
- --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+ /* Custom gradients - Light */
+ --gradient-cyber: linear-gradient(135deg, hsl(190 100% 45%) 0%, hsl(210 100% 45%) 100%);
+ --gradient-subtle: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(210 40% 95%) 100%);
+ --glow-cyan: 0 0 40px hsl(190 100% 50% / 0.15);
+ --glow-blue: 0 0 30px hsl(210 100% 50% / 0.12);
+
+ /* Animation speeds */
+ --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+ --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.dark {
- --background: 222 47% 11%;
- --foreground: 210 40% 98%;
+ /* HGTX Codex - Dark Theme */
+ --background: 222 47% 5%;
+ --foreground: 200 100% 95%;
- --card: 224 71% 4%;
- --card-foreground: 210 40% 98%;
+ --card: 222 40% 8%;
+ --card-foreground: 200 100% 95%;
- --popover: 224 71% 4%;
- --popover-foreground: 210 40% 98%;
+ --popover: 222 45% 10%;
+ --popover-foreground: 200 100% 95%;
- --primary: 221 83% 53%;
- --primary-foreground: 0 0% 100%;
+ --primary: 190 100% 50%;
+ --primary-foreground: 222 47% 5%;
- --secondary: 217 33% 17%;
- --secondary-foreground: 210 40% 98%;
+ --secondary: 210 100% 50%;
+ --secondary-foreground: 222 47% 5%;
- --muted: 217 33% 17%;
- --muted-foreground: 215 20% 65%;
+ --muted: 222 30% 15%;
+ --muted-foreground: 200 20% 65%;
- --accent: 262 83% 58%;
- --accent-foreground: 0 0% 100%;
+ --accent: 190 100% 60%;
+ --accent-foreground: 222 47% 5%;
- --destructive: 0 63% 31%;
- --destructive-foreground: 210 40% 98%;
+ --destructive: 0 84% 60%;
+ --destructive-foreground: 200 100% 95%;
- --border: 217 33% 17%;
- --input: 217 33% 17%;
- --ring: 224 76% 48%;
-
- --sidebar-background: 224 71% 4%;
- --sidebar-foreground: 210 40% 98%;
- --sidebar-primary: 221 83% 53%;
- --sidebar-primary-foreground: 0 0% 100%;
- --sidebar-accent: 217 33% 17%;
- --sidebar-accent-foreground: 210 40% 98%;
- --sidebar-border: 217 33% 17%;
- --sidebar-ring: 224 76% 48%;
+ --border: 222 30% 18%;
+ --input: 222 30% 18%;
+ --ring: 190 100% 50%;
+
+ /* Sidebar specific - Dark */
+ --sidebar-background: 222 45% 7%;
+ --sidebar-foreground: 200 100% 90%;
+ --sidebar-primary: 190 100% 50%;
+ --sidebar-primary-foreground: 222 47% 5%;
+ --sidebar-accent: 222 35% 12%;
+ --sidebar-accent-foreground: 190 100% 60%;
+ --sidebar-border: 222 30% 15%;
+ --sidebar-ring: 190 100% 50%;
+
+ /* Custom gradients - Dark */
+ --gradient-cyber: linear-gradient(135deg, hsl(190 100% 50%) 0%, hsl(210 100% 50%) 100%);
+ --gradient-subtle: linear-gradient(180deg, hsl(222 45% 8%) 0%, hsl(222 47% 5%) 100%);
+ --glow-cyan: 0 0 40px hsl(190 100% 50% / 0.3);
+ --glow-blue: 0 0 30px hsl(210 100% 50% / 0.25);
}
}
@layer base {
* {
- @apply border-border;
+ @apply border-border transition-colors;
}
body {
- @apply bg-background text-foreground;
+ @apply bg-background text-foreground font-sans antialiased;
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
+ }
+
+ /* Scrollbar styling */
+ ::-webkit-scrollbar {
+ width: 8px;
+ height: 8px;
+ }
+
+ ::-webkit-scrollbar-track {
+ @apply bg-background;
+ }
+
+ ::-webkit-scrollbar-thumb {
+ @apply bg-muted rounded-full;
+ }
+
+ ::-webkit-scrollbar-thumb:hover {
+ @apply bg-primary/50;
+ }
+}
+
+@layer components {
+ .glass-effect {
+ @apply bg-card/40 backdrop-blur-xl border border-border/50;
+ }
+
+ .cyber-glow {
+ box-shadow: var(--glow-cyan);
+ }
+
+ .cyber-border {
+ @apply border border-primary/30 rounded-lg;
+ box-shadow: 0 0 20px hsl(190 100% 50% / 0.1);
+ }
+
+ .gradient-text {
+ @apply bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent;
}
}
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 878fd4b..ec583e6 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -13,6 +13,9 @@ export default {
},
},
extend: {
+ fontFamily: {
+ sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
+ },
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
@@ -63,6 +66,14 @@ export default {
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
+ backgroundImage: {
+ 'gradient-cyber': 'var(--gradient-cyber)',
+ 'gradient-subtle': 'var(--gradient-subtle)',
+ },
+ boxShadow: {
+ 'glow-cyan': 'var(--glow-cyan)',
+ 'glow-blue': 'var(--glow-blue)',
+ },
keyframes: {
"accordion-down": {
from: {
@@ -100,19 +111,25 @@ export default {
opacity: "1"
}
},
+ "glow": {
+ "0%, 100%": {
+ opacity: "1",
+ },
+ "50%": {
+ opacity: "0.5",
+ }
+ },
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"fade-in": "fade-in 0.3s ease-out",
"scale-in": "scale-in 0.2s ease-out",
- },
- boxShadow: {
- 'card': 'var(--shadow-card)',
- 'hover': 'var(--shadow-hover)',
+ "glow": "glow 2s ease-in-out infinite",
},
transitionTimingFunction: {
'smooth': 'cubic-bezier(0.4, 0, 0.2, 1)',
+ 'bounce': 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',
},
},
},