@farming-labs/astro-theme 0.0.5 → 0.0.6

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 (2) hide show
  1. package/package.json +3 -3
  2. package/styles/docs.css +100 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/astro-theme",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Astro UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
5
5
  "keywords": [
6
6
  "astro",
@@ -79,8 +79,8 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "sugar-high": "^0.9.5",
82
- "@farming-labs/astro": "0.0.5",
83
- "@farming-labs/docs": "0.0.5"
82
+ "@farming-labs/docs": "0.0.6",
83
+ "@farming-labs/astro": "0.0.6"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "astro": ">=4.0.0"
package/styles/docs.css CHANGED
@@ -2044,6 +2044,56 @@ html.dark pre.shiki {
2044
2044
  font-size: 12px;
2045
2045
  }
2046
2046
 
2047
+ /* ─── Markdown prose inside AI bubbles (panel/modal/popover) ─────── */
2048
+
2049
+ .fd-ai-bubble-ai h2 {
2050
+ font-size: 1.125rem;
2051
+ font-weight: 600;
2052
+ margin: 12px 0 6px;
2053
+ line-height: 1.3;
2054
+ }
2055
+
2056
+ .fd-ai-bubble-ai h3 {
2057
+ font-size: 1rem;
2058
+ font-weight: 600;
2059
+ margin: 10px 0 4px;
2060
+ line-height: 1.4;
2061
+ }
2062
+
2063
+ .fd-ai-bubble-ai h4 {
2064
+ font-size: 0.9375rem;
2065
+ font-weight: 600;
2066
+ margin: 8px 0 4px;
2067
+ line-height: 1.4;
2068
+ }
2069
+
2070
+ .fd-ai-bubble-ai strong {
2071
+ font-weight: 600;
2072
+ color: var(--color-fd-foreground, #e4e4e7);
2073
+ }
2074
+
2075
+ .fd-ai-bubble-ai em {
2076
+ font-style: italic;
2077
+ }
2078
+
2079
+ .fd-ai-bubble-ai p {
2080
+ margin: 0 0 6px;
2081
+ }
2082
+
2083
+ .fd-ai-bubble-ai br {
2084
+ content: "";
2085
+ display: block;
2086
+ margin-top: 2px;
2087
+ }
2088
+
2089
+ .fd-ai-bubble-ai pre {
2090
+ margin: 8px 0;
2091
+ border-radius: 0;
2092
+ border: none;
2093
+ background: transparent;
2094
+ padding: 0;
2095
+ }
2096
+
2047
2097
  /* ═══════════════════════════════════════════════════════════════════
2048
2098
  * Code blocks in AI chat — fd-ai-code-*
2049
2099
  * ═══════════════════════════════════════════════════════════════════ */
@@ -2422,6 +2472,56 @@ html.dark pre.shiki {
2422
2472
  font-size: 12px;
2423
2473
  }
2424
2474
 
2475
+ /* ─── Markdown prose inside full-modal messages ──────────────────── */
2476
+
2477
+ .fd-ai-fm-msg-content h2 {
2478
+ font-size: 1.25rem;
2479
+ font-weight: 600;
2480
+ margin: 16px 0 8px;
2481
+ line-height: 1.3;
2482
+ }
2483
+
2484
+ .fd-ai-fm-msg-content h3 {
2485
+ font-size: 1.0625rem;
2486
+ font-weight: 600;
2487
+ margin: 12px 0 6px;
2488
+ line-height: 1.4;
2489
+ }
2490
+
2491
+ .fd-ai-fm-msg-content h4 {
2492
+ font-size: 1rem;
2493
+ font-weight: 600;
2494
+ margin: 10px 0 4px;
2495
+ line-height: 1.4;
2496
+ }
2497
+
2498
+ .fd-ai-fm-msg-content strong {
2499
+ font-weight: 600;
2500
+ color: var(--color-fd-foreground, #e4e4e7);
2501
+ }
2502
+
2503
+ .fd-ai-fm-msg-content em {
2504
+ font-style: italic;
2505
+ }
2506
+
2507
+ .fd-ai-fm-msg-content p {
2508
+ margin: 0 0 8px;
2509
+ }
2510
+
2511
+ .fd-ai-fm-msg-content br {
2512
+ content: "";
2513
+ display: block;
2514
+ margin-top: 2px;
2515
+ }
2516
+
2517
+ .fd-ai-fm-msg-content pre {
2518
+ margin: 8px 0;
2519
+ border-radius: 0;
2520
+ border: none;
2521
+ background: transparent;
2522
+ padding: 0;
2523
+ }
2524
+
2425
2525
  /* Full-modal now uses the shared .fd-ai-loader indicator */
2426
2526
 
2427
2527
  /* ─── Bottom input bar ───────────────────────────────────────── */