Commit d0ceb84
feat(loader): gooey thinking loader gets the Figma gradient + inner glow
Replaces the flat currentColor fill on the chat ThinkingLoader with a
radial gradient (center → edge) plus a soft white inner-shadow glow,
per the Figma loader spec — theme-aware:
- light: #A7A7A7 → #D6D6D6, white inner glow at 0.9
- dark: #4F4F4F → #6F6F6F, white inner glow at 0.6
One set of SVG defs serves both themes: the gradient stops and the
feFlood glow read CSS custom properties (--tl-grad-inner/-outer,
--tl-glow) set per theme on .frame / :global(.dark) .frame. The goo
filter now runs in sRGB so the gradient keeps its midtones through the
blur, and the inner glow rides the merged silhouette's edge (the Figma
inner-shadow technique, stdDeviation scaled 72→100 viewBox).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent c245784 commit d0ceb84
2 files changed
Lines changed: 74 additions & 3 deletions
File tree
- apps/sim/components/emcn/components/thinking-loader
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
21 | 40 | | |
22 | 41 | | |
23 | 42 | | |
| |||
31 | 50 | | |
32 | 51 | | |
33 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 | | |
35 | 58 | | |
36 | 59 | | |
| |||
Lines changed: 51 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
224 | 236 | | |
225 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
226 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
227 | 275 | | |
228 | 276 | | |
229 | 277 | | |
| |||
235 | 283 | | |
236 | 284 | | |
237 | 285 | | |
238 | | - | |
| 286 | + | |
239 | 287 | | |
240 | 288 | | |
241 | 289 | | |
| |||
0 commit comments