index.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. @import "tailwindcss";
  2. @import "tw-animate-css";
  3. @custom-variant dark (&:is(.dark *));
  4. @theme inline {
  5. --radius-sm: calc(var(--radius) - 4px);
  6. --radius-md: calc(var(--radius) - 2px);
  7. --radius-lg: var(--radius);
  8. --radius-xl: calc(var(--radius) + 4px);
  9. --color-background: var(--background);
  10. --color-foreground: var(--foreground);
  11. --color-card: var(--card);
  12. --color-card-foreground: var(--card-foreground);
  13. --color-popover: var(--popover);
  14. --color-popover-foreground: var(--popover-foreground);
  15. --color-primary: var(--primary);
  16. --color-primary-foreground: var(--primary-foreground);
  17. --color-secondary: var(--secondary);
  18. --color-secondary-foreground: var(--secondary-foreground);
  19. --color-muted: var(--muted);
  20. --color-muted-foreground: var(--muted-foreground);
  21. --color-accent: var(--accent);
  22. --color-accent-foreground: var(--accent-foreground);
  23. --color-destructive: var(--destructive);
  24. --color-destructive-foreground: var(--destructive-foreground);
  25. --color-border: var(--border);
  26. --color-input: var(--input);
  27. --color-ring: var(--ring);
  28. --color-chart-1: var(--chart-1);
  29. --color-chart-2: var(--chart-2);
  30. --color-chart-3: var(--chart-3);
  31. --color-chart-4: var(--chart-4);
  32. --color-chart-5: var(--chart-5);
  33. --color-sidebar: var(--sidebar);
  34. --color-sidebar-foreground: var(--sidebar-foreground);
  35. --color-sidebar-primary: var(--sidebar-primary);
  36. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  37. --color-sidebar-accent: var(--sidebar-accent);
  38. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  39. --color-sidebar-border: var(--sidebar-border);
  40. --color-sidebar-ring: var(--sidebar-ring);
  41. --font-display: 'Playfair Display', Georgia, serif;
  42. --font-body: 'Source Sans 3', system-ui, sans-serif;
  43. --font-mono: 'Fira Code', monospace;
  44. --color-forest: oklch(0.30 0.07 155);
  45. --color-forest-light: oklch(0.40 0.07 155);
  46. --color-taupe: oklch(0.55 0.02 60);
  47. --color-taupe-light: oklch(0.75 0.02 60);
  48. --color-cream: oklch(0.97 0.01 90);
  49. --color-cream-dark: oklch(0.93 0.01 90);
  50. --color-terracotta: oklch(0.55 0.15 35);
  51. --color-terracotta-light: oklch(0.65 0.12 35);
  52. --color-linen: oklch(0.95 0.008 80);
  53. }
  54. :root {
  55. --primary: oklch(0.30 0.07 155);
  56. --primary-foreground: oklch(0.97 0.01 90);
  57. --sidebar-primary: oklch(0.30 0.07 155);
  58. --sidebar-primary-foreground: oklch(0.97 0.01 90);
  59. --chart-1: oklch(0.30 0.07 155);
  60. --chart-2: oklch(0.55 0.15 35);
  61. --chart-3: oklch(0.55 0.02 60);
  62. --chart-4: oklch(0.40 0.07 155);
  63. --chart-5: oklch(0.65 0.12 35);
  64. --radius: 0.5rem;
  65. --background: oklch(0.97 0.01 90);
  66. --foreground: oklch(0.22 0.02 60);
  67. --card: oklch(0.99 0.005 90);
  68. --card-foreground: oklch(0.22 0.02 60);
  69. --popover: oklch(0.99 0.005 90);
  70. --popover-foreground: oklch(0.22 0.02 60);
  71. --secondary: oklch(0.95 0.008 80);
  72. --secondary-foreground: oklch(0.35 0.02 60);
  73. --muted: oklch(0.93 0.01 90);
  74. --muted-foreground: oklch(0.50 0.02 60);
  75. --accent: oklch(0.93 0.01 90);
  76. --accent-foreground: oklch(0.22 0.02 60);
  77. --destructive: oklch(0.55 0.15 35);
  78. --destructive-foreground: oklch(0.97 0.01 90);
  79. --border: oklch(0.88 0.01 80);
  80. --input: oklch(0.88 0.01 80);
  81. --ring: oklch(0.30 0.07 155);
  82. --sidebar: oklch(0.97 0.01 90);
  83. --sidebar-foreground: oklch(0.22 0.02 60);
  84. --sidebar-accent: oklch(0.93 0.01 90);
  85. --sidebar-accent-foreground: oklch(0.22 0.02 60);
  86. --sidebar-border: oklch(0.88 0.01 80);
  87. --sidebar-ring: oklch(0.30 0.07 155);
  88. }
  89. @layer base {
  90. * {
  91. @apply border-border outline-ring/50;
  92. }
  93. body {
  94. @apply bg-background text-foreground;
  95. font-family: 'Source Sans 3', system-ui, sans-serif;
  96. font-size: 17px;
  97. line-height: 1.75;
  98. }
  99. h1, h2, h3, h4, h5, h6 {
  100. font-family: 'Playfair Display', Georgia, serif;
  101. }
  102. code, pre {
  103. font-family: 'Fira Code', monospace;
  104. }
  105. button:not(:disabled),
  106. [role="button"]:not([aria-disabled="true"]),
  107. [type="button"]:not(:disabled),
  108. [type="submit"]:not(:disabled),
  109. [type="reset"]:not(:disabled),
  110. a[href],
  111. select:not(:disabled),
  112. input[type="checkbox"]:not(:disabled),
  113. input[type="radio"]:not(:disabled) {
  114. @apply cursor-pointer;
  115. }
  116. }
  117. @layer components {
  118. .container {
  119. width: 100%;
  120. margin-left: auto;
  121. margin-right: auto;
  122. padding-left: 1rem;
  123. padding-right: 1rem;
  124. }
  125. .flex {
  126. min-height: 0;
  127. min-width: 0;
  128. }
  129. @media (min-width: 640px) {
  130. .container {
  131. padding-left: 1.5rem;
  132. padding-right: 1.5rem;
  133. }
  134. }
  135. @media (min-width: 1024px) {
  136. .container {
  137. padding-left: 2rem;
  138. padding-right: 2rem;
  139. max-width: 1280px;
  140. }
  141. }
  142. }