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