solana / src /index.css
dronesplace's picture
Initial upload
2acde71 verified
Raw
History Blame Contribute Delete
3.41 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
@import './styles/wallet-adapter.css';
/* Definition of the design system. All colors, gradients, fonts, etc should be defined here.
All colors MUST be HSL.
*/
@layer base {
:root {
/* Trading Platform Theme - Dark Primary */
--background: 224 15% 8%;
--foreground: 210 40% 98%;
--card: 224 17% 10%;
--card-foreground: 210 40% 98%;
--popover: 224 17% 10%;
--popover-foreground: 210 40% 98%;
--primary: 217 91% 60%;
--primary-foreground: 224 15% 8%;
--secondary: 224 20% 14%;
--secondary-foreground: 210 40% 98%;
--muted: 224 20% 14%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 142 76% 36%;
--accent-foreground: 210 40% 98%;
--destructive: 0 84% 60%;
--destructive-foreground: 210 40% 98%;
--border: 224 20% 18%;
--input: 224 20% 16%;
--ring: 217 91% 60%;
--radius: 0.5rem;
/* Trading specific colors */
--profit: 142 76% 36%;
--loss: 0 84% 60%;
--warning: 48 96% 53%;
--info: 217 91% 60%;
/* Gradients */
--gradient-primary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(142 76% 36%) 100%);
--gradient-card: linear-gradient(135deg, hsl(224 17% 10%) 0%, hsl(224 20% 14%) 100%);
--gradient-accent: linear-gradient(90deg, hsl(142 76% 36% / 0.1) 0%, hsl(217 91% 60% / 0.1) 100%);
/* Sidebar */
--sidebar-background: 224 20% 12%;
--sidebar-foreground: 210 40% 98%;
--sidebar-primary: 217 91% 60%;
--sidebar-primary-foreground: 224 15% 8%;
--sidebar-accent: 224 20% 16%;
--sidebar-accent-foreground: 210 40% 98%;
--sidebar-border: 224 20% 18%;
--sidebar-ring: 217 91% 60%;
/* Animations */
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.light {
--background: 0 0% 100%;
--foreground: 224 15% 8%;
--card: 0 0% 100%;
--card-foreground: 224 15% 8%;
--popover: 0 0% 100%;
--popover-foreground: 224 15% 8%;
--primary: 217 91% 60%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96%;
--secondary-foreground: 224 15% 8%;
--muted: 210 40% 96%;
--muted-foreground: 215 16% 47%;
--accent: 142 76% 36%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 100%;
--border: 214 32% 91%;
--input: 214 32% 91%;
--ring: 217 91% 60%;
--profit: 142 76% 36%;
--loss: 0 84% 60%;
--warning: 48 96% 53%;
--info: 217 91% 60%;
--gradient-primary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(142 76% 36%) 100%);
--gradient-card: linear-gradient(135deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
--gradient-accent: linear-gradient(90deg, hsl(142 76% 36% / 0.1) 0%, hsl(217 91% 60% / 0.1) 100%);
--sidebar-background: 0 0% 98%;
--sidebar-foreground: 224 15% 8%;
--sidebar-primary: 217 91% 60%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 210 40% 96%;
--sidebar-accent-foreground: 224 15% 8%;
--sidebar-border: 214 32% 91%;
--sidebar-ring: 217 91% 60%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}