@farming-labs/astro-theme 0.0.3-beta.7 → 0.0.3-beta.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/astro-theme",
3
- "version": "0.0.3-beta.7",
3
+ "version": "0.0.3-beta.8",
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/docs": "0.0.3-beta.7",
83
- "@farming-labs/astro": "0.0.3-beta.7"
82
+ "@farming-labs/docs": "0.0.3-beta.8",
83
+ "@farming-labs/astro": "0.0.3-beta.8"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "astro": ">=4.0.0"
@@ -176,21 +176,37 @@
176
176
 
177
177
  /* ─── Ask AI button (floating + custom trigger) — sync with Next.js ───── */
178
178
 
179
+ .fd-ai-floating-btn,
180
+ .fd-ai-floating-trigger {
181
+ bottom: max(2.5rem, env(safe-area-inset-bottom, 0px) + 0rem) !important;
182
+ right: max(2.5rem, env(safe-area-inset-right, 0px) + 1.25rem) !important;
183
+ left: auto !important;
184
+ }
185
+
186
+ /* No transition when closed so the button doesn’t slide from open position after closing modal */
187
+ .fd-ai-fm-input-bar.fd-ai-fm-input-bar--closed {
188
+ bottom: max(2.5rem, env(safe-area-inset-bottom, 0px) + 1.25rem) !important;
189
+ right: max(2.5rem, env(safe-area-inset-right, 0px) + 1.25rem) !important;
190
+ left: auto !important;
191
+ transform: none !important;
192
+ transition: none !important;
193
+ }
194
+
179
195
  .fd-ai-floating-btn {
180
196
  border-radius: 26px;
181
197
  box-shadow: 0 8px 32px rgba(180, 140, 20, 0.3);
182
198
  }
183
199
 
184
200
  .fd-ai-floating-btn:hover {
185
- box-shadow: 0 10px 40px rgba(180, 140, 20, 0.4);
201
+ /* box-shadow: 0 2px 10px rgba(180, 140, 20, 0.4); */
186
202
  }
187
203
 
188
204
  .fd-ai-floating-trigger .ask-ai-trigger {
189
205
  font-family: var(--fd-font-sans, inherit);
190
206
  border-radius: 26px !important;
191
- box-shadow: 0 8px 32px rgba(180, 140, 20, 0.3) !important;
207
+ box-shadow: 0 0p 32px rgba(180, 140, 20, 0.3) !important;
192
208
  }
193
209
 
194
210
  .fd-ai-floating-trigger .ask-ai-trigger:hover {
195
- box-shadow: 0 10px 40px rgba(180, 140, 20, 0.4);
211
+ box-shadow: 0 2px 30px rgba(180, 140, 20, 0.4);
196
212
  }