| author | |
| committer | |
| log | d42254dfb462e4ab23a42d4bef53b1ce00a72396 |
| tree | 933b806bf93d1ad1d1b7f86618efe5240e27edf1 |
| parent | 2a3cfe456375fd34b906f849b04706109dc74170 |
| signature | Signed by PGP key B5690EEEBB952194 |
3 files changed, 9 insertions(+), 4 deletions(-)
apps/web/src/components/chat/ComposerBanner.tsx+2-2| ... | ... | @@ -58,7 +58,7 @@ function Surface({ |
| 58 | 58 | "before:bg-[color-mix(in_srgb,var(--chat-composer-attached-surface)_var(--glass-opacity),transparent)] before:bg-[linear-gradient(var(--chat-composer-attached-tint),var(--chat-composer-attached-tint))] before:backdrop-blur-(--glass-blur) before:backdrop-saturate-(--glass-saturation)", |
| 59 | 59 | "before:mask-[linear-gradient(to_top,transparent_0_var(--chat-composer-attachment-overlap),black_var(--chat-composer-attachment-overlap))] before:shadow-[0_12px_28px_-18px_rgb(0_0_0/40%)] dark:before:shadow-[0_14px_32px_-18px_rgb(0_0_0/75%)]", |
| 60 | 60 | "dark:supports-[(backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px))]:before:bg-[linear-gradient(var(--chat-composer-attached-tint),var(--chat-composer-attached-tint)),linear-gradient(to_top,transparent_0_var(--chat-composer-attachment-overlap),rgb(0_0_0/18%)_var(--chat-composer-attachment-overlap),transparent_calc(var(--chat-composer-attachment-overlap)+10px))]", |
| 61 | "not-supports-[(backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px))]:before:bg-(--chat-composer-attached-surface)", | |
| 61 | "not-supports-[((backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px)))]:before:bg-(--chat-composer-attached-surface)", | |
| 62 | 62 | className, |
| 63 | 63 | )} |
| 64 | 64 | {...props} |
| ... | ... | @@ -89,7 +89,7 @@ function Peek({ |
| 89 | 89 | neutralOutline, |
| 90 | 90 | "absolute inset-x-0 bottom-0 z-0 mx-auto h-3 w-[96%] cursor-pointer rounded-t-2xl border border-b-0 shadow-[0_6px_18px_rgb(0_0_0/6%)]", |
| 91 | 91 | "bg-[color-mix(in_srgb,var(--chat-composer-attached-surface)_var(--glass-opacity),transparent)] backdrop-blur-(--glass-blur) backdrop-saturate-(--glass-saturation)", |
| 92 | "not-supports-[(backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px))]:bg-(--chat-composer-attached-surface)", | |
| 92 | "not-supports-[((backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px)))]:bg-(--chat-composer-attached-surface)", | |
| 93 | 93 | "transition-opacity duration-150 ease-out focus-visible:outline-2 focus-visible:outline-ring", |
| 94 | 94 | peekBorder[variant], |
| 95 | 95 | className, |
apps/web/src/components/chat/ComposerSurface.tsx+2-2| ... | ... | @@ -20,7 +20,7 @@ function Shell({ |
| 20 | 20 | "dark:[html[data-theme-id]:not([data-theme-id=t3-chat])_&]:[--chat-composer-highlight:color-mix(in_srgb,var(--app-theme-input)_12%,transparent)] dark:[html[data-theme-id]:not([data-theme-id=t3-chat])_&]:[--chat-composer-outline:color-mix(in_srgb,var(--app-theme-input)_30%,var(--background))]", |
| 21 | 21 | "dark:[html[data-theme-id=t3-chat]_&]:[--chat-composer-highlight:color-mix(in_srgb,#432d48_12%,transparent)] dark:[html[data-theme-id=t3-chat]_&]:[--chat-composer-outline:#241e28]", |
| 22 | 22 | "before:pointer-events-none before:absolute before:inset-0 before:z-0 before:rounded-[22px] before:bg-[color-mix(in_srgb,var(--chat-composer-glass-surface)_var(--glass-opacity),transparent)] before:backdrop-blur-(--glass-blur) before:backdrop-saturate-(--glass-saturation)", |
| 23 | "not-supports-[(backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px))]:before:bg-(--chat-composer-glass-surface)", | |
| 23 | "not-supports-[((backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px)))]:before:bg-(--chat-composer-glass-surface)", | |
| 24 | 24 | "has-data-[composer-banner-surface=attached]:before:hidden", |
| 25 | 25 | contextStrip && [ |
| 26 | 26 | "[--chat-composer-context-extension:2.25rem] sm:[--chat-composer-context-extension:2rem]", |
| ... | ... | @@ -70,7 +70,7 @@ function Main({ className, ...props }: ComponentProps<"div">) { |
| 70 | 70 | "after:z-20 after:hidden group-has-data-[composer-banner-surface=attached]/composer-surface:after:block", |
| 71 | 71 | "group-has-data-[composer-banner-surface=attached]/composer-surface:bg-[color-mix(in_srgb,var(--chat-composer-glass-surface)_var(--glass-opacity),transparent)] group-has-data-[composer-banner-surface=attached]/composer-surface:backdrop-blur-(--glass-blur) group-has-data-[composer-banner-surface=attached]/composer-surface:backdrop-saturate-(--glass-saturation)", |
| 72 | 72 | "group-has-data-[composer-banner-surface=attached]/composer-surface:shadow-[0_12px_28px_-18px_rgb(0_0_0/40%)] dark:group-has-data-[composer-banner-surface=attached]/composer-surface:shadow-none", |
| 73 | "not-supports-[(backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px))]:group-has-data-[composer-banner-surface=attached]/composer-surface:bg-(--chat-composer-glass-surface)", | |
| 73 | "not-supports-[((backdrop-filter:blur(1px))_or_(-webkit-backdrop-filter:blur(1px)))]:group-has-data-[composer-banner-surface=attached]/composer-surface:bg-(--chat-composer-glass-surface)", | |
| 74 | 74 | "group-has-data-[composer-banner-surface=attached]/composer-surface:**:data-[chat-composer-mobile-collapsed=true]:min-h-[calc(1rem+1px)]", |
| 75 | 75 | className, |
| 76 | 76 | )} |
apps/web/vite.config.ts+5| ... | ... | @@ -260,6 +260,11 @@ export default defineConfig(() => { |
| 260 | 260 | } |
| 261 | 261 | : {}), |
| 262 | 262 | }, |
| 263 | // @tailwindcss/vite only emits a CSS sourcemap when devSourcemap is on; without it | |
| 264 | // rolldown flags the transform as SOURCEMAP_BROKEN on every sourcemapped build. | |
| 265 | css: { | |
| 266 | devSourcemap: buildSourcemap !== false, | |
| 267 | }, | |
| 263 | 268 | build: { |
| 264 | 269 | outDir: "dist", |
| 265 | 270 | emptyOutDir: true, |