globals.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. @import "tailwindcss";
  2. @import "tw-animate-css";
  3. @custom-variant dark (&:is(.dark *));
  4. :root {
  5. /* Updated color tokens to match AI painting educational theme */
  6. --background: #ffffff;
  7. --foreground: #374151;
  8. --card: #f0fdf4;
  9. --card-foreground: #374151;
  10. --popover: #ffffff;
  11. --popover-foreground: #374151;
  12. --primary: #15803d;
  13. --primary-foreground: #ffffff;
  14. --secondary: #84cc16;
  15. --secondary-foreground: #374151;
  16. --muted: #f0fdf4;
  17. --muted-foreground: #4b5563;
  18. --accent: #84cc16;
  19. --accent-foreground: #374151;
  20. --destructive: #dc2626;
  21. --destructive-foreground: #ffffff;
  22. --border: #e5e7eb;
  23. --input: #ffffff;
  24. --ring: rgba(21, 128, 61, 0.5);
  25. --chart-1: #15803d;
  26. --chart-2: #84cc16;
  27. --chart-3: #dc2626;
  28. --chart-4: #f97316;
  29. --chart-5: #ea580c;
  30. --radius: 0.5rem;
  31. --sidebar: #f0fdf4;
  32. --sidebar-foreground: #374151;
  33. --sidebar-primary: #15803d;
  34. --sidebar-primary-foreground: #ffffff;
  35. --sidebar-accent: #84cc16;
  36. --sidebar-accent-foreground: #374151;
  37. --sidebar-border: #e5e7eb;
  38. --sidebar-ring: rgba(21, 128, 61, 0.5);
  39. }
  40. .dark {
  41. /* Updated dark mode colors to maintain consistency */
  42. --background: #0f172a;
  43. --foreground: #f1f5f9;
  44. --card: #1e293b;
  45. --card-foreground: #f1f5f9;
  46. --popover: #1e293b;
  47. --popover-foreground: #f1f5f9;
  48. --primary: #22c55e;
  49. --primary-foreground: #0f172a;
  50. --secondary: #a3e635;
  51. --secondary-foreground: #0f172a;
  52. --muted: #1e293b;
  53. --muted-foreground: #94a3b8;
  54. --accent: #a3e635;
  55. --accent-foreground: #0f172a;
  56. --destructive: #ef4444;
  57. --destructive-foreground: #f1f5f9;
  58. --border: #334155;
  59. --input: #1e293b;
  60. --ring: rgba(34, 197, 94, 0.5);
  61. --chart-1: #22c55e;
  62. --chart-2: #a3e635;
  63. --chart-3: #ef4444;
  64. --chart-4: #f97316;
  65. --chart-5: #ea580c;
  66. --sidebar: #1e293b;
  67. --sidebar-foreground: #f1f5f9;
  68. --sidebar-primary: #22c55e;
  69. --sidebar-primary-foreground: #0f172a;
  70. --sidebar-accent: #a3e635;
  71. --sidebar-accent-foreground: #0f172a;
  72. --sidebar-border: #334155;
  73. --sidebar-ring: rgba(34, 197, 94, 0.5);
  74. }
  75. @theme inline {
  76. --color-background: var(--background);
  77. --color-foreground: var(--foreground);
  78. --color-card: var(--card);
  79. --color-card-foreground: var(--card-foreground);
  80. --color-popover: var(--popover);
  81. --color-popover-foreground: var(--popover-foreground);
  82. --color-primary: var(--primary);
  83. --color-primary-foreground: var(--primary-foreground);
  84. --color-secondary: var(--secondary);
  85. --color-secondary-foreground: var(--secondary-foreground);
  86. --color-muted: var(--muted);
  87. --color-muted-foreground: var(--muted-foreground);
  88. --color-accent: var(--accent);
  89. --color-accent-foreground: var(--accent-foreground);
  90. --color-destructive: var(--destructive);
  91. --color-destructive-foreground: var(--destructive-foreground);
  92. --color-border: var(--border);
  93. --color-input: var(--input);
  94. --color-ring: var(--ring);
  95. --color-chart-1: var(--chart-1);
  96. --color-chart-2: var(--chart-2);
  97. --color-chart-3: var(--chart-3);
  98. --color-chart-4: var(--chart-4);
  99. --color-chart-5: var(--chart-5);
  100. --radius-sm: calc(var(--radius) - 4px);
  101. --radius-md: calc(var(--radius) - 2px);
  102. --radius-lg: var(--radius);
  103. --radius-xl: calc(var(--radius) + 4px);
  104. --color-sidebar: var(--sidebar);
  105. --color-sidebar-foreground: var(--sidebar-foreground);
  106. --color-sidebar-primary: var(--sidebar-primary);
  107. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  108. --color-sidebar-accent: var(--sidebar-accent);
  109. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  110. --color-sidebar-border: var(--sidebar-border);
  111. --color-sidebar-ring: var(--sidebar-ring);
  112. /* Added custom font family variables for educational design */
  113. --font-heading: "Playfair Display", serif;
  114. --font-body: "Source Sans Pro", sans-serif;
  115. }
  116. @layer base {
  117. * {
  118. @apply border-border outline-ring/50;
  119. }
  120. body {
  121. @apply bg-background text-foreground;
  122. }
  123. }