@farming-labs/nuxt-theme 0.0.5 → 0.0.7

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 +2 -2
  2. package/styles/docs.css +100 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/nuxt-theme",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Nuxt/Vue UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
5
5
  "keywords": [
6
6
  "docs",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "sugar-high": "^0.9.5",
63
- "@farming-labs/docs": "0.0.5"
63
+ "@farming-labs/docs": "0.0.7"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "nuxt": ">=3.0.0",
package/styles/docs.css CHANGED
@@ -2022,6 +2022,56 @@ html.dark pre.shiki {
2022
2022
  font-size: 12px;
2023
2023
  }
2024
2024
 
2025
+ /* ─── Markdown prose inside AI bubbles (panel/modal/popover) ─────── */
2026
+
2027
+ .fd-ai-bubble-ai h2 {
2028
+ font-size: 1.125rem;
2029
+ font-weight: 600;
2030
+ margin: 12px 0 6px;
2031
+ line-height: 1.3;
2032
+ }
2033
+
2034
+ .fd-ai-bubble-ai h3 {
2035
+ font-size: 1rem;
2036
+ font-weight: 600;
2037
+ margin: 10px 0 4px;
2038
+ line-height: 1.4;
2039
+ }
2040
+
2041
+ .fd-ai-bubble-ai h4 {
2042
+ font-size: 0.9375rem;
2043
+ font-weight: 600;
2044
+ margin: 8px 0 4px;
2045
+ line-height: 1.4;
2046
+ }
2047
+
2048
+ .fd-ai-bubble-ai strong {
2049
+ font-weight: 600;
2050
+ color: var(--color-fd-foreground, #e4e4e7);
2051
+ }
2052
+
2053
+ .fd-ai-bubble-ai em {
2054
+ font-style: italic;
2055
+ }
2056
+
2057
+ .fd-ai-bubble-ai p {
2058
+ margin: 0 0 6px;
2059
+ }
2060
+
2061
+ .fd-ai-bubble-ai br {
2062
+ content: "";
2063
+ display: block;
2064
+ margin-top: 2px;
2065
+ }
2066
+
2067
+ .fd-ai-bubble-ai pre {
2068
+ margin: 8px 0;
2069
+ border-radius: 0;
2070
+ border: none;
2071
+ background: transparent;
2072
+ padding: 0;
2073
+ }
2074
+
2025
2075
  /* ═══════════════════════════════════════════════════════════════════
2026
2076
  * Code blocks in AI chat — fd-ai-code-*
2027
2077
  * ═══════════════════════════════════════════════════════════════════ */
@@ -2395,6 +2445,56 @@ html.dark pre.shiki {
2395
2445
  font-size: 12px;
2396
2446
  }
2397
2447
 
2448
+ /* ─── Markdown prose inside full-modal messages ──────────────────── */
2449
+
2450
+ .fd-ai-fm-msg-content h2 {
2451
+ font-size: 1.25rem;
2452
+ font-weight: 600;
2453
+ margin: 16px 0 8px;
2454
+ line-height: 1.3;
2455
+ }
2456
+
2457
+ .fd-ai-fm-msg-content h3 {
2458
+ font-size: 1.0625rem;
2459
+ font-weight: 600;
2460
+ margin: 12px 0 6px;
2461
+ line-height: 1.4;
2462
+ }
2463
+
2464
+ .fd-ai-fm-msg-content h4 {
2465
+ font-size: 1rem;
2466
+ font-weight: 600;
2467
+ margin: 10px 0 4px;
2468
+ line-height: 1.4;
2469
+ }
2470
+
2471
+ .fd-ai-fm-msg-content strong {
2472
+ font-weight: 600;
2473
+ color: var(--color-fd-foreground, #e4e4e7);
2474
+ }
2475
+
2476
+ .fd-ai-fm-msg-content em {
2477
+ font-style: italic;
2478
+ }
2479
+
2480
+ .fd-ai-fm-msg-content p {
2481
+ margin: 0 0 8px;
2482
+ }
2483
+
2484
+ .fd-ai-fm-msg-content br {
2485
+ content: "";
2486
+ display: block;
2487
+ margin-top: 2px;
2488
+ }
2489
+
2490
+ .fd-ai-fm-msg-content pre {
2491
+ margin: 8px 0;
2492
+ border-radius: 0;
2493
+ border: none;
2494
+ background: transparent;
2495
+ padding: 0;
2496
+ }
2497
+
2398
2498
  /* Full-modal now uses the shared .fd-ai-loader indicator */
2399
2499
 
2400
2500
  /* ─── Bottom input bar ───────────────────────────────────────── */