Spaces:
Runtime error

flora / src /index.css
Pavankumardns's picture
hugging face
ae02946
Raw History Blame Contribute Delete
2.8 kB
@tailwind base;
@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 {
/* Solarized Light Theme - Natural & Greenery */
--background: 45 100% 96%;
--foreground: 194 14% 40%;
--card: 44 87% 98%;
--card-foreground: 194 14% 40%;
--popover: 44 87% 98%;
--popover-foreground: 194 14% 40%;
/* Nature-inspired primary green */
--primary: 68 100% 30%;
--primary-foreground: 45 100% 96%;
/* Soft secondary */
--secondary: 45 100% 88%;
--secondary-foreground: 194 14% 40%;
/* Muted earth tones */
--muted: 45 50% 91%;
--muted-foreground: 194 14% 50%;
/* Vibrant accent cyan */
--accent: 177 62% 39%;
--accent-foreground: 45 100% 96%;
/* Nature destructive */
--destructive: 1 71% 52%;
--destructive-foreground: 45 100% 96%;
--border: 45 30% 86%;
--input: 45 30% 86%;
--ring: 68 100% 30%;
--radius: 0.75rem;
/* Custom tokens for Flora AI */
--flora-green: 68 100% 30%;
--flora-cyan: 177 62% 39%;
--flora-blue: 205 69% 49%;
--flora-yellow: 45 100% 35%;
--flora-orange: 18 89% 40%;
/* Gradients */
--gradient-nature: linear-gradient(135deg, hsl(68 100% 30%), hsl(177 62% 39%));
--gradient-earth: linear-gradient(180deg, hsl(45 100% 96%), hsl(45 100% 88%));
--gradient-glow: radial-gradient(circle, hsl(68 100% 30% / 0.15), transparent 70%);
/* Shadows */
--shadow-soft: 0 4px 20px hsl(194 14% 40% / 0.08);
--shadow-nature: 0 8px 30px hsl(68 100% 30% / 0.12);
--shadow-elevated: 0 12px 40px hsl(194 14% 40% / 0.15);
/* Transitions */
--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);
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-mono;
font-family: 'JetBrains Mono', monospace;
}
.font-pixel {
font-family: 'Press Start 2P', cursive;
line-height: 1.6;
letter-spacing: 0.05em;
}
.font-mono {
font-family: 'JetBrains Mono', monospace;
}
}
@layer utilities {
.gradient-nature {
background: var(--gradient-nature);
}
.gradient-earth {
background: var(--gradient-earth);
}
.shadow-nature {
box-shadow: var(--shadow-nature);
}
.shadow-soft {
box-shadow: var(--shadow-soft);
}
.transition-smooth {
transition: var(--transition-smooth);
}
.hover-lift {
@apply transition-smooth hover:-translate-y-1 hover:shadow-nature;
}
.text-gradient {
@apply bg-clip-text text-transparent;
background-image: var(--gradient-nature);
}
}