Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

tailwind.css 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @layer base {
  5. :root {
  6. --background: 0 0% 100%;
  7. --foreground: 222.2 47.4% 11.2%;
  8. --muted: 210 40% 96.1%;
  9. --muted-foreground: 215.4 16.3% 46.9%;
  10. --popover: 0 0% 100%;
  11. --popover-foreground: 222.2 47.4% 11.2%;
  12. --border: 214.3 31.8% 91.4%;
  13. --input: 214.3 31.8% 91.4%;
  14. --card: 0 0% 100%;
  15. --card-foreground: 222.2 47.4% 11.2%;
  16. --primary: 222.2 47.4% 11.2%;
  17. --primary-foreground: 210 40% 98%;
  18. --secondary: 210 40% 96.1%;
  19. --secondary-foreground: 222.2 47.4% 11.2%;
  20. --accent: 210 40% 96.1%;
  21. --accent-foreground: 222.2 47.4% 11.2%;
  22. --destructive: 0 100% 50%;
  23. --destructive-foreground: 210 40% 98%;
  24. --ring: 215 20.2% 65.1%;
  25. --radius: 0.5rem;
  26. --background-inverse-standard: rgba(230, 227, 246, 0.15);
  27. --background-inverse-standard-foreground: rgb(92, 81, 81);
  28. --colors-background-inverse-standard: rgba(29, 26, 44, 0.1);
  29. --colors-background-inverse-strong: rgba(11, 10, 18, 0.8);
  30. --colors-background-inverse-weak: rgba(17, 16, 23, 0.1);
  31. --colors-background-neutral-standard: white;
  32. --colors-background-neutral-strong: rgba(226, 223, 246, 1);
  33. --colors-background-functional-solid-danger: rgba(222, 17, 53, 1);
  34. --colors-background-core-strong: rgba(98, 72, 246, 1);
  35. --colors-background-sentiment-solid-primary: rgba(127, 105, 255, 1);
  36. --colors-background-core-standard: rgb(90, 75, 254);
  37. --button-blue-text: rgb(22, 119, 255);
  38. --colors-outline-sentiment-primary: rgba(127, 105, 255, 1);
  39. --colors-outline-neutral-strong: rgba(112, 107, 107, 0.15);
  40. --colors-outline-neutral-standard: rgba(53, 51, 65, 0.1);
  41. --colors-text-core-standard: rgba(127, 105, 255, 1);
  42. --colors-text-neutral-strong: rgba(17, 16, 23, 1);
  43. --colors-text-neutral-standard: rgba(152, 148, 176, 1);
  44. --colors-text-neutral-weak: rgba(170, 160, 197, 1);
  45. --colors-text-functional-danger: rgba(255, 81, 81, 1);
  46. --colors-text-inverse-strong: rgba(255, 255, 255, 1);
  47. --colors-text-persist-light: rgba(255, 255, 255, 1);
  48. --colors-text-inverse-weak: rgba(184, 181, 203, 1);
  49. --sidebar-background: 0 0% 98%;
  50. --sidebar-foreground: 240 5.3% 26.1%;
  51. --sidebar-primary: 240 5.9% 10%;
  52. --sidebar-primary-foreground: 0 0% 98%;
  53. --sidebar-accent: 240 4.8% 95.9%;
  54. --sidebar-accent-foreground: 240 5.9% 10%;
  55. --sidebar-border: 220 13% 91%;
  56. --sidebar-ring: 217.2 91.2% 59.8%;
  57. --background-inverse-strong: rgba(255, 255, 255, 0.15);
  58. --background-badge: rgba(22, 22, 24, 0.5);
  59. --text-badge: rgba(151, 154, 171, 1);
  60. --text-title: rgba(22, 22, 24, 1);
  61. --text-sub-title: rgba(151, 154, 171, 1);
  62. --text-sub-title-invert: rgba(91, 93, 106, 1);
  63. --background-header-bar: rgba(0, 0, 0, 0.05);
  64. --text-title-invert: rgba(255, 255, 255, 1);
  65. --background-card: rgba(22, 22, 24, 0.05);
  66. --background-note: rgba(22, 22, 24, 0.1);
  67. --background-highlight: rgba(76, 164, 231, 0.1);
  68. --input-border: rgba(22, 22, 24, 0.2);
  69. /* design colors */
  70. --bg-base: #f6f6f7;
  71. /* card color , dividing line */
  72. --bg-card: rgba(0, 0, 0, 0.05);
  73. /* Button ,Body text, Input completed text */
  74. --text-primary: #161618;
  75. --text-secondary: #75787a;
  76. --text-disabled: #b2b5b7;
  77. /* input placeholder color */
  78. --text-input-tip: #b2b5b7;
  79. /* Input default color */
  80. --border-default: rgba(0, 0, 0, 0.2);
  81. /* Input accent color */
  82. --border-accent: #000000;
  83. --border-button: rgba(0, 0, 0, 0.1);
  84. /* Regulators, parsing, switches, variables */
  85. --accent-primary: #4ca4e7;
  86. /* Output Variables Box */
  87. --bg-accent: rgba(76, 164, 231, 0.05);
  88. --state-success: #3ba05c;
  89. --state-warning: #faad14;
  90. --state-error: #d8494b;
  91. --team-group: #5ab77e;
  92. --team-member: #5c96c8;
  93. --team-department: #8866d3;
  94. --bg-group: rgba(90, 183, 126, 0.1);
  95. --bg-member: rgba(92, 150, 200, 0.1);
  96. --bg-department: rgba(136, 102, 211, 0.1);
  97. }
  98. .dark {
  99. --background: rgba(11, 10, 18, 1);
  100. --foreground: 213 31% 91%;
  101. --muted: 223 47% 11%;
  102. --muted-foreground: 215.4 16.3% 56.9%;
  103. --accent: 216 34% 17%;
  104. --accent-foreground: 210 40% 98%;
  105. --popover: 224 71% 4%;
  106. --popover-foreground: 215 20.2% 65.1%;
  107. --border: 216 34% 17%;
  108. --input: 216 34% 17%;
  109. --card: 224 71% 4%;
  110. --card-foreground: 213 31% 91%;
  111. --primary: 210 40% 98%;
  112. --primary-foreground: 222.2 47.4% 1.2%;
  113. --secondary: 222.2 47.4% 11.2%;
  114. --secondary-foreground: 210 40% 98%;
  115. --destructive: 0 63% 31%;
  116. --destructive-foreground: 210 40% 98%;
  117. --ring: 216 34% 17%;
  118. --radius: 0.5rem;
  119. --background-inverse-standard: rgba(230, 227, 246, 0.15);
  120. --background-inverse-standard-foreground: rgba(255, 255, 255, 1);
  121. --background-inverse-weak: rgba(184, 181, 203, 0.15);
  122. --background-inverse-weak-foreground: rgba(255, 255, 255, 1);
  123. --background-core-standard: rgba(137, 126, 255, 1);
  124. --background-core-standard-foreground: rgba(255, 255, 255, 1);
  125. --background-inverse-strong: rgba(255, 255, 255, 0.15);
  126. --background-inverse-strong-foreground: rgba(255, 255, 255, 1);
  127. --background-core-weak: rgb(101, 75, 248);
  128. --background-core-weak-foreground: rgba(255, 255, 255, 1);
  129. --background-badge: rgba(22, 22, 24, 0.5);
  130. --text-badge: rgba(151, 154, 171, 1);
  131. --colors-background-core-standard: rgba(137, 126, 255, 1);
  132. --colors-background-core-strong: rgba(152, 147, 255, 1);
  133. --colors-background-core-weak: rgba(101, 75, 248, 1);
  134. --colors-background-functional-solid-danger: rgba(255, 57, 92, 1);
  135. --colors-background-functional-solid-notice: rgba(255, 208, 94, 1);
  136. --colors-background-functional-solid-positive: rgba(74, 225, 145, 1);
  137. --colors-background-functional-transparent-danger: rgba(234, 50, 83, 0.2);
  138. --colors-background-functional-transparent-notice: rgba(248, 208, 111, 0.5);
  139. --colors-background-functional-transparent-positive: rgba(
  140. 65,
  141. 203,
  142. 130,
  143. 0.5
  144. );
  145. --colors-background-inverse-standard: rgba(230, 227, 246, 0.15);
  146. --colors-background-inverse-strong: rgba(255, 255, 255, 0.8);
  147. --colors-background-neutral-standard: rgba(11, 10, 18, 1);
  148. --colors-background-neutral-strong: rgba(29, 26, 44, 1);
  149. --colors-background-neutral-weak: rgba(17, 16, 23, 1);
  150. --colors-background-sentiment-solid-primary: rgba(146, 118, 255, 1);
  151. --colors-outline-sentiment-primary: rgba(146, 118, 255, 1);
  152. --colors-outline-neutral-strong: rgba(255, 255, 255, 0.15);
  153. --colors-outline-neutral-standard: rgba(230, 227, 246, 0.1);
  154. --colors-text-core-standard: rgba(137, 126, 255, 1);
  155. --colors-text-neutral-strong: rgba(255, 255, 255, 1);
  156. --colors-text-neutral-standard: rgba(230, 227, 246, 1);
  157. --colors-text-neutral-weak: rgba(170, 160, 197, 1);
  158. --colors-text-functional-danger: rgba(255, 81, 81, 1);
  159. --colors-text-inverse-strong: rgba(17, 16, 23, 1);
  160. --colors-text-persist-light: rgba(255, 255, 255, 1);
  161. --colors-text-inverse-weak: rgba(84, 80, 106, 1);
  162. --sidebar-background: 240 5.9% 10%;
  163. --sidebar-foreground: 240 4.8% 95.9%;
  164. --sidebar-primary: 224.3 76.3% 48%;
  165. --sidebar-primary-foreground: 0 0% 100%;
  166. --sidebar-accent: 240 3.7% 15.9%;
  167. --sidebar-accent-foreground: 240 4.8% 95.9%;
  168. --sidebar-border: 240 3.7% 15.9%;
  169. --sidebar-ring: 217.2 91.2% 59.8%;
  170. --text-title: rgba(255, 255, 255, 1);
  171. --text-sub-title: rgba(91, 93, 106, 1);
  172. --text-sub-title-invert: rgba(151, 154, 171, 1);
  173. --background-header-bar: rgba(11, 11, 12, 1);
  174. --text-title-invert: rgba(22, 22, 24, 1);
  175. --background-card: rgba(255, 255, 255, 0.05);
  176. --background-note: rgba(255, 255, 255, 0.05);
  177. --background-highlight: rgba(76, 164, 231, 0.1);
  178. --input-border: rgba(255, 255, 255, 0.2);
  179. /* design colors */
  180. --bg-base: #161618;
  181. --bg-card: rgba(255, 255, 255, 0.05);
  182. --text-primary: #f6f6f7;
  183. --text-secondary: #b2b5b7;
  184. --text-disabled: #75787a;
  185. --text-input-tip: #75787a;
  186. --border-default: rgba(255, 255, 255, 0.2);
  187. --border-accent: #ffffff;
  188. --border-button: rgba(255, 255, 255, 0.1);
  189. }
  190. }
  191. @layer base {
  192. * {
  193. @apply border-border;
  194. }
  195. body {
  196. @apply bg-bg-base text-text-primary;
  197. font-feature-settings:
  198. 'rlig' 1,
  199. 'calt' 1;
  200. }
  201. /* https://tailwindcss.com/docs/preflight */
  202. h1 {
  203. @apply text-2xl font-bold;
  204. }
  205. h2 {
  206. @apply text-xl font-semibold;
  207. }
  208. h3 {
  209. @apply text-lg font-medium;
  210. }
  211. h4 {
  212. @apply text-base font-normal;
  213. }
  214. img,
  215. video {
  216. max-width: none;
  217. }
  218. }
  219. @layer utilities {
  220. .scrollbar-auto {
  221. /* hide scrollbar */
  222. scrollbar-width: none;
  223. scrollbar-color: transparent transparent;
  224. }
  225. .scrollbar-auto::-webkit-scrollbar {
  226. width: 6px;
  227. height: 6px;
  228. }
  229. .scrollbar-auto::-webkit-scrollbar-track {
  230. background: transparent;
  231. }
  232. .scrollbar-auto::-webkit-scrollbar-thumb {
  233. background-color: transparent;
  234. border-radius: 3px;
  235. transition: background-color 0.2s ease;
  236. }
  237. .scrollbar-auto:hover::-webkit-scrollbar-thumb,
  238. .scrollbar-auto:focus::-webkit-scrollbar-thumb,
  239. .scrollbar-auto:active::-webkit-scrollbar-thumb {
  240. background-color: rgba(0, 0, 0, 0.3);
  241. }
  242. .dark .scrollbar-auto:hover::-webkit-scrollbar-thumb,
  243. .dark .scrollbar-auto:focus::-webkit-scrollbar-thumb,
  244. .dark .scrollbar-auto:active::-webkit-scrollbar-thumb {
  245. background-color: rgba(255, 255, 255, 0.3);
  246. }
  247. }