選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

tailwind.css 9.6KB

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