tailwind.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. body {
  5. @apply !text-neutral-content !bg-neutral-background;
  6. }
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6 {
  13. font-weight: 500;
  14. margin: 0;
  15. color: inherit !important;
  16. }
  17. h1 {
  18. font-size: 2em;
  19. }
  20. h2 {
  21. font-size: 1.5em;
  22. }
  23. h3 {
  24. font-size: 1.17em;
  25. }
  26. h4 {
  27. font-size: 1em;
  28. }
  29. h5 {
  30. font-size: 0.83em;
  31. }
  32. h6 {
  33. font-size: 0.67em;
  34. }
  35. a {
  36. @apply text-primary-content;
  37. }
  38. a:hover {
  39. @apply text-primary-content-hover;
  40. }
  41. /* third-party libraries CSS */
  42. @layer base {
  43. :root {
  44. --background: 0 0% 100%;
  45. --foreground: 222.2 84% 4.9%;
  46. --card: 0 0% 100%;
  47. --card-foreground: 222.2 84% 4.9%;
  48. --popover: 0 0% 100%;
  49. --popover-foreground: 222.2 84% 4.9%;
  50. --primary: 228 38% 48%;
  51. --primary-foreground: 210 40% 98%;
  52. --secondary: 210 40% 96.1%;
  53. --secondary-foreground: 222.2 47.4% 11.2%;
  54. --muted: 210 40% 96.1%;
  55. --muted-foreground: 215.4 16.3% 46.9%;
  56. --accent: 210 40% 96.1%;
  57. --accent-foreground: 222.2 47.4% 11.2%;
  58. --destructive: 0 84.2% 60.2%;
  59. --destructive-foreground: 210 40% 98%;
  60. --border: 228 38% 35%;
  61. --input: 214.3 31.8% 91.4%;
  62. --ring: 221.2 83.2% 53.3%;
  63. --radius: 0.5rem;
  64. --chart-1: 12 76% 61%;
  65. --chart-2: 173 58% 39%;
  66. --chart-3: 197 37% 24%;
  67. --chart-4: 43 74% 66%;
  68. --chart-5: 27 87% 67%;
  69. }
  70. .dark {
  71. --background: 222.2 84% 4.9%;
  72. --foreground: 210 40% 98%;
  73. --card: 222.2 84% 4.9%;
  74. --card-foreground: 210 40% 98%;
  75. --popover: 222.2 84% 4.9%;
  76. --popover-foreground: 210 40% 98%;
  77. --primary: 217.2 91.2% 59.8%;
  78. --primary-foreground: 222.2 47.4% 11.2%;
  79. --secondary: 217.2 32.6% 17.5%;
  80. --secondary-foreground: 210 40% 98%;
  81. --muted: 217.2 32.6% 17.5%;
  82. --muted-foreground: 215 20.2% 65.1%;
  83. --accent: 217.2 32.6% 17.5%;
  84. --accent-foreground: 210 40% 98%;
  85. --destructive: 0 62.8% 30.6%;
  86. --destructive-foreground: 210 40% 98%;
  87. --border: 217.2 32.6% 17.5%;
  88. --input: 217.2 32.6% 17.5%;
  89. --ring: 224.3 76.3% 48%;
  90. --chart-1: 220 70% 50%;
  91. --chart-2: 160 60% 45%;
  92. --chart-3: 30 80% 55%;
  93. --chart-4: 280 65% 60%;
  94. --chart-5: 340 75% 55%;
  95. }
  96. }
  97. @layer utilities {
  98. .text-shadow-button {
  99. text-shadow: 0 1px 1px rgb(var(--color-neutral-shadow-raw) / 15%);
  100. }
  101. .pointer-events-all {
  102. pointer-events: all;
  103. }
  104. }
  105. * {
  106. scrollbar-color: var(--color-neutral-border) var(--color-neutral-background);
  107. scrollbar-width: thin;
  108. }
  109. *::-webkit-scrollbar {
  110. width: 4px;
  111. height: 4px;
  112. background-color: var(--color-neutral-surface);
  113. }
  114. *::-webkit-scrollbar-thumb {
  115. background: var(--color-neutral-border-boldest);
  116. }