File size: 4,170 Bytes
e8de0f8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | @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;
}
}
|