app.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @import "tailwindcss";
  2. @custom-variant dark (&:is(.dark *));
  3. @theme inline {
  4. --radius-sm: calc(var(--radius) - 4px);
  5. --radius-md: calc(var(--radius) - 2px);
  6. --radius-lg: var(--radius);
  7. --radius-xl: calc(var(--radius) + 4px);
  8. --radius-2xl: calc(var(--radius) + 8px);
  9. --radius-3xl: calc(var(--radius) + 12px);
  10. --radius-4xl: calc(var(--radius) + 16px);
  11. --color-background: var(--background);
  12. --color-foreground: var(--foreground);
  13. --color-card: var(--card);
  14. --color-card-foreground: var(--card-foreground);
  15. --color-popover: var(--popover);
  16. --color-popover-foreground: var(--popover-foreground);
  17. --color-primary: var(--primary);
  18. --color-primary-foreground: var(--primary-foreground);
  19. --color-secondary: var(--secondary);
  20. --color-secondary-foreground: var(--secondary-foreground);
  21. --color-muted: var(--muted);
  22. --color-muted-foreground: var(--muted-foreground);
  23. --color-accent: var(--accent);
  24. --color-accent-foreground: var(--accent-foreground);
  25. --color-destructive: var(--destructive);
  26. --color-border: var(--border);
  27. --color-input: var(--input);
  28. --color-ring: var(--ring);
  29. --color-chart-1: var(--chart-1);
  30. --color-chart-2: var(--chart-2);
  31. --color-chart-3: var(--chart-3);
  32. --color-chart-4: var(--chart-4);
  33. --color-chart-5: var(--chart-5);
  34. }
  35. :root {
  36. --radius: 0.625rem;
  37. --background: oklch(1 0 0);
  38. --foreground: oklch(0.145 0 0);
  39. --card: oklch(1 0 0);
  40. --card-foreground: oklch(0.145 0 0);
  41. --popover: oklch(1 0 0);
  42. --popover-foreground: oklch(0.145 0 0);
  43. --primary: oklch(0.205 0 0);
  44. --primary-foreground: oklch(0.985 0 0);
  45. --secondary: oklch(0.97 0 0);
  46. --secondary-foreground: oklch(0.205 0 0);
  47. --muted: oklch(0.97 0 0);
  48. --muted-foreground: oklch(0.556 0 0);
  49. --accent: oklch(0.97 0 0);
  50. --accent-foreground: oklch(0.205 0 0);
  51. --destructive: oklch(0.577 0.245 27.325);
  52. --border: oklch(0.922 0 0);
  53. --input: oklch(0.922 0 0);
  54. --ring: oklch(0.708 0 0);
  55. --chart-1: oklch(0.646 0.222 41.116);
  56. --chart-2: oklch(0.6 0.118 184.704);
  57. --chart-3: oklch(0.398 0.07 227.392);
  58. --chart-4: oklch(0.828 0.189 84.429);
  59. --chart-5: oklch(0.769 0.188 70.08);
  60. }
  61. .dark {
  62. --background: oklch(0.145 0 0);
  63. --foreground: oklch(0.985 0 0);
  64. --card: oklch(0.205 0 0);
  65. --card-foreground: oklch(0.985 0 0);
  66. --popover: oklch(0.205 0 0);
  67. --popover-foreground: oklch(0.985 0 0);
  68. --primary: oklch(0.922 0 0);
  69. --primary-foreground: oklch(0.205 0 0);
  70. --secondary: oklch(0.269 0 0);
  71. --secondary-foreground: oklch(0.985 0 0);
  72. --muted: oklch(0.269 0 0);
  73. --muted-foreground: oklch(0.708 0 0);
  74. --accent: oklch(0.269 0 0);
  75. --accent-foreground: oklch(0.985 0 0);
  76. --destructive: oklch(0.704 0.191 22.216);
  77. --border: oklch(1 0 0 / 10%);
  78. --input: oklch(1 0 0 / 15%);
  79. --ring: oklch(0.556 0 0);
  80. --chart-1: oklch(0.488 0.243 264.376);
  81. --chart-2: oklch(0.696 0.17 162.48);
  82. --chart-3: oklch(0.769 0.188 70.08);
  83. --chart-4: oklch(0.627 0.265 303.9);
  84. --chart-5: oklch(0.645 0.246 16.439);
  85. }
  86. @layer base {
  87. * {
  88. @apply border-border outline-ring/50;
  89. }
  90. body {
  91. @apply bg-background text-foreground;
  92. }
  93. }
  94. button {
  95. cursor: pointer;
  96. }
  97. @keyframes shimmer {
  98. 0% {
  99. background-position: -200% 0;
  100. }
  101. 100% {
  102. background-position: 200% 0;
  103. }
  104. }
  105. .animate-shimmer {
  106. background: linear-gradient(
  107. 90deg,
  108. currentColor 25%,
  109. hsl(0 0% 64%) 50%,
  110. currentColor 75%
  111. );
  112. background-size: 200% 100%;
  113. -webkit-background-clip: text;
  114. background-clip: text;
  115. -webkit-text-fill-color: transparent;
  116. animation: shimmer 2s ease-in-out infinite;
  117. }