ChatMind / client /src /index.css
r2hummingbird's picture
Initial commit - ChatMind Trading Platform
e8de0f8
Raw History Blame Contribute Delete
4.17 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: hsl(222, 84%, 5%);
--foreground: hsl(210, 40%, 98%);
--card: hsl(217, 33%, 17%);
--card-foreground: hsl(210, 40%, 98%);
--popover: hsl(222, 84%, 5%);
--popover-foreground: hsl(210, 40%, 98%);
--primary: hsl(217, 91%, 60%);
--primary-foreground: hsl(222, 84%, 5%);
--secondary: hsl(217, 33%, 17%);
--secondary-foreground: hsl(210, 40%, 98%);
--muted: hsl(217, 33%, 17%);
--muted-foreground: hsl(215, 20%, 65%);
--accent: hsl(217, 33%, 17%);
--accent-foreground: hsl(210, 40%, 98%);
--destructive: hsl(0, 63%, 31%);
--destructive-foreground: hsl(210, 40%, 98%);
--border: hsl(217, 33%, 17%);
--input: hsl(217, 33%, 17%);
--ring: hsl(224, 71%, 4%);
--chart-1: hsl(217, 91%, 60%);
--chart-2: hsl(142, 69%, 58%);
--chart-3: hsl(47, 96%, 89%);
--chart-4: hsl(120, 93%, 79%);
--chart-5: hsl(340, 75%, 51%);
--radius: 0.5rem;
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
}
.dark {
--background: hsl(222, 84%, 5%);
--foreground: hsl(210, 40%, 98%);
--card: hsl(217, 33%, 17%);
--card-foreground: hsl(210, 40%, 98%);
--popover: hsl(222, 84%, 5%);
--popover-foreground: hsl(210, 40%, 98%);
--primary: hsl(217, 91%, 60%);
--primary-foreground: hsl(222, 84%, 5%);
--secondary: hsl(217, 33%, 17%);
--secondary-foreground: hsl(210, 40%, 98%);
--muted: hsl(217, 33%, 17%);
--muted-foreground: hsl(215, 20%, 65%);
--accent: hsl(217, 33%, 17%);
--accent-foreground: hsl(210, 40%, 98%);
--destructive: hsl(0, 63%, 31%);
--destructive-foreground: hsl(210, 40%, 98%);
--border: hsl(217, 33%, 17%);
--input: hsl(217, 33%, 17%);
--ring: hsl(224, 71%, 4%);
--chart-1: hsl(217, 91%, 60%);
--chart-2: hsl(142, 69%, 58%);
--chart-3: hsl(47, 96%, 89%);
--chart-4: hsl(120, 93%, 79%);
--chart-5: hsl(340, 75%, 51%);
}
.light {
--background: hsl(0, 0%, 100%);
--foreground: hsl(222, 84%, 5%);
--card: hsl(0, 0%, 100%);
--card-foreground: hsl(222, 84%, 5%);
--popover: hsl(0, 0%, 100%);
--popover-foreground: hsl(222, 84%, 5%);
--primary: hsl(217, 91%, 60%);
--primary-foreground: hsl(210, 40%, 98%);
--secondary: hsl(210, 40%, 96%);
--secondary-foreground: hsl(222, 84%, 5%);
--muted: hsl(210, 40%, 96%);
--muted-foreground: hsl(215, 16%, 46%);
--accent: hsl(210, 40%, 96%);
--accent-foreground: hsl(222, 84%, 5%);
--destructive: hsl(0, 84%, 60%);
--destructive-foreground: hsl(210, 40%, 98%);
--border: hsl(214, 32%, 91%);
--input: hsl(214, 32%, 91%);
--ring: hsl(217, 91%, 60%);
--chart-1: hsl(217, 91%, 60%);
--chart-2: hsl(142, 69%, 58%);
--chart-3: hsl(47, 96%, 89%);
--chart-4: hsl(120, 93%, 79%);
--chart-5: hsl(340, 75%, 51%);
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans antialiased;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
/* Glassmorphism effects */
.glass {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.glass-dark {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
/* Trading specific gradients */
.trading-gradient {
background: linear-gradient(135deg, hsl(217, 91%, 60%) 0%, hsl(142, 69%, 58%) 100%);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: hsl(var(--muted-foreground) / 0.3);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground) / 0.5);
}
/* Chart responsive styles */
.chart-container {
position: relative;
height: 400px;
width: 100%;
}
@media (max-width: 768px) {
.chart-container {
height: 300px;
}
}