blodemd 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/dist/cli.mjs +50 -174
  2. package/dist/cli.mjs.map +1 -1
  3. package/package.json +3 -36
  4. package/dev-server/app/[[...slug]]/page.tsx +0 -140
  5. package/dev-server/app/blodemd-dev/invalidate/route.ts +0 -12
  6. package/dev-server/app/blodemd-dev/static/[...path]/route.ts +0 -32
  7. package/dev-server/app/blodemd-dev/version/route.ts +0 -14
  8. package/dev-server/app/blodemd-internal/proxy/route.ts +0 -86
  9. package/dev-server/app/error.tsx +0 -24
  10. package/dev-server/app/favicon.ico +0 -0
  11. package/dev-server/app/globals.css +0 -4
  12. package/dev-server/app/layout.tsx +0 -38
  13. package/dev-server/app/not-found.tsx +0 -18
  14. package/dev-server/app/search/route.ts +0 -17
  15. package/dev-server/components/dev-reload-script.tsx +0 -86
  16. package/dev-server/components/providers.tsx +0 -15
  17. package/dev-server/lib/dev-state.ts +0 -8
  18. package/dev-server/lib/local-content-source.ts +0 -103
  19. package/dev-server/lib/local-runtime.tsx +0 -555
  20. package/dev-server/next-env.d.ts +0 -5
  21. package/dev-server/next.config.js +0 -54
  22. package/dev-server/package.json +0 -61
  23. package/dev-server/postcss.config.mjs +0 -7
  24. package/dev-server/public/glide-variable.woff2 +0 -0
  25. package/dev-server/tsconfig.json +0 -50
  26. package/docs/app/globals.css +0 -471
  27. package/docs/components/animate-ui/primitives/buttons/button.tsx +0 -14
  28. package/docs/components/api/api-playground.tsx +0 -467
  29. package/docs/components/api/api-reference.tsx +0 -157
  30. package/docs/components/content/collection-index.tsx +0 -114
  31. package/docs/components/docs/contextual-menu.tsx +0 -495
  32. package/docs/components/docs/copy-page-menu.tsx +0 -364
  33. package/docs/components/docs/doc-header.tsx +0 -223
  34. package/docs/components/docs/doc-shell.tsx +0 -355
  35. package/docs/components/docs/doc-sidebar.tsx +0 -256
  36. package/docs/components/docs/doc-toc.tsx +0 -46
  37. package/docs/components/docs/mobile-nav.tsx +0 -195
  38. package/docs/components/docs/sidebar-active-highlight.tsx +0 -34
  39. package/docs/components/docs/sidebar-scroll-area.tsx +0 -63
  40. package/docs/components/git/repo-picker.tsx +0 -529
  41. package/docs/components/icons/doc-icon.tsx +0 -96
  42. package/docs/components/mdx/accordion.tsx +0 -83
  43. package/docs/components/mdx/agent-instructions.tsx +0 -17
  44. package/docs/components/mdx/badge.tsx +0 -79
  45. package/docs/components/mdx/callout.tsx +0 -88
  46. package/docs/components/mdx/card.tsx +0 -110
  47. package/docs/components/mdx/code-block.tsx +0 -80
  48. package/docs/components/mdx/code-group.tsx +0 -203
  49. package/docs/components/mdx/color.tsx +0 -87
  50. package/docs/components/mdx/columns.tsx +0 -25
  51. package/docs/components/mdx/expandable.tsx +0 -45
  52. package/docs/components/mdx/field-layout.tsx +0 -77
  53. package/docs/components/mdx/frame.tsx +0 -23
  54. package/docs/components/mdx/get-text-content.ts +0 -18
  55. package/docs/components/mdx/icon.tsx +0 -12
  56. package/docs/components/mdx/iframe.tsx +0 -62
  57. package/docs/components/mdx/index.tsx +0 -121
  58. package/docs/components/mdx/installer.tsx +0 -20
  59. package/docs/components/mdx/panel.tsx +0 -11
  60. package/docs/components/mdx/param-field.tsx +0 -56
  61. package/docs/components/mdx/preview.tsx +0 -36
  62. package/docs/components/mdx/prompt.tsx +0 -63
  63. package/docs/components/mdx/request-example.tsx +0 -27
  64. package/docs/components/mdx/response-field.tsx +0 -42
  65. package/docs/components/mdx/steps.tsx +0 -92
  66. package/docs/components/mdx/tabs.tsx +0 -193
  67. package/docs/components/mdx/tile.tsx +0 -43
  68. package/docs/components/mdx/tooltip.tsx +0 -71
  69. package/docs/components/mdx/tree.tsx +0 -120
  70. package/docs/components/mdx/type-table.tsx +0 -71
  71. package/docs/components/mdx/update.tsx +0 -44
  72. package/docs/components/mdx/video.tsx +0 -45
  73. package/docs/components/mdx/view.tsx +0 -66
  74. package/docs/components/posthog-provider.tsx +0 -42
  75. package/docs/components/providers.tsx +0 -15
  76. package/docs/components/tenant-analytics.tsx +0 -49
  77. package/docs/components/third-parties.tsx +0 -32
  78. package/docs/components/ui/badge.tsx +0 -61
  79. package/docs/components/ui/breadcrumb.tsx +0 -112
  80. package/docs/components/ui/button-group.tsx +0 -83
  81. package/docs/components/ui/button.tsx +0 -65
  82. package/docs/components/ui/card.tsx +0 -92
  83. package/docs/components/ui/command.tsx +0 -167
  84. package/docs/components/ui/copy-button.tsx +0 -129
  85. package/docs/components/ui/dialog.tsx +0 -146
  86. package/docs/components/ui/field.tsx +0 -237
  87. package/docs/components/ui/input.tsx +0 -23
  88. package/docs/components/ui/kbd.tsx +0 -98
  89. package/docs/components/ui/label.tsx +0 -22
  90. package/docs/components/ui/morph-icon.tsx +0 -79
  91. package/docs/components/ui/popover.tsx +0 -267
  92. package/docs/components/ui/search-dialog.tsx +0 -431
  93. package/docs/components/ui/search.tsx +0 -101
  94. package/docs/components/ui/separator.tsx +0 -26
  95. package/docs/components/ui/sheet.tsx +0 -133
  96. package/docs/components/ui/sidebar.tsx +0 -758
  97. package/docs/components/ui/skeleton.tsx +0 -11
  98. package/docs/components/ui/switch.tsx +0 -32
  99. package/docs/components/ui/tabs.tsx +0 -138
  100. package/docs/components/ui/theme-toggle.tsx +0 -62
  101. package/docs/components/ui/tooltip.tsx +0 -53
  102. package/docs/components/web-mcp.tsx +0 -115
  103. package/docs/lib/agent-skills.ts +0 -48
  104. package/docs/lib/api-client.ts +0 -72
  105. package/docs/lib/config.ts +0 -6
  106. package/docs/lib/content-root.ts +0 -33
  107. package/docs/lib/content-source.ts +0 -70
  108. package/docs/lib/contextual-options.ts +0 -222
  109. package/docs/lib/dashboard-session.ts +0 -167
  110. package/docs/lib/db.ts +0 -13
  111. package/docs/lib/docs-collection.ts +0 -7
  112. package/docs/lib/docs-runtime.tsx +0 -745
  113. package/docs/lib/edge-config.ts +0 -95
  114. package/docs/lib/env.ts +0 -23
  115. package/docs/lib/etag.ts +0 -22
  116. package/docs/lib/github-install.ts +0 -33
  117. package/docs/lib/llms-full.ts +0 -82
  118. package/docs/lib/marketing-markdown.ts +0 -79
  119. package/docs/lib/marketing-site.ts +0 -31
  120. package/docs/lib/mdx.ts +0 -98
  121. package/docs/lib/navigation.ts +0 -288
  122. package/docs/lib/openapi-proxy.ts +0 -88
  123. package/docs/lib/openapi.ts +0 -158
  124. package/docs/lib/platform-config.ts +0 -6
  125. package/docs/lib/project-authz.ts +0 -46
  126. package/docs/lib/routes.ts +0 -103
  127. package/docs/lib/server-cache.ts +0 -83
  128. package/docs/lib/shiki.ts +0 -44
  129. package/docs/lib/supabase.ts +0 -37
  130. package/docs/lib/tenancy.ts +0 -364
  131. package/docs/lib/tenant-headers.ts +0 -43
  132. package/docs/lib/tenant-static.ts +0 -705
  133. package/docs/lib/tenant-utility-context.ts +0 -62
  134. package/docs/lib/tenants.ts +0 -72
  135. package/docs/lib/theme.ts +0 -29
  136. package/docs/lib/time-ago.ts +0 -24
  137. package/docs/lib/toc.ts +0 -2
  138. package/docs/lib/use-mobile.ts +0 -19
  139. package/docs/lib/use-tab-observer.ts +0 -71
  140. package/docs/lib/utils.ts +0 -5
  141. package/packages/@repo/common/dist/index.d.ts +0 -16
  142. package/packages/@repo/common/dist/index.d.ts.map +0 -1
  143. package/packages/@repo/common/dist/index.js +0 -84
  144. package/packages/@repo/common/package.json +0 -34
  145. package/packages/@repo/common/src/index.ts +0 -101
  146. package/packages/@repo/contracts/dist/analytics.d.ts +0 -21
  147. package/packages/@repo/contracts/dist/analytics.d.ts.map +0 -1
  148. package/packages/@repo/contracts/dist/analytics.js +0 -18
  149. package/packages/@repo/contracts/dist/api-key.d.ts +0 -27
  150. package/packages/@repo/contracts/dist/api-key.d.ts.map +0 -1
  151. package/packages/@repo/contracts/dist/api-key.js +0 -20
  152. package/packages/@repo/contracts/dist/dates.d.ts +0 -4
  153. package/packages/@repo/contracts/dist/dates.d.ts.map +0 -1
  154. package/packages/@repo/contracts/dist/dates.js +0 -2
  155. package/packages/@repo/contracts/dist/deployment.d.ts +0 -71
  156. package/packages/@repo/contracts/dist/deployment.d.ts.map +0 -1
  157. package/packages/@repo/contracts/dist/deployment.js +0 -46
  158. package/packages/@repo/contracts/dist/domain.d.ts +0 -94
  159. package/packages/@repo/contracts/dist/domain.d.ts.map +0 -1
  160. package/packages/@repo/contracts/dist/domain.js +0 -36
  161. package/packages/@repo/contracts/dist/git.d.ts +0 -28
  162. package/packages/@repo/contracts/dist/git.d.ts.map +0 -1
  163. package/packages/@repo/contracts/dist/git.js +0 -24
  164. package/packages/@repo/contracts/dist/ids.d.ts +0 -14
  165. package/packages/@repo/contracts/dist/ids.d.ts.map +0 -1
  166. package/packages/@repo/contracts/dist/ids.js +0 -11
  167. package/packages/@repo/contracts/dist/index.d.ts +0 -12
  168. package/packages/@repo/contracts/dist/index.d.ts.map +0 -1
  169. package/packages/@repo/contracts/dist/index.js +0 -13
  170. package/packages/@repo/contracts/dist/pagination.d.ts +0 -23
  171. package/packages/@repo/contracts/dist/pagination.d.ts.map +0 -1
  172. package/packages/@repo/contracts/dist/pagination.js +0 -15
  173. package/packages/@repo/contracts/dist/project.d.ts +0 -42
  174. package/packages/@repo/contracts/dist/project.d.ts.map +0 -1
  175. package/packages/@repo/contracts/dist/project.js +0 -25
  176. package/packages/@repo/contracts/dist/tenant.d.ts +0 -147
  177. package/packages/@repo/contracts/dist/tenant.d.ts.map +0 -1
  178. package/packages/@repo/contracts/dist/tenant.js +0 -58
  179. package/packages/@repo/contracts/dist/user.d.ts +0 -9
  180. package/packages/@repo/contracts/dist/user.d.ts.map +0 -1
  181. package/packages/@repo/contracts/dist/user.js +0 -9
  182. package/packages/@repo/contracts/package.json +0 -37
  183. package/packages/@repo/contracts/src/analytics.ts +0 -33
  184. package/packages/@repo/contracts/src/api-key.ts +0 -27
  185. package/packages/@repo/contracts/src/dates.ts +0 -4
  186. package/packages/@repo/contracts/src/deployment.ts +0 -73
  187. package/packages/@repo/contracts/src/domain.ts +0 -51
  188. package/packages/@repo/contracts/src/git.ts +0 -31
  189. package/packages/@repo/contracts/src/ids.ts +0 -23
  190. package/packages/@repo/contracts/src/index.ts +0 -13
  191. package/packages/@repo/contracts/src/pagination.ts +0 -21
  192. package/packages/@repo/contracts/src/project.ts +0 -32
  193. package/packages/@repo/contracts/src/tenant.ts +0 -94
  194. package/packages/@repo/contracts/src/user.ts +0 -12
  195. package/packages/@repo/models/dist/docs-config.d.ts +0 -961
  196. package/packages/@repo/models/dist/docs-config.d.ts.map +0 -1
  197. package/packages/@repo/models/dist/docs-config.js +0 -531
  198. package/packages/@repo/models/dist/index.d.ts +0 -3
  199. package/packages/@repo/models/dist/index.d.ts.map +0 -1
  200. package/packages/@repo/models/dist/index.js +0 -3
  201. package/packages/@repo/models/dist/tenant.d.ts +0 -37
  202. package/packages/@repo/models/dist/tenant.d.ts.map +0 -1
  203. package/packages/@repo/models/dist/tenant.js +0 -1
  204. package/packages/@repo/models/package.json +0 -37
  205. package/packages/@repo/models/src/docs-config.ts +0 -629
  206. package/packages/@repo/models/src/index.ts +0 -3
  207. package/packages/@repo/models/src/tenant.ts +0 -44
  208. package/packages/@repo/prebuild/dist/index.d.ts +0 -2
  209. package/packages/@repo/prebuild/dist/index.d.ts.map +0 -1
  210. package/packages/@repo/prebuild/dist/index.js +0 -2
  211. package/packages/@repo/prebuild/dist/openapi.d.ts +0 -43
  212. package/packages/@repo/prebuild/dist/openapi.d.ts.map +0 -1
  213. package/packages/@repo/prebuild/dist/openapi.js +0 -86
  214. package/packages/@repo/prebuild/package.json +0 -39
  215. package/packages/@repo/prebuild/src/index.ts +0 -2
  216. package/packages/@repo/prebuild/src/openapi.ts +0 -154
  217. package/packages/@repo/previewing/dist/blob-source.d.ts +0 -16
  218. package/packages/@repo/previewing/dist/blob-source.d.ts.map +0 -1
  219. package/packages/@repo/previewing/dist/blob-source.js +0 -128
  220. package/packages/@repo/previewing/dist/config-loader.d.ts +0 -134
  221. package/packages/@repo/previewing/dist/config-loader.d.ts.map +0 -1
  222. package/packages/@repo/previewing/dist/config-loader.js +0 -231
  223. package/packages/@repo/previewing/dist/constants.d.ts +0 -15
  224. package/packages/@repo/previewing/dist/constants.d.ts.map +0 -1
  225. package/packages/@repo/previewing/dist/constants.js +0 -14
  226. package/packages/@repo/previewing/dist/content-index.d.ts +0 -7
  227. package/packages/@repo/previewing/dist/content-index.d.ts.map +0 -1
  228. package/packages/@repo/previewing/dist/content-index.js +0 -291
  229. package/packages/@repo/previewing/dist/content-source.d.ts +0 -12
  230. package/packages/@repo/previewing/dist/content-source.d.ts.map +0 -1
  231. package/packages/@repo/previewing/dist/content-source.js +0 -1
  232. package/packages/@repo/previewing/dist/fs-source.d.ts +0 -11
  233. package/packages/@repo/previewing/dist/fs-source.d.ts.map +0 -1
  234. package/packages/@repo/previewing/dist/fs-source.js +0 -71
  235. package/packages/@repo/previewing/dist/index.d.ts +0 -16
  236. package/packages/@repo/previewing/dist/index.d.ts.map +0 -1
  237. package/packages/@repo/previewing/dist/index.js +0 -13
  238. package/packages/@repo/previewing/dist/markdown/agent-markdown.d.ts +0 -3
  239. package/packages/@repo/previewing/dist/markdown/agent-markdown.d.ts.map +0 -1
  240. package/packages/@repo/previewing/dist/markdown/agent-markdown.js +0 -176
  241. package/packages/@repo/previewing/dist/markdown/format.d.ts +0 -8
  242. package/packages/@repo/previewing/dist/markdown/format.d.ts.map +0 -1
  243. package/packages/@repo/previewing/dist/markdown/format.js +0 -43
  244. package/packages/@repo/previewing/dist/markdown/links.d.ts +0 -3
  245. package/packages/@repo/previewing/dist/markdown/links.d.ts.map +0 -1
  246. package/packages/@repo/previewing/dist/markdown/links.js +0 -31
  247. package/packages/@repo/previewing/dist/openapi-pages.d.ts +0 -7
  248. package/packages/@repo/previewing/dist/openapi-pages.d.ts.map +0 -1
  249. package/packages/@repo/previewing/dist/openapi-pages.js +0 -200
  250. package/packages/@repo/previewing/dist/search-index.d.ts +0 -4
  251. package/packages/@repo/previewing/dist/search-index.d.ts.map +0 -1
  252. package/packages/@repo/previewing/dist/search-index.js +0 -23
  253. package/packages/@repo/previewing/dist/serialization.d.ts +0 -13
  254. package/packages/@repo/previewing/dist/serialization.d.ts.map +0 -1
  255. package/packages/@repo/previewing/dist/serialization.js +0 -108
  256. package/packages/@repo/previewing/dist/toc-index.d.ts +0 -5
  257. package/packages/@repo/previewing/dist/toc-index.d.ts.map +0 -1
  258. package/packages/@repo/previewing/dist/toc-index.js +0 -53
  259. package/packages/@repo/previewing/dist/types.d.ts +0 -92
  260. package/packages/@repo/previewing/dist/types.d.ts.map +0 -1
  261. package/packages/@repo/previewing/dist/types.js +0 -1
  262. package/packages/@repo/previewing/dist/utility-index.d.ts +0 -7
  263. package/packages/@repo/previewing/dist/utility-index.d.ts.map +0 -1
  264. package/packages/@repo/previewing/dist/utility-index.js +0 -201
  265. package/packages/@repo/previewing/package.json +0 -41
  266. package/packages/@repo/previewing/src/blob-source.ts +0 -185
  267. package/packages/@repo/previewing/src/config-loader.ts +0 -316
  268. package/packages/@repo/previewing/src/constants.ts +0 -16
  269. package/packages/@repo/previewing/src/content-index.ts +0 -384
  270. package/packages/@repo/previewing/src/content-source.ts +0 -12
  271. package/packages/@repo/previewing/src/fs-source.ts +0 -103
  272. package/packages/@repo/previewing/src/index.ts +0 -71
  273. package/packages/@repo/previewing/src/markdown/agent-markdown.ts +0 -254
  274. package/packages/@repo/previewing/src/markdown/format.ts +0 -63
  275. package/packages/@repo/previewing/src/markdown/links.ts +0 -46
  276. package/packages/@repo/previewing/src/openapi-pages.ts +0 -319
  277. package/packages/@repo/previewing/src/search-index.ts +0 -38
  278. package/packages/@repo/previewing/src/serialization.ts +0 -191
  279. package/packages/@repo/previewing/src/toc-index.ts +0 -72
  280. package/packages/@repo/previewing/src/types.ts +0 -105
  281. package/packages/@repo/previewing/src/utility-index.ts +0 -304
  282. package/packages/@repo/validation/dist/index.d.ts +0 -12
  283. package/packages/@repo/validation/dist/index.d.ts.map +0 -1
  284. package/packages/@repo/validation/dist/index.js +0 -30
  285. package/packages/@repo/validation/package.json +0 -38
  286. package/packages/@repo/validation/src/blodemd-docs-schema.json +0 -3575
  287. package/packages/@repo/validation/src/index.ts +0 -59
  288. package/scripts/prepare-package.mjs +0 -53
  289. package/scripts/repo-packages.mjs +0 -8
@@ -1,50 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "declaration": true,
5
- "declarationMap": true,
6
- "esModuleInterop": true,
7
- "incremental": false,
8
- "isolatedModules": true,
9
- "jsx": "react-jsx",
10
- "lib": [
11
- "es2022",
12
- "DOM",
13
- "DOM.Iterable"
14
- ],
15
- "module": "ESNext",
16
- "moduleDetection": "force",
17
- "moduleResolution": "Bundler",
18
- "noEmit": true,
19
- "noUncheckedIndexedAccess": true,
20
- "paths": {
21
- "@/*": [
22
- "../docs/*"
23
- ],
24
- "@dev/*": [
25
- "./*"
26
- ]
27
- },
28
- "plugins": [
29
- {
30
- "name": "next"
31
- }
32
- ],
33
- "resolveJsonModule": true,
34
- "skipLibCheck": true,
35
- "strict": true,
36
- "strictNullChecks": true,
37
- "target": "ES2022"
38
- },
39
- "exclude": [
40
- "node_modules"
41
- ],
42
- "include": [
43
- "**/*.ts",
44
- "**/*.tsx",
45
- "next-env.d.ts",
46
- "next.config.js",
47
- ".next/types/**/*.ts",
48
- ".next/dev/types/**/*.ts"
49
- ]
50
- }
@@ -1,471 +0,0 @@
1
- @import "tailwindcss";
2
- @import "tw-animate-css";
3
- @import "shadcn/tailwind.css";
4
-
5
- @custom-variant dark (&:is(.dark *));
6
- @custom-variant fixed (&:is(.layout-fixed *));
7
-
8
- @theme inline {
9
- --breakpoint-3xl: 1600px;
10
- --breakpoint-4xl: 2000px;
11
- --font-sans: var(--font-glide), ui-sans-serif, system-ui, sans-serif;
12
- --font-mono:
13
- var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco,
14
- Consolas, monospace;
15
- --radius-sm: calc(var(--radius) - 4px);
16
- --radius-md: calc(var(--radius) - 2px);
17
- --radius-lg: var(--radius);
18
- --radius-xl: calc(var(--radius) + 4px);
19
- --radius-2xl: calc(var(--radius) + 8px);
20
- --radius-3xl: calc(var(--radius) + 12px);
21
- --radius-4xl: calc(var(--radius) + 16px);
22
- --shadow-soft: 0 15px 50px 0 rgba(27, 32, 50, 0.1);
23
- --shadow-input: 0 1px 2px 0 rgb(0 0 0 / 0.05);
24
- --shadow-popover:
25
- 0 24px 40px -12px oklch(0.255 0.078 116.06 / 0.08),
26
- 0 16px 28px -8px oklch(0.255 0.078 116.06 / 0.04),
27
- 0 4px 6px -2px oklch(0.255 0.078 116.06 / 0.04),
28
- 0 0 2px 0 oklch(0.255 0.078 116.06 / 0.04),
29
- 0 0 0 1px oklch(0.255 0.078 116.06 / 0.04);
30
- --shadow-xs:
31
- 0 0 0 1px rgba(51, 51, 51, 0.04), 0 4px 8px -2px rgba(51, 51, 51, 0.06),
32
- 0 2px 4px rgba(51, 51, 51, 0.04), 0 1px 2px rgba(51, 51, 51, 0.04),
33
- inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06);
34
- --shadow-sm:
35
- 0 0 0 1px rgba(51, 51, 51, 0.04), 0 16px 8px -8px rgba(51, 51, 51, 0.01),
36
- 0 12px 6px -6px rgba(51, 51, 51, 0.02),
37
- 0 5px 5px -2.5px rgba(51, 51, 51, 0.08),
38
- 0 1px 3px -1.5px rgba(51, 51, 51, 0.16),
39
- inset 0 -0.5px 0.5px rgba(51, 51, 51, 0.08);
40
- --shadow-md:
41
- 0 0 0 1px rgba(51, 51, 51, 0.04), 0 1px 1px 0.5px rgba(51, 51, 51, 0.04),
42
- 0 3px 3px -1.5px rgba(51, 51, 51, 0.02),
43
- 0 6px 6px -3px rgba(51, 51, 51, 0.04),
44
- 0 12px 12px -6px rgba(51, 51, 51, 0.04),
45
- 0 24px 24px -12px rgba(51, 51, 51, 0.04),
46
- 0 48px 48px -24px rgba(51, 51, 51, 0.04),
47
- inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06);
48
- --shadow-lg:
49
- 0 0 0 1px rgba(51, 51, 51, 0.04), 0 1px 1px 0.5px rgba(51, 51, 51, 0.04),
50
- 0 3px 3px -1.5px rgba(51, 51, 51, 0.02),
51
- 0 6px 6px -3px rgba(51, 51, 51, 0.04),
52
- 0 12px 12px -6px rgba(51, 51, 51, 0.04),
53
- 0 24px 24px -12px rgba(51, 51, 51, 0.04),
54
- 0 48px 48px -24px rgba(51, 51, 51, 0.04),
55
- 0 96px 96px -32px rgba(51, 51, 51, 0.06),
56
- inset 0 -1px 1px -0.5px rgba(51, 51, 51, 0.06);
57
- --color-background: var(--background);
58
- --color-foreground: var(--foreground);
59
- --color-card: var(--card);
60
- --color-card-foreground: var(--card-foreground);
61
- --color-popover: var(--popover);
62
- --color-popover-foreground: var(--popover-foreground);
63
- --color-primary: var(--primary);
64
- --color-primary-foreground: var(--primary-foreground);
65
- --color-secondary: var(--secondary);
66
- --color-secondary-foreground: var(--secondary-foreground);
67
- --color-muted: var(--muted);
68
- --color-muted-foreground: var(--muted-foreground);
69
- --color-accent: var(--accent);
70
- --color-accent-foreground: var(--accent-foreground);
71
- --color-destructive: var(--destructive);
72
- --color-destructive-foreground: var(--destructive-foreground);
73
- --color-border: var(--border);
74
- --color-input: var(--input);
75
- --color-ring: var(--ring);
76
- --color-chart-1: var(--chart-1);
77
- --color-chart-2: var(--chart-2);
78
- --color-chart-3: var(--chart-3);
79
- --color-chart-4: var(--chart-4);
80
- --color-chart-5: var(--chart-5);
81
- --color-sidebar: var(--sidebar);
82
- --color-sidebar-foreground: var(--sidebar-foreground);
83
- --color-sidebar-primary: var(--sidebar-primary);
84
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
85
- --color-sidebar-accent: var(--sidebar-accent);
86
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
87
- --color-sidebar-border: var(--sidebar-border);
88
- --color-sidebar-ring: var(--sidebar-ring);
89
- --color-surface: var(--surface);
90
- --color-surface-foreground: var(--surface-foreground);
91
- --color-code: var(--code);
92
- --color-code-foreground: var(--code-foreground);
93
- --color-code-highlight: var(--code-highlight);
94
- --color-code-number: var(--code-number);
95
- --color-selection: var(--selection);
96
- --color-selection-foreground: var(--selection-foreground);
97
- --color-overlay: var(--overlay);
98
- }
99
-
100
- :root {
101
- --header-height: 4rem;
102
- --radius: 0.625rem;
103
- --field-height: 48px;
104
- --field-height-sm: 40px;
105
- --field-radius: var(--radius-2xl);
106
- --field-padding-x: 1rem;
107
- --field-padding-y: 12px;
108
- --textarea-min-height: 70px;
109
- --background: oklch(1 0 0);
110
- --foreground: oklch(0.145 0 0);
111
- --card: oklch(1 0 0);
112
- --card-foreground: oklch(0.145 0 0);
113
- --popover: oklch(1 0 0);
114
- --popover-foreground: oklch(0.145 0 0);
115
- --primary: oklch(0.205 0 0);
116
- --primary-foreground: oklch(0.985 0 0);
117
- --secondary: oklch(0.97 0 0);
118
- --secondary-foreground: oklch(0.205 0 0);
119
- --muted: oklch(0.97 0 0);
120
- --muted-foreground: oklch(0.556 0 0);
121
- --accent: oklch(0.97 0 0);
122
- --accent-foreground: oklch(0.205 0 0);
123
- --destructive: oklch(0.577 0.245 27.325);
124
- --destructive-foreground: oklch(0.97 0.01 17);
125
- --border: oklch(0.922 0 0);
126
- --input: oklch(0.922 0 0);
127
- --ring: oklch(0.708 0 0);
128
- --chart-1: var(--color-blue-300);
129
- --chart-2: var(--color-blue-500);
130
- --chart-3: var(--color-blue-600);
131
- --chart-4: var(--color-blue-700);
132
- --chart-5: var(--color-blue-800);
133
- --sidebar: oklch(0.985 0 0);
134
- --sidebar-foreground: oklch(0.145 0 0);
135
- --sidebar-primary: oklch(0.205 0 0);
136
- --sidebar-primary-foreground: oklch(0.985 0 0);
137
- --sidebar-accent: oklch(0.97 0 0);
138
- --sidebar-accent-foreground: oklch(0.205 0 0);
139
- --sidebar-border: oklch(0.922 0 0);
140
- --sidebar-ring: oklch(0.708 0 0);
141
- --surface: oklch(0.98 0 0);
142
- --surface-foreground: var(--foreground);
143
- --code: var(--surface);
144
- --code-foreground: var(--surface-foreground);
145
- --code-highlight: oklch(0.96 0 0);
146
- --code-number: oklch(0.56 0 0);
147
- --selection: oklch(0.145 0 0);
148
- --selection-foreground: oklch(1 0 0);
149
- --overlay: rgba(193, 201, 210, 0.7);
150
- }
151
-
152
- .dark {
153
- --background: oklch(0.145 0 0);
154
- --foreground: oklch(0.985 0 0);
155
- --card: oklch(0.205 0 0);
156
- --card-foreground: oklch(0.985 0 0);
157
- --popover: oklch(0.205 0 0);
158
- --popover-foreground: oklch(0.985 0 0);
159
- --primary: oklch(0.922 0 0);
160
- --primary-foreground: oklch(0.205 0 0);
161
- --secondary: oklch(0.269 0 0);
162
- --secondary-foreground: oklch(0.985 0 0);
163
- --muted: oklch(0.269 0 0);
164
- --muted-foreground: oklch(0.708 0 0);
165
- --accent: oklch(0.371 0 0);
166
- --accent-foreground: oklch(0.985 0 0);
167
- --destructive: oklch(0.704 0.191 22.216);
168
- --destructive-foreground: oklch(0.58 0.22 27);
169
- --border: oklch(1 0 0 / 10%);
170
- --input: oklch(1 0 0 / 15%);
171
- --ring: oklch(0.556 0 0);
172
- --chart-1: var(--color-blue-300);
173
- --chart-2: var(--color-blue-500);
174
- --chart-3: var(--color-blue-600);
175
- --chart-4: var(--color-blue-700);
176
- --chart-5: var(--color-blue-800);
177
- --sidebar: oklch(0.205 0 0);
178
- --sidebar-foreground: oklch(0.985 0 0);
179
- --sidebar-primary: oklch(0.488 0.243 264.376);
180
- --sidebar-primary-foreground: oklch(0.985 0 0);
181
- --sidebar-accent: oklch(0.269 0 0);
182
- --sidebar-accent-foreground: oklch(0.985 0 0);
183
- --sidebar-border: oklch(1 0 0 / 10%);
184
- --sidebar-ring: oklch(0.439 0 0);
185
- --surface: oklch(0.2 0 0);
186
- --surface-foreground: oklch(0.708 0 0);
187
- --code: var(--surface);
188
- --code-foreground: var(--surface-foreground);
189
- --code-highlight: oklch(0.27 0 0);
190
- --code-number: oklch(0.72 0 0);
191
- --selection: oklch(0.922 0 0);
192
- --selection-foreground: oklch(0.205 0 0);
193
- --overlay: rgba(43, 53, 68, 0.7);
194
- --color-bg: #0b1413;
195
- --color-surface: #121c1b;
196
- --color-ink: #e6f2ef;
197
- --color-muted: #94a3a0;
198
- --color-border: #1f2c2a;
199
- --color-primary: #6ee7cf;
200
- --color-primary-soft: #1a3f37;
201
- --color-primary-dark: #0fb59f;
202
- --color-shadow: rgba(0, 0, 0, 0.3);
203
- }
204
-
205
- @layer base {
206
- * {
207
- @apply border-border outline-ring/50;
208
- }
209
-
210
- ::selection {
211
- @apply bg-selection text-selection-foreground;
212
- }
213
-
214
- html {
215
- @apply scroll-smooth;
216
- }
217
-
218
- html.dark {
219
- color-scheme: dark;
220
- }
221
-
222
- body {
223
- font-synthesis: none;
224
- font-kerning: normal;
225
- font-variant-ligatures: common-ligatures;
226
- font-feature-settings: "ss01", "cv11", "calt";
227
- }
228
-
229
- :is([data-slot="kbd"], code, pre, .font-mono) {
230
- font-variant-numeric: tabular-nums;
231
- }
232
-
233
- [data-slot="layout"] {
234
- @apply overscroll-none;
235
- }
236
-
237
- @supports (font: -apple-system-body) and (-webkit-appearance: none) {
238
- [data-wrapper] {
239
- @apply min-[1800px]:border-t;
240
- }
241
- }
242
-
243
- a {
244
- color: inherit;
245
- text-decoration: none;
246
- }
247
-
248
- img {
249
- max-width: 100%;
250
- }
251
-
252
- a:active,
253
- button:active {
254
- @apply opacity-60 md:opacity-100;
255
- }
256
-
257
- button,
258
- [role="button"],
259
- summary {
260
- cursor: pointer;
261
- }
262
-
263
- [data-lang="ar"] {
264
- font-family: var(--font-ar);
265
- }
266
-
267
- [data-lang="he"] {
268
- font-family: var(--font-he);
269
- }
270
- }
271
-
272
- @utility border-grid {
273
- @apply border-border/50 dark:border-border;
274
- }
275
-
276
- @utility section-soft {
277
- @apply from-background to-surface/40 dark:bg-background 3xl:fixed:bg-none bg-gradient-to-b;
278
- }
279
-
280
- @utility theme-container {
281
- @apply font-sans;
282
- }
283
-
284
- @utility container-wrapper {
285
- @apply 3xl:fixed:max-w-[calc(var(--breakpoint-2xl)+2rem)] mx-auto w-full;
286
- }
287
-
288
- @utility container {
289
- @apply 3xl:max-w-screen-2xl mx-auto max-w-[1400px] px-4 lg:px-8;
290
- }
291
-
292
- @utility h-display {
293
- line-height: 0.95;
294
- letter-spacing: -0.02em;
295
- }
296
-
297
- @utility measure {
298
- max-width: 65ch;
299
- }
300
-
301
- @utility no-scrollbar {
302
- -ms-overflow-style: none;
303
- scrollbar-width: none;
304
-
305
- &::-webkit-scrollbar {
306
- display: none;
307
- }
308
- }
309
-
310
- @utility border-ghost {
311
- @apply after:border-border relative after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten;
312
- }
313
-
314
- @utility step {
315
- counter-increment: step;
316
-
317
- &:before {
318
- content: counter(step);
319
- @apply border-background bg-muted mr-2 inline-flex size-6 items-center justify-center rounded-full text-center -indent-px font-mono text-sm font-medium md:absolute md:mt-[-4px] md:ml-[-50px] md:size-9 md:border-4;
320
- }
321
- }
322
-
323
- @utility extend-touch-target {
324
- @media (pointer: coarse) {
325
- @apply relative touch-manipulation after:absolute after:-inset-2;
326
- }
327
- }
328
-
329
- @utility content-auto {
330
- content-visibility: auto;
331
- contain-intrinsic-size: auto 500px;
332
- }
333
-
334
- @layer components {
335
- .steps {
336
- &:first-child {
337
- @apply !mt-0;
338
- }
339
-
340
- &:first-child > h3:first-child {
341
- @apply !mt-0;
342
- }
343
-
344
- > h3 {
345
- @apply !mt-8;
346
- }
347
-
348
- > h3 + p {
349
- @apply !mt-2;
350
- }
351
- }
352
-
353
- [data-rehype-pretty-code-figure] {
354
- position: relative;
355
- margin-top: calc(var(--spacing) * 6);
356
- overflow: hidden;
357
- font-size: var(--text-sm);
358
- color: var(--color-code-foreground);
359
- outline: none;
360
- background-color: var(--color-code);
361
- border-color: var(--border);
362
- border-width: 0px;
363
- border-radius: var(--radius-xl);
364
- @apply md:-mx-1;
365
-
366
- &:has([data-rehype-pretty-code-title]) [data-slot="copy-button"] {
367
- top: calc(var(--spacing) * 1.5) !important;
368
- }
369
- }
370
-
371
- [data-rehype-pretty-code-title] {
372
- padding-block: calc(var(--spacing) * 2.5);
373
- padding-inline: calc(var(--spacing) * 4);
374
- font-family: var(--font-mono);
375
- font-size: var(--text-sm);
376
- color: var(--color-code-foreground);
377
- border-bottom: color-mix(in oklab, var(--border) 30%, transparent);
378
- border-bottom-style: solid;
379
- border-bottom-width: 1px;
380
- }
381
-
382
- [data-line-numbers] {
383
- display: grid;
384
- min-width: 100%;
385
- white-space: pre;
386
- border: 0;
387
- background: transparent;
388
- padding: 0;
389
- counter-reset: line;
390
- box-decoration-break: clone;
391
- }
392
-
393
- [data-line-numbers] [data-line]::before {
394
- position: sticky;
395
- left: 0;
396
- display: inline-block;
397
- width: calc(var(--spacing) * 16);
398
- padding-right: calc(var(--spacing) * 6);
399
- font-size: var(--text-sm);
400
- color: var(--color-code-number);
401
- text-align: right;
402
- content: counter(line);
403
- counter-increment: line;
404
- background-color: var(--color-code);
405
- }
406
-
407
- [data-line-numbers] [data-highlighted-line][data-line]::before {
408
- background-color: var(--color-code-highlight);
409
- }
410
-
411
- [data-line],
412
- .shiki .line {
413
- display: inline-block;
414
- min-height: calc(var(--spacing) * 1);
415
- padding-top: calc(var(--spacing) * 0.5);
416
- padding-bottom: calc(var(--spacing) * 0.5);
417
- padding-right: calc(var(--spacing) * 10);
418
- }
419
-
420
- [data-line] span,
421
- .shiki .line span {
422
- color: var(--shiki-light);
423
-
424
- @variant dark {
425
- color: var(--shiki-dark) !important;
426
- }
427
- }
428
-
429
- [data-highlighted-line],
430
- [data-highlighted-chars] {
431
- position: relative;
432
- background-color: var(--color-code-highlight);
433
- }
434
-
435
- [data-highlighted-line] {
436
- &:after {
437
- position: absolute;
438
- top: 0;
439
- left: 0;
440
- width: 2px;
441
- height: 100%;
442
- content: "";
443
- background-color: color-mix(
444
- in oklab,
445
- var(--muted-foreground) 50%,
446
- transparent
447
- );
448
- }
449
- }
450
-
451
- [data-highlighted-chars] {
452
- padding-block: 0.1rem;
453
- padding-inline: 0.3rem;
454
- font-family: var(--font-mono);
455
- font-size: 0.8rem;
456
- border-radius: var(--radius-sm);
457
- }
458
- }
459
-
460
- @layer components {
461
- .dialog-ring {
462
- @apply rounded-xl border-none bg-clip-padding shadow-2xl ring-4 ring-neutral-200/80 dark:bg-neutral-900 dark:ring-neutral-800;
463
- }
464
- }
465
-
466
- @media (prefers-reduced-motion: reduce) {
467
- * {
468
- animation: none !important;
469
- transition: none !important;
470
- }
471
- }
@@ -1,14 +0,0 @@
1
- "use client";
2
-
3
- import type * as React from "react";
4
-
5
- type ButtonProps = React.ComponentProps<"button">;
6
-
7
- const Button = ({ children, ...props }: ButtonProps) => (
8
- <button type="button" {...props}>
9
- {children}
10
- </button>
11
- );
12
-
13
- export { Button };
14
- export type { ButtonProps };