Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: migrate from Tailwind CSS v3 to v4

Steven Enamakelf575d573f9ea
diff --git a/app/package.json b/app/package.json
index c0efbb08f8..95e15d69c1 100644
--- a/app/package.json
+++ b/app/package.json
@@ -135,6 +135,7 @@
"@playwright/test": "^1.56.1",
"@sentry/vite-plugin": "^2.22.6",
"@tailwindcss/forms": "^0.5.11",
+ "@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/typography": "^0.5.19",
"@tauri-apps/cli": "2.11.4",
"@testing-library/dom": "^10.4.1",
@@ -160,7 +161,6 @@
"@wdio/mocha-framework": "^9.24.0",
"@wdio/spec-reporter": "^9.24.0",
"@wdio/types": "^9.24.0",
- "autoprefixer": "^10.4.23",
"cross-env": "^10.1.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
@@ -174,7 +174,7 @@
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"redux-logger": "^3.0.6",
- "tailwindcss": "^3.4.19",
+ "tailwindcss": "^4.3.3",
"typescript": "~5.8.3",
"vite": "^8.0.0",
"vite-plugin-node-polyfills": "^0.26.0",
diff --git a/app/postcss.config.js b/app/postcss.config.js
index e99ebc2c0e..82fa37b14e 100644
--- a/app/postcss.config.js
+++ b/app/postcss.config.js
@@ -1,6 +1,5 @@
export default {
plugins: {
- tailwindcss: {},
- autoprefixer: {},
+ '@tailwindcss/postcss': {},
},
}
\ No newline at end of file
diff --git a/app/src/components/Announcement/AnnouncementGate.tsx b/app/src/components/Announcement/AnnouncementGate.tsx
index 8bbc598bb5..bd16567d21 100644
--- a/app/src/components/Announcement/AnnouncementGate.tsx
+++ b/app/src/components/Announcement/AnnouncementGate.tsx
@@ -12,7 +12,7 @@ const log = debugFactory('announcement');
/**
* Fetches the latest active announcement once the user is authenticated and,
* if it hasn't been seen before (per-user, persisted), shows it once over the
- * app. The modal sits at z-[9998] — just below the harness-init overlay
+ * app. The modal sits at z-9998 — just below the harness-init overlay
* (z-[9999]) — so during first-run setup the init screen covers it and the
* announcement becomes visible only once init finishes.
*/
diff --git a/app/src/components/Announcement/AnnouncementModal.tsx b/app/src/components/Announcement/AnnouncementModal.tsx
index 726bf3f236..2746e6be34 100644
--- a/app/src/components/Announcement/AnnouncementModal.tsx
+++ b/app/src/components/Announcement/AnnouncementModal.tsx
@@ -40,7 +40,7 @@ export default function AnnouncementModal({ announcement, onDismiss }: Announcem
return (
<div
- className="fixed inset-0 z-[9998] flex items-center justify-center bg-stone-950/90 p-4 backdrop-blur-sm"
+ className="fixed inset-0 z-9998 flex items-center justify-center bg-stone-950/90 p-4 backdrop-blur-sm"
data-testid="announcement-overlay">
<div
role="dialog"
diff --git a/app/src/components/AppBackground.tsx b/app/src/components/AppBackground.tsx
index d569c17ac9..e3d3419dec 100644
--- a/app/src/components/AppBackground.tsx
+++ b/app/src/components/AppBackground.tsx
@@ -30,7 +30,7 @@ export default function AppBackground({ className = '' }: AppBackgroundProps) {
/>
)}
{showDots && (
- <div className="absolute inset-0 bg-transparent bg-[radial-gradient(circle_at_center,rgb(var(--content)/0.1)_1px,transparent_1px)] bg-[length:18px_18px] bg-[position:0_0]" />
+ <div className="absolute inset-0 bg-transparent bg-[radial-gradient(circle_at_center,rgb(var(--content)/0.1)_1px,transparent_1px)] bg-size-[18px_18px] bg-position-[0_0]" />
)}
</div>
);
diff --git a/app/src/components/AppUpdatePrompt.tsx b/app/src/components/AppUpdatePrompt.tsx
index b68a24054e..c7c2b86a41 100644
--- a/app/src/components/AppUpdatePrompt.tsx
+++ b/app/src/components/AppUpdatePrompt.tsx
@@ -96,7 +96,7 @@ const AppUpdatePrompt = (props: AppUpdatePromptProps) => {
<div
role="status"
aria-live="polite"
- className="fixed bottom-4 right-4 z-[9998] w-[340px] animate-fade-up"
+ className="fixed bottom-4 right-4 z-9998 w-[340px] animate-fade-up"
data-testid="app-update-prompt">
<div className="bg-stone-900 border border-stone-700/50 rounded-2xl shadow-large overflow-hidden">
{/* Header */}
@@ -225,7 +225,7 @@ const ProgressBar = ({
return (
<div className="h-1.5 w-full rounded-full bg-stone-800 overflow-hidden">
<div
- className={`h-full rounded-full bg-gradient-to-r from-primary-500 to-primary-400 transition-all duration-500 ${
+ className={`h-full rounded-full bg-linear-to-r from-primary-500 to-primary-400 transition-all duration-500 ${
indet ? 'animate-pulse' : ''
}`}
style={{ width: indet ? '100%' : `${percent ?? 0}%` }}
@@ -242,7 +242,7 @@ const ReleaseNotes = ({ body }: { body: string }) => {
const display = expanded || !isLong ? trimmed : `${trimmed.slice(0, 160).trimEnd()}…`;
return (
<div className="mt-2 rounded-lg bg-stone-800/60 border border-stone-700/40 px-3 py-2">
- <p className="text-[11px] text-content-faint whitespace-pre-line break-words">{display}</p>
+ <p className="text-[11px] text-content-faint whitespace-pre-line wrap-break-word">{display}</p>
{isLong && (
<ReleaseNotesToggle expanded={expanded} onToggle={() => setExpanded(prev => !prev)} />
)}
diff --git a/app/src/components/BootCheckGate/BootCheckGate.tsx b/app/src/components/BootCheckGate/BootCheckGate.tsx
index d60ef32133..8a6232f9f8 100644
--- a/app/src/components/BootCheckGate/BootCheckGate.tsx
+++ b/app/src/components/BootCheckGate/BootCheckGate.tsx
@@ -86,7 +86,7 @@ interface PanelProps {
function Panel({ children }: PanelProps) {
return (
<div
- className="fixed inset-0 z-[10000] flex items-center justify-center p-4"
+ className="fixed inset-0 z-10000 flex items-center justify-center p-4"
style={{ backgroundColor: 'var(--color-background)' }}>
<AppBackground />
<div className="relative z-10 w-full max-w-xl rounded-2xl border border-line bg-surface p-6 shadow-soft animate-fade-up">
@@ -269,10 +269,10 @@ function ModePicker({ onConfirm }: PickerProps) {
type="button"
onClick={() => setSelected('local')}
aria-pressed={selected === 'local'}
- className={`rounded-xl border-2 p-5 text-left transition-colors focus:outline-none ${
+ className={`rounded-xl border-2 p-5 text-left transition-colors focus:outline-hidden ${
selected === 'local'
- ? '!border-primary-500 bg-primary-50 dark:bg-primary-500/15 text-content shadow-sm'
- : '!border-stone-200 dark:!border-neutral-700 bg-surface text-content-secondary hover:!border-stone-300 dark:hover:!border-neutral-600 hover:bg-surface-hover'
+ ? 'border-primary-500! bg-primary-50 dark:bg-primary-500/15 text-content shadow-xs'
+ : 'border-stone-200! dark:border-neutral-700! bg-surface text-content-secondary hover:border-stone-300! dark:hover:border-neutral-600! hover:bg-surface-hover'
}`}>
<div className="font-medium">{t('bootCheck.localRecommended')}</div>
<div className="mt-0.5 text-xs text-content-muted">
@@ -287,10 +287,10 @@ function ModePicker({ onConfirm }: PickerProps) {
type="button"
onClick={() => setSelected('cloud')}
aria-pressed={selected === 'cloud'}
- className={`rounded-xl border-2 p-5 text-left transition-colors focus:outline-none ${
+ className={`rounded-xl border-2 p-5 text-left transition-colors focus:outline-hidden ${
selected === 'cloud'
- ? '!border-primary-500 bg-primary-50 dark:bg-primary-500/15 text-content shadow-sm'
- : '!border-stone-200 dark:!border-neutral-700 bg-surface text-content-secondary hover:!border-stone-300 dark:hover:!border-neutral-600 hover:bg-surface-hover'
+ ? 'border-primary-500! bg-primary-50 dark:bg-primary-500/15 text-content shadow-xs'
+ : 'border-stone-200! dark:border-neutral-700! bg-surface text-content-secondary hover:border-stone-300! dark:hover:border-neutral-600! hover:bg-surface-hover'
}`}>
<div className="font-medium">{t('bootCheck.cloudMode')}</div>
<div className="mt-0.5 text-xs text-content-muted">
@@ -316,7 +316,7 @@ function ModePicker({ onConfirm }: PickerProps) {
setUrlWarning(httpPublicHostWarning(next, t));
setTestStatus({ kind: 'idle' });
}}
- className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"
+ className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500"
/>
{urlError && <p className="text-xs text-red-600">{urlError}</p>}
{!urlError && urlWarning && (
@@ -341,7 +341,7 @@ function ModePicker({ onConfirm }: PickerProps) {
setTokenError(null);
setTestStatus({ kind: 'idle' });
}}
- className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"
+ className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500"
/>
{tokenError && <p className="text-xs text-red-600">{tokenError}</p>}
<p className="text-[11px] text-content-muted leading-snug">
diff --git a/app/src/components/ErrorFallbackScreen.tsx b/app/src/components/ErrorFallbackScreen.tsx
index f38c119dd3..0678423429 100644
--- a/app/src/components/ErrorFallbackScreen.tsx
+++ b/app/src/components/ErrorFallbackScreen.tsx
@@ -78,7 +78,7 @@ export default function ErrorFallbackScreen({
};
return (
- <div className="fixed inset-0 flex items-center justify-center bg-gradient-to-b from-stone-950 to-stone-900">
+ <div className="fixed inset-0 flex items-center justify-center bg-linear-to-b from-stone-950 to-stone-900">
<div className="w-full max-w-lg mx-4 bg-stone-900 border border-coral-500/30 rounded-2xl shadow-large overflow-hidden">
{/* Accent bar */}
<div className="h-1 bg-coral-500" />
@@ -137,13 +137,13 @@ export default function ErrorFallbackScreen({
{/* Error details */}
<div className="bg-stone-800/50 border border-stone-700/50 rounded-xl p-4 mb-6">
<p className="text-sm font-medium text-coral-400 mb-1">{errorName}</p>
- <p className="text-xs text-content-faint break-words">{errorMessage}</p>
+ <p className="text-xs text-content-faint wrap-break-word">{errorMessage}</p>
{componentStack && (
<details className="mt-3">
<summary className="text-xs text-content-muted cursor-pointer hover:text-content-faint transition-colors">
{t('app.errorFallback.componentStack')}
</summary>
- <pre className="mt-2 text-[11px] text-content-muted whitespace-pre-wrap break-words max-h-[200px] overflow-auto">
+ <pre className="mt-2 text-[11px] text-content-muted whitespace-pre-wrap wrap-break-word max-h-[200px] overflow-auto">
{componentStack}
</pre>
</details>
diff --git a/app/src/components/InitProgressScreen/InitProgressScreen.tsx b/app/src/components/InitProgressScreen/InitProgressScreen.tsx
index 14f3d80300..1889912aa2 100644
--- a/app/src/components/InitProgressScreen/InitProgressScreen.tsx
+++ b/app/src/components/InitProgressScreen/InitProgressScreen.tsx
@@ -81,7 +81,7 @@ export default function InitProgressScreen({
const failedStep = snapshot.steps.find(s => s.state === 'failed');
return (
- <div className="fixed inset-0 z-[9999] flex items-center justify-center bg-stone-950/90 p-4 backdrop-blur-sm">
+ <div className="fixed inset-0 z-9999 flex items-center justify-center bg-stone-950/90 p-4 backdrop-blur-sm">
<div
role="dialog"
aria-modal="true"
@@ -115,7 +115,7 @@ export default function InitProgressScreen({
<div className="rounded-xl border border-coral-500/20 bg-coral-500/10 p-3">
<p className="text-xs text-coral-300">{t('harnessInit.failedMessage')}</p>
{failedStep?.message && (
- <p className="mt-1 break-words text-[11px] text-coral-400/80">
+ <p className="mt-1 wrap-break-word text-[11px] text-coral-400/80">
{failedStep.message}
</p>
)}
diff --git a/app/src/components/LanguageSelect.tsx b/app/src/components/LanguageSelect.tsx
index 7c54d05f5d..bd39a384ff 100644
--- a/app/src/components/LanguageSelect.tsx
+++ b/app/src/components/LanguageSelect.tsx
@@ -38,7 +38,7 @@ interface LanguageSelectProps {
}
const DEFAULT_CLASS =
- "appearance-none rounded-lg border border-line bg-surface bg-[url('data:image/svg+xml;utf8,<svg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2020%2020%22%20fill=%22%2378716c%22><path%20d=%22M5.293%207.293a1%201%200%20011.414%200L10%2010.586l3.293-3.293a1%201%200%20111.414%201.414l-4%204a1%201%200%2001-1.414%200l-4-4a1%201%200%20010-1.414z%22/></svg>')] bg-no-repeat bg-[right_0.5rem_center] bg-[length:1rem_1rem] py-2 pl-3 pr-8 text-xs font-medium text-content-secondary hover:border-line-strong dark:hover:border-neutral-600 hover:bg-surface-hover focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500 cursor-pointer";
+ "appearance-none rounded-lg border border-line bg-surface bg-[url('data:image/svg+xml;utf8,<svg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2020%2020%22%20fill=%22%2378716c%22><path%20d=%22M5.293%207.293a1%201%200%20011.414%200L10%2010.586l3.293-3.293a1%201%200%20111.414%201.414l-4%204a1%201%200%2001-1.414%200l-4-4a1%201%200%20010-1.414z%22/></svg>')] bg-no-repeat bg-position-[right_0.5rem_center] bg-size-[1rem_1rem] py-2 pl-3 pr-8 text-xs font-medium text-content-secondary hover:border-line-strong dark:hover:border-neutral-600 hover:bg-surface-hover focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500 cursor-pointer";
/**
* Shared language picker used by the boot-check gate and the Settings home
diff --git a/app/src/components/LocalAIDownloadSnackbar.tsx b/app/src/components/LocalAIDownloadSnackbar.tsx
index 5d62a0d393..9de32e89a5 100644
--- a/app/src/components/LocalAIDownloadSnackbar.tsx
+++ b/app/src/components/LocalAIDownloadSnackbar.tsx
@@ -189,7 +189,7 @@ const LocalAIDownloadSnackbar = () => {
// Collapsed: small pill
if (collapsed) {
return createPortal(
- <div className="fixed bottom-4 right-4 z-[9998] animate-fade-up">
+ <div className="fixed bottom-4 right-4 z-9998 animate-fade-up">
<button
onClick={handleToggleCollapse}
className="flex items-center gap-2 bg-stone-900 border border-stone-700/50 rounded-full px-3 py-2 shadow-large hover:border-stone-600 transition-colors"
@@ -212,7 +212,7 @@ const LocalAIDownloadSnackbar = () => {
// Expanded: full snackbar
return createPortal(
- <div className="fixed bottom-4 right-4 z-[9998] w-[320px] animate-fade-up">
+ <div className="fixed bottom-4 right-4 z-9998 w-[320px] animate-fade-up">
<div className="bg-stone-900 border border-stone-700/50 rounded-2xl shadow-large overflow-hidden">
{/* Header */}
<div className="flex items-center justify-between px-4 pt-3 pb-1">
@@ -261,7 +261,7 @@ const LocalAIDownloadSnackbar = () => {
<div className="px-4 py-2">
<div className="h-1.5 w-full rounded-full bg-stone-800 overflow-hidden">
<div
- className={`h-full rounded-full bg-gradient-to-r from-primary-500 to-primary-400 transition-all duration-500 ${
+ className={`h-full rounded-full bg-linear-to-r from-primary-500 to-primary-400 transition-all duration-500 ${
isInstallingPhase ? 'animate-pulse' : ''
}`}
style={{ width: isInstallingPhase ? '100%' : `${percent ?? 0}%` }}
diff --git a/app/src/components/MeshGradient.test.tsx b/app/src/components/MeshGradient.test.tsx
index 0956f4ab77..8e9553bfb4 100644
--- a/app/src/components/MeshGradient.test.tsx
+++ b/app/src/components/MeshGradient.test.tsx
@@ -143,7 +143,7 @@ describe('<MeshGradient />', () => {
// Window backgrounded (occluded/blurred) → the shader must stop rendering.
hasFocus.mockReturnValue(false);
act(() => {
- window.dispatchEvent(new Event('blur'));
+ window.dispatchEvent(new Event('blur-sm'));
});
expect(gradientMock.pause).toHaveBeenCalledTimes(1);
expect(gradientMock.conf.playing).toBe(false);
@@ -178,7 +178,7 @@ describe('<MeshGradient />', () => {
// (previously this crashed on the next animation frame).
hasFocus.mockReturnValue(false);
act(() => {
- window.dispatchEvent(new Event('blur'));
+ window.dispatchEvent(new Event('blur-sm'));
});
hasFocus.mockReturnValue(true);
act(() => {
diff --git a/app/src/components/MeshGradient.tsx b/app/src/components/MeshGradient.tsx
index cac150ec13..f4062ed39b 100644
--- a/app/src/components/MeshGradient.tsx
+++ b/app/src/components/MeshGradient.tsx
@@ -157,7 +157,7 @@ export default function MeshGradient() {
removeMotionListener?.();
document.removeEventListener('visibilitychange', onPlayStateChange);
window.removeEventListener('focus', onPlayStateChange);
- window.removeEventListener('blur', onPlayStateChange);
+ window.removeEventListener('blur-sm', onPlayStateChange);
window.cancelAnimationFrame(raf);
disconnectGradient();
};
diff --git a/app/src/components/OpenhumanLinkModal.tsx b/app/src/components/OpenhumanLinkModal.tsx
index 72818e14e8..a7457f3bc9 100644
--- a/app/src/components/OpenhumanLinkModal.tsx
+++ b/app/src/components/OpenhumanLinkModal.tsx
@@ -330,19 +330,19 @@ const DiscordBody = ({ close }: { close: () => void }) => {
<p>{t('app.openhumanLink.discord.intro')}</p>
<ul className="space-y-1.5 text-xs text-content-secondary pl-1">
<li className="flex items-center gap-2">
- <span className="h-1.5 w-1.5 rounded-full bg-primary-400 flex-shrink-0" />
+ <span className="h-1.5 w-1.5 rounded-full bg-primary-400 shrink-0" />
{t('app.openhumanLink.discord.perk1')}
</li>
<li className="flex items-center gap-2">
- <span className="h-1.5 w-1.5 rounded-full bg-primary-400 flex-shrink-0" />
+ <span className="h-1.5 w-1.5 rounded-full bg-primary-400 shrink-0" />
{t('app.openhumanLink.discord.perk2')}
</li>
<li className="flex items-center gap-2">
- <span className="h-1.5 w-1.5 rounded-full bg-primary-400 flex-shrink-0" />
+ <span className="h-1.5 w-1.5 rounded-full bg-primary-400 shrink-0" />
{t('app.openhumanLink.discord.perk3')}
</li>
<li className="flex items-center gap-2">
- <span className="h-1.5 w-1.5 rounded-full bg-primary-400 flex-shrink-0" />
+ <span className="h-1.5 w-1.5 rounded-full bg-primary-400 shrink-0" />
{t('app.openhumanLink.discord.perk4')}
</li>
</ul>
@@ -543,7 +543,7 @@ const AccountsSetupBody = ({ close }: { close: () => void }) => {
aria-checked={on}
aria-label={`${on ? t('skills.disconnect') : t('skills.connect')} ${p.label}`}
onClick={() => handleToggle(p.id, p.label, on)}
- className={`relative inline-flex h-6 w-11 flex-shrink-0 items-center rounded-full transition-colors ${
+ className={`relative inline-flex h-6 w-11 shrink-0 items-center rounded-full transition-colors ${
on ? 'bg-primary-500' : 'bg-surface-strong'
}`}>
<span
diff --git a/app/src/components/ai-elements/Sources.tsx b/app/src/components/ai-elements/Sources.tsx
index 0c918e9eea..a76059bc71 100644
--- a/app/src/components/ai-elements/Sources.tsx
+++ b/app/src/components/ai-elements/Sources.tsx
@@ -62,7 +62,7 @@ export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
export const SourcesContent = ({ className, ...props }: SourcesContentProps) => (
<CollapsibleContent
data-slot="sources-content"
- className={cn('mt-3 flex w-fit flex-col gap-2 px-0 pb-0 text-xs outline-none', className)}
+ className={cn('mt-3 flex w-fit flex-col gap-2 px-0 pb-0 text-xs outline-hidden', className)}
{...props}
/>
);
diff --git a/app/src/components/approvals/ApprovalDecisionCard.tsx b/app/src/components/approvals/ApprovalDecisionCard.tsx
index c9ea06be0b..b49aebdb52 100644
--- a/app/src/components/approvals/ApprovalDecisionCard.tsx
+++ b/app/src/components/approvals/ApprovalDecisionCard.tsx
@@ -42,7 +42,7 @@ export function ApprovalDecisionCard({
aria-label={ariaLabel}
data-testid={testId}
className={[
- 'rounded-xl border border-amber-300 bg-amber-50 p-3 shadow-sm',
+ 'rounded-xl border border-amber-300 bg-amber-50 p-3 shadow-xs',
'dark:border-amber-700 dark:bg-amber-950',
className,
]
diff --git a/app/src/components/assistant-ui/attachment.tsx b/app/src/components/assistant-ui/attachment.tsx
index b59a195ac2..b50a5a65af 100644
--- a/app/src/components/assistant-ui/attachment.tsx
+++ b/app/src/components/assistant-ui/attachment.tsx
@@ -181,14 +181,14 @@ const AttachmentUI: FC = () => {
"animate-in fade-in-0 zoom-in-95 duration-200 motion-reduce:animate-none",
isImage &&
!isComposer &&
- "aui-attachment-root-message only:*:first:size-24",
+ "aui-attachment-root-message first:*:only:size-24",
)}
>
<AttachmentPreviewDialog>
<TooltipTrigger asChild>
<div
className={cn(
- "aui-attachment-tile bg-muted hover:after:bg-foreground/10 focus-visible:ring-ring/50 relative size-14 cursor-pointer overflow-hidden rounded-[calc(var(--composer-radius,1.5rem)-var(--composer-padding,8px))] transition-transform outline-none after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:ring-1 after:ring-black/10 after:transition-colors after:ring-inset focus-visible:ring-1 active:scale-[0.96] motion-reduce:transition-none dark:after:ring-white/10",
+ "aui-attachment-tile bg-muted hover:after:bg-foreground/10 focus-visible:ring-ring/50 relative size-14 cursor-pointer overflow-hidden rounded-[calc(var(--composer-radius,1.5rem)-var(--composer-padding,8px))] transition-transform outline-hidden after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:ring-1 after:ring-black/10 after:transition-colors after:ring-inset focus-visible:ring-1 active:scale-[0.96] motion-reduce:transition-none dark:after:ring-white/10",
isError &&
"after:ring-destructive/60 dark:after:ring-destructive/60",
)}
@@ -213,7 +213,7 @@ const AttachmentUI: FC = () => {
{isUploading && (
<div
aria-hidden="true"
- className="aui-attachment-tile-uploading bg-background/60 animate-in fade-in-0 absolute inset-0 flex items-center justify-center backdrop-blur-[2px] motion-reduce:animate-none"
+ className="aui-attachment-tile-uploading bg-background/60 animate-in fade-in-0 absolute inset-0 flex items-center justify-center backdrop-blur-xs motion-reduce:animate-none"
>
<Loader2Icon className="text-muted-foreground size-4 animate-spin" />
</div>
@@ -221,7 +221,7 @@ const AttachmentUI: FC = () => {
{isError && (
<div
aria-hidden="true"
- className="aui-attachment-tile-error bg-background/70 animate-in fade-in-0 absolute inset-0 flex items-center justify-center backdrop-blur-[2px] motion-reduce:animate-none"
+ className="aui-attachment-tile-error bg-background/70 animate-in fade-in-0 absolute inset-0 flex items-center justify-center backdrop-blur-xs motion-reduce:animate-none"
>
<AlertCircleIcon className="text-destructive size-4" />
</div>
@@ -247,7 +247,7 @@ const AttachmentRemove: FC = () => {
<AttachmentPrimitive.Remove asChild>
<TooltipIconButton
tooltip="Remove file"
- className="aui-attachment-tile-remove absolute end-1 top-1 size-5 rounded-full bg-black/50! text-white after:absolute after:-inset-1.5 hover:bg-black/70! hover:text-white! active:scale-[0.96] motion-reduce:transition-none"
+ className="aui-attachment-tile-remove absolute inset-e-1 top-1 size-5 rounded-full bg-black/50! text-white after:absolute after:-inset-1.5 hover:bg-black/70! hover:text-white! active:scale-[0.96] motion-reduce:transition-none"
side="top"
>
<XIcon className="aui-attachment-remove-icon size-3 stroke-[2.5]" />
diff --git a/app/src/components/assistant-ui/follow-up-suggestions.tsx b/app/src/components/assistant-ui/follow-up-suggestions.tsx
index 77de2e4cfb..1125c59485 100644
--- a/app/src/components/assistant-ui/follow-up-suggestions.tsx
+++ b/app/src/components/assistant-ui/follow-up-suggestions.tsx
@@ -45,7 +45,7 @@ const FollowupSuggestionsRow: FC = () => {
ref={scrollRef}
onScroll={updateFades}
// overflow-x clips both axes; py-1/-my-1 gives focus rings vertical room without changing outer height.
- className="aui-thread-followup-suggestions -my-1 w-full overflow-x-auto py-1 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
+ className="aui-thread-followup-suggestions -my-1 w-full overflow-x-auto py-1 [-ms-overflow-style:none] scrollbar-none [&::-webkit-scrollbar]:hidden"
style={{ maskImage, WebkitMaskImage: maskImage }}
>
<div className="mx-auto flex min-h-8 w-max items-center gap-2 px-0.5">
diff --git a/app/src/components/assistant-ui/reasoning.tsx b/app/src/components/assistant-ui/reasoning.tsx
index d468207d73..1fe4da26b3 100644
--- a/app/src/components/assistant-ui/reasoning.tsx
+++ b/app/src/components/assistant-ui/reasoning.tsx
@@ -233,7 +233,7 @@ function ReasoningContent({
<CollapsibleContent
data-slot="reasoning-content"
className={cn(
- "aui-reasoning-content text-muted-foreground relative overflow-hidden text-sm outline-none",
+ "aui-reasoning-content text-muted-foreground relative overflow-hidden text-sm outline-hidden",
"group/collapsible-content ease-[cubic-bezier(0.32,0.72,0,1)] motion-reduce:animate-none",
"data-closed:animate-collapsible-up",
"data-open:animate-collapsible-down",
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 5ed871f22c..e1006c9eb7 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -271,7 +271,7 @@ const Composer: FC = () => {
<ComposerAttachments />
<ComposerPrimitive.Input
placeholder="Send a message..."
- className="aui-composer-input caret-primary placeholder:text-muted-foreground/60 max-h-48 min-h-10 w-full resize-none bg-transparent px-2.5 py-1 text-base leading-6 outline-none"
+ className="aui-composer-input caret-primary placeholder:text-muted-foreground/60 max-h-48 min-h-10 w-full resize-none bg-transparent px-2.5 py-1 text-base leading-6 outline-hidden"
rows={1}
autoFocus
enterKeyHint="send"
@@ -509,10 +509,10 @@ const AssistantActionBar: FC = () => {
side="bottom"
align="start"
sideOffset={6}
- className="aui-action-bar-more-content bg-popover text-popover-foreground data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:animate-out data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-xl border p-1.5"
+ className="aui-action-bar-more-content bg-popover text-popover-foreground data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:animate-out data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-xl border p-1.5"
>
<ActionBarPrimitive.ExportMarkdown asChild>
- <ActionBarMorePrimitive.Item className="aui-action-bar-more-item hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground flex cursor-pointer items-center gap-2 rounded-lg px-2.5 py-1.5 text-sm outline-none select-none">
+ <ActionBarMorePrimitive.Item className="aui-action-bar-more-item hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground flex cursor-pointer items-center gap-2 rounded-lg px-2.5 py-1.5 text-sm outline-hidden select-none">
<DownloadIcon className="size-4" />
Export as Markdown
</ActionBarMorePrimitive.Item>
@@ -550,7 +550,7 @@ const UserMessage: FC = () => {
components={{ File: UserFilePart, Image: UserImagePart }}
/>
</div>
- <div className="aui-user-action-bar-wrapper absolute start-0 top-1/2 -translate-x-full -translate-y-1/2 pe-2 peer-empty:hidden rtl:translate-x-full">
+ <div className="aui-user-action-bar-wrapper absolute inset-s-0 top-1/2 -translate-x-full -translate-y-1/2 pe-2 peer-empty:hidden rtl:translate-x-full">
<UserActionBar />
</div>
</div>
@@ -587,7 +587,7 @@ const EditComposer: FC = () => {
>
<ComposerPrimitive.Root className="aui-edit-composer-root border-border/60 dark:border-muted-foreground/15 ms-auto flex w-full max-w-[85%] cursor-text flex-col rounded-(--composer-radius) border bg-(--composer-bg)">
<ComposerPrimitive.Input
- className="aui-edit-composer-input text-foreground min-h-14 w-full resize-none bg-transparent px-4 pt-3 pb-1 text-base outline-none"
+ className="aui-edit-composer-input text-foreground min-h-14 w-full resize-none bg-transparent px-4 pt-3 pb-1 text-base outline-hidden"
autoFocus
/>
<div className="aui-edit-composer-footer mx-2.5 mb-2.5 flex items-center gap-1.5 self-end">
diff --git a/app/src/components/assistant-ui/tool-fallback.tsx b/app/src/components/assistant-ui/tool-fallback.tsx
index 28cd627f40..bb6fc5cb26 100644
--- a/app/src/components/assistant-ui/tool-fallback.tsx
+++ b/app/src/components/assistant-ui/tool-fallback.tsx
@@ -202,7 +202,7 @@ function ToolFallbackContent({
<CollapsibleContent
data-slot="tool-fallback-content"
className={cn(
- "aui-tool-fallback-content relative overflow-hidden text-sm outline-none",
+ "aui-tool-fallback-content relative overflow-hidden text-sm outline-hidden",
"group/collapsible-content ease-[cubic-bezier(0.32,0.72,0,1)] motion-reduce:animate-none",
"data-closed:animate-collapsible-up",
"data-open:animate-collapsible-down",
@@ -493,7 +493,7 @@ function ToolFallbackApproval({
<Button
key={option.id}
size="sm"
- variant={option === allowOptions[0] ? "default" : "outline"}
+ variant={option === allowOptions[0] ? "default" : "outline-solid"}
className={pressable}
onClick={() => handleOption(option)}
disabled={submitted}
diff --git a/app/src/components/assistant-ui/tool-group.tsx b/app/src/components/assistant-ui/tool-group.tsx
index 21e08fa1d8..c7c7664551 100644
--- a/app/src/components/assistant-ui/tool-group.tsx
+++ b/app/src/components/assistant-ui/tool-group.tsx
@@ -72,7 +72,7 @@ function ToolGroupRoot({
<Collapsible
ref={collapsibleRef}
data-slot="tool-group-root"
- data-variant={variant ?? "outline"}
+ data-variant={variant ?? "outline-solid"}
open={isOpen}
onOpenChange={handleOpenChange}
className={cn(
@@ -164,7 +164,7 @@ function ToolGroupContent({
<CollapsibleContent
data-slot="tool-group-content"
className={cn(
- "aui-tool-group-content relative overflow-hidden text-sm outline-none",
+ "aui-tool-group-content relative overflow-hidden text-sm outline-hidden",
"group/collapsible-content ease-[cubic-bezier(0.32,0.72,0,1)] motion-reduce:animate-none",
"data-closed:animate-collapsible-up",
"data-open:animate-collapsible-down",
@@ -181,8 +181,8 @@ function ToolGroupContent({
"group-data-[variant=ghost]/tool-group-root:mt-1 group-data-[variant=ghost]/tool-group-root:gap-1",
"group-data-[variant=outline]/tool-group-root:mt-3 group-data-[variant=outline]/tool-group-root:border-t group-data-[variant=outline]/tool-group-root:px-4 group-data-[variant=outline]/tool-group-root:pt-3",
"group-data-[variant=muted]/tool-group-root:mt-3 group-data-[variant=muted]/tool-group-root:border-t group-data-[variant=muted]/tool-group-root:px-4 group-data-[variant=muted]/tool-group-root:pt-3",
- "[&>*]:animate-in [&>*]:fade-in-0 [&>*]:blur-in-[2px] [&>*]:slide-in-from-top-1 [&>*]:animation-duration-(--animation-duration) [&>*]:ease-[cubic-bezier(0.32,0.72,0,1)]",
- "[&>*]:motion-reduce:animate-none",
+ "[&>*]:animate-in [&>*]:fade-in-0 [&>*]:blur-in-[2px] [&>*]:slide-in-from-top-1 [&>*]:animation-duration-(--animation-duration) *:ease-[cubic-bezier(0.32,0.72,0,1)]",
+ "motion-reduce:*:animate-none",
"[&>*:nth-child(2)]:[animation-delay:40ms]",
"[&>*:nth-child(3)]:[animation-delay:80ms]",
"[&>*:nth-child(4)]:[animation-delay:120ms]",
diff --git a/app/src/components/assistant-ui/ui/button.tsx b/app/src/components/assistant-ui/ui/button.tsx
index f8d6e9306e..95c397cad4 100644
--- a/app/src/components/assistant-ui/ui/button.tsx
+++ b/app/src/components/assistant-ui/ui/button.tsx
@@ -5,18 +5,18 @@ import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/components/assistant-ui/lib/utils"
const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
{
variants: {
variant: {
default:
- "bg-primary text-primary-foreground shadow hover:bg-primary/90",
+ "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90",
destructive:
- "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
+ "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90",
outline:
- "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
+ "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",
secondary:
- "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
+ "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
},
diff --git a/app/src/components/assistant-ui/ui/dialog.tsx b/app/src/components/assistant-ui/ui/dialog.tsx
index 7b89e19509..5a5f3b99b2 100644
--- a/app/src/components/assistant-ui/ui/dialog.tsx
+++ b/app/src/components/assistant-ui/ui/dialog.tsx
@@ -42,7 +42,7 @@ const DialogContent = React.forwardRef<
{...props}
>
{children}
- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
<X className="h-4 w-4" />
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
diff --git a/app/src/components/assistant-ui/ui/tooltip.tsx b/app/src/components/assistant-ui/ui/tooltip.tsx
index 99cdd9b228..0cc0b6dde1 100644
--- a/app/src/components/assistant-ui/ui/tooltip.tsx
+++ b/app/src/components/assistant-ui/ui/tooltip.tsx
@@ -20,7 +20,7 @@ const TooltipContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
+ "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",
className
)}
{...props}
diff --git a/app/src/components/channels/mcp/ConnectAuthModal.tsx b/app/src/components/channels/mcp/ConnectAuthModal.tsx
index ec95eda0a1..110341eb4b 100644
--- a/app/src/components/channels/mcp/ConnectAuthModal.tsx
+++ b/app/src/components/channels/mcp/ConnectAuthModal.tsx
@@ -501,7 +501,7 @@ const ConnectAuthModal = ({ server, onClose, onConnected }: ConnectAuthModalProp
}>
<>
{error && (
- <div className="rounded-lg border border-coral-200 dark:border-coral-500/30 bg-coral-50 dark:bg-coral-500/10 px-3 py-2 text-xs text-coral-700 dark:text-coral-300 break-words">
+ <div className="rounded-lg border border-coral-200 dark:border-coral-500/30 bg-coral-50 dark:bg-coral-500/10 px-3 py-2 text-xs text-coral-700 dark:text-coral-300 wrap-break-word">
{error}
</div>
)}
diff --git a/app/src/components/channels/mcp/McpConnectionHealthToolbar.tsx b/app/src/components/channels/mcp/McpConnectionHealthToolbar.tsx
index 4760bf5678..71786104d9 100644
--- a/app/src/components/channels/mcp/McpConnectionHealthToolbar.tsx
+++ b/app/src/components/channels/mcp/McpConnectionHealthToolbar.tsx
@@ -205,7 +205,7 @@ const McpConnectionHealthToolbar = ({
{opError && (
<p
role="alert"
- className="mt-1.5 text-[10px] text-coral-700 dark:text-coral-300 break-words">
+ className="mt-1.5 text-[10px] text-coral-700 dark:text-coral-300 wrap-break-word">
{opError}
</p>
)}
diff --git a/app/src/components/channels/mcp/McpInventoryExportTab.tsx b/app/src/components/channels/mcp/McpInventoryExportTab.tsx
index 2c27131791..5f61780bb5 100644
--- a/app/src/components/channels/mcp/McpInventoryExportTab.tsx
+++ b/app/src/components/channels/mcp/McpInventoryExportTab.tsx
@@ -97,7 +97,7 @@ const McpInventoryExportTab = ({ servers }: McpInventoryExportTabProps) => {
</div>
<pre
data-testid="mcp-inventory-export-pre"
- className="max-h-80 overflow-auto rounded-lg border border-line bg-surface-muted p-3 text-[11px] font-mono text-content whitespace-pre-wrap break-words">
+ className="max-h-80 overflow-auto rounded-lg border border-line bg-surface-muted p-3 text-[11px] font-mono text-content whitespace-pre-wrap wrap-break-word">
{serialized}
</pre>
</div>
diff --git a/app/src/components/channels/mcp/McpToolList.tsx b/app/src/components/channels/mcp/McpToolList.tsx
index e386a7f726..93f4f83307 100644
--- a/app/src/components/channels/mcp/McpToolList.tsx
+++ b/app/src/components/channels/mcp/McpToolList.tsx
@@ -49,7 +49,7 @@ const McpToolList = ({ tools, onTryTool }: McpToolListProps) => {
{safeTools.map(tool => (
<li key={tool.name} className="space-y-0.5">
<div className="flex items-start justify-between gap-2">
- <p className="text-xs font-mono font-medium text-content break-words min-w-0">
+ <p className="text-xs font-mono font-medium text-content wrap-break-word min-w-0">
{tool.name}
</p>
{onTryTool && (
diff --git a/app/src/components/channels/mcp/McpToolPlayground.tsx b/app/src/components/channels/mcp/McpToolPlayground.tsx
index a3df8aebb6..15904dfc58 100644
--- a/app/src/components/channels/mcp/McpToolPlayground.tsx
+++ b/app/src/components/channels/mcp/McpToolPlayground.tsx
@@ -232,7 +232,7 @@ const McpToolPlayground = ({ serverId, tool, onClose }: McpToolPlaygroundProps)
onClose={onClose}
titleId="mcp-playground-title"
title={
- <span className="font-mono break-words">
+ <span className="font-mono wrap-break-word">
{t('mcp.playground.title').replace('{name}', tool.name)}
</span>
}
@@ -258,7 +258,7 @@ const McpToolPlayground = ({ serverId, tool, onClose }: McpToolPlaygroundProps)
{showSchema && (
<pre
data-testid="mcp-playground-schema"
- className="mt-1.5 max-h-40 overflow-auto rounded-lg border border-line bg-surface-muted p-2 text-[11px] font-mono text-content-secondary whitespace-pre-wrap break-words">
+ className="mt-1.5 max-h-40 overflow-auto rounded-lg border border-line bg-surface-muted p-2 text-[11px] font-mono text-content-secondary whitespace-pre-wrap wrap-break-word">
{schemaJson}
</pre>
)}
@@ -337,7 +337,7 @@ const McpToolPlayground = ({ serverId, tool, onClose }: McpToolPlaygroundProps)
data-testid="mcp-playground-result"
role={resultIsError ? 'alert' : 'status'}
aria-live={resultIsError ? 'assertive' : 'polite'}
- className={`max-h-60 overflow-auto rounded-lg border p-2 text-[11px] font-mono whitespace-pre-wrap break-words ${
+ className={`max-h-60 overflow-auto rounded-lg border p-2 text-[11px] font-mono whitespace-pre-wrap wrap-break-word ${
resultIsError
? 'border-coral-200 dark:border-coral-500/30 bg-coral-50 dark:bg-coral-500/10 text-coral-700 dark:text-coral-300'
: 'border-sage-200 dark:border-sage-500/30 bg-sage-50 dark:bg-sage-500/10 text-content'
diff --git a/app/src/components/chat/ApprovalRequestCard.tsx b/app/src/components/chat/ApprovalRequestCard.tsx
index 221f1df931..3501a1f9a1 100644
--- a/app/src/components/chat/ApprovalRequestCard.tsx
+++ b/app/src/components/chat/ApprovalRequestCard.tsx
@@ -61,7 +61,7 @@ const ApprovalRequestCard: React.FC<Props> = ({ threadId, approval }) => {
<div
role="alertdialog"
aria-label={t('chat.approval.title')}
- className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-sm dark:border-amber-700 dark:bg-amber-950">
+ className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-xs dark:border-amber-700 dark:bg-amber-950">
<div className="flex items-start gap-2">
<span aria-hidden className="text-base leading-none text-amber-700 dark:text-amber-200">
🔒
@@ -70,7 +70,7 @@ const ApprovalRequestCard: React.FC<Props> = ({ threadId, approval }) => {
<p className="font-semibold text-amber-900 dark:text-amber-100">
{t('chat.approval.title')}
</p>
- <p className="mt-1 break-words text-amber-800/90 dark:text-amber-200/90">
+ <p className="mt-1 wrap-break-word text-amber-800/90 dark:text-amber-200/90">
{approval.message || t('chat.approval.fallback')}
</p>
{approval.command && (
diff --git a/app/src/components/chat/ArtifactCard.tsx b/app/src/components/chat/ArtifactCard.tsx
index f6faa55638..e9fd2e5dd5 100644
--- a/app/src/components/chat/ArtifactCard.tsx
+++ b/app/src/components/chat/ArtifactCard.tsx
@@ -42,7 +42,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0"
+ className="w-5 h-5 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -56,7 +56,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0"
+ className="w-5 h-5 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -73,7 +73,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0"
+ className="w-5 h-5 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -87,7 +87,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0"
+ className="w-5 h-5 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -102,7 +102,7 @@ function Spinner() {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0 animate-spin"
+ className="w-5 h-5 shrink-0 animate-spin"
fill="none"
viewBox="0 0 24 24">
<circle className="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" strokeWidth="3" />
@@ -115,7 +115,7 @@ function FailedIcon() {
return (
<svg
aria-hidden="true"
- className="w-5 h-5 flex-shrink-0 text-coral-500"
+ className="w-5 h-5 shrink-0 text-coral-500"
fill="none"
stroke="currentColor"
strokeWidth={1.8}
@@ -217,7 +217,7 @@ export default function ArtifactCard({ artifact, onRetry }: ArtifactCardProps) {
{artifact.status === 'failed' && artifact.error && (
<div className="text-xs text-coral-600 dark:text-coral-400 mt-1">
<p
- className={`font-mono break-words whitespace-pre-wrap ${
+ className={`font-mono wrap-break-word whitespace-pre-wrap ${
errorExpanded ? 'max-h-48 overflow-y-auto' : ''
}`}>
{errorExpanded || artifact.error.length <= ERROR_REASON_PREVIEW_CHARS
@@ -230,7 +230,7 @@ export default function ArtifactCard({ artifact, onRetry }: ArtifactCardProps) {
size="xs"
analyticsId="chat-artifact-error-toggle"
onClick={() => setErrorExpanded(prev => !prev)}
- className="mt-1 !h-auto !p-0 underline text-coral-700 hover:bg-transparent hover:text-coral-900">
+ className="mt-1 h-auto! p-0! underline text-coral-700 hover:bg-transparent hover:text-coral-900">
{errorExpanded ? t('chat.artifact.show_less') : t('chat.artifact.show_more')}
</Button>
)}
@@ -246,13 +246,13 @@ export default function ArtifactCard({ artifact, onRetry }: ArtifactCardProps) {
size="xs"
analyticsId={`chat-artifact-reveal-${artifact.kind}`}
onClick={handleReveal}
- className="ml-auto !h-auto !p-0 underline text-sage-600 hover:bg-transparent hover:text-sage-800 flex-shrink-0">
+ className="ml-auto h-auto! p-0! underline text-sage-600 hover:bg-transparent hover:text-sage-800 shrink-0">
{t('chat.artifact.reveal')}
</Button>
</div>
)}
{download.state === 'error' && download.error && (
- <p className="text-xs text-coral-600 mt-1 break-words">
+ <p className="text-xs text-coral-600 mt-1 wrap-break-word">
{t('chat.artifact.download_failed').replace('{reason}', download.error)}
</p>
)}
diff --git a/app/src/components/chat/AttachmentPreview.tsx b/app/src/components/chat/AttachmentPreview.tsx
index 86c278477f..3076e3d7c6 100644
--- a/app/src/components/chat/AttachmentPreview.tsx
+++ b/app/src/components/chat/AttachmentPreview.tsx
@@ -27,10 +27,10 @@ export default function AttachmentPreview({
<img
src={attachment.previewUri ?? attachment.dataUri}
alt={attachment.file.name}
- className="w-8 h-8 rounded object-cover flex-shrink-0"
+ className="w-8 h-8 rounded object-cover shrink-0"
/>
) : attachment.kind === 'video' ? (
- <div className="relative w-8 h-8 flex-shrink-0">
+ <div className="relative w-8 h-8 shrink-0">
<img
src={attachment.previewUri ?? attachment.dataUri}
alt={attachment.file.name}
@@ -38,7 +38,7 @@ export default function AttachmentPreview({
/>
<span className="absolute inset-0 flex items-center justify-center">
<svg
- className="w-3.5 h-3.5 text-content-inverted drop-shadow"
+ className="w-3.5 h-3.5 text-content-inverted drop-shadow-sm"
fill="currentColor"
viewBox="0 0 24 24">
<path d="M8 5v14l11-7z" />
@@ -48,7 +48,7 @@ export default function AttachmentPreview({
) : (
<div
aria-hidden
- className="w-8 h-8 rounded border border-line bg-surface flex items-center justify-center flex-shrink-0 text-content-muted">
+ className="w-8 h-8 rounded border border-line bg-surface flex items-center justify-center shrink-0 text-content-muted">
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
strokeLinecap="round"
@@ -79,7 +79,7 @@ export default function AttachmentPreview({
aria-label={t('chat.attachment.remove').replace('{name}', attachment.file.name)}
onClick={() => onRemove(attachment.id)}
disabled={disabled}
- className="absolute -top-1.5 -right-1.5 !h-4 !w-4 rounded-full border-0 bg-content-muted text-content-inverted hover:bg-content-secondary flex-shrink-0">
+ className="absolute -top-1.5 -right-1.5 h-4! w-4! rounded-full border-0 bg-content-muted text-content-inverted hover:bg-content-secondary shrink-0">
<svg className="w-2.5 h-2.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
strokeLinecap="round"
diff --git a/app/src/components/chat/ChatFilesChip.tsx b/app/src/components/chat/ChatFilesChip.tsx
index 5f618818ad..788c3b7be1 100644
--- a/app/src/components/chat/ChatFilesChip.tsx
+++ b/app/src/components/chat/ChatFilesChip.tsx
@@ -87,7 +87,7 @@ export default function ChatFilesChip({ threadId }: ChatFilesChipProps) {
count === 1 ? 'chat.files.chip.aria.one' : 'chat.files.chip.aria.other'
).replace('{count}', String(count))}
data-testid="chat-files-chip"
- className="!h-7 gap-1.5 text-xs font-medium text-content-secondary">
+ className="h-7! gap-1.5 text-xs font-medium text-content-secondary">
<svg
aria-hidden="true"
className="w-3.5 h-3.5"
diff --git a/app/src/components/chat/ChatFilesPanel.tsx b/app/src/components/chat/ChatFilesPanel.tsx
index 0d9787fd1c..452bff5e92 100644
--- a/app/src/components/chat/ChatFilesPanel.tsx
+++ b/app/src/components/chat/ChatFilesPanel.tsx
@@ -84,7 +84,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-4 h-4 flex-shrink-0"
+ className="w-4 h-4 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -98,7 +98,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-4 h-4 flex-shrink-0"
+ className="w-4 h-4 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -115,7 +115,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-4 h-4 flex-shrink-0"
+ className="w-4 h-4 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -129,7 +129,7 @@ function KindIcon({ kind }: { kind: ArtifactSnapshot['kind'] }) {
return (
<svg
aria-hidden="true"
- className="w-4 h-4 flex-shrink-0"
+ className="w-4 h-4 shrink-0"
fill="none"
stroke={stroke}
strokeWidth={1.8}
@@ -348,7 +348,7 @@ export default function ChatFilesPanel({ threadId, artifacts, onClose }: ChatFil
analyticsId={`chat-files-delete-${artifact.kind}`}
data-testid={`chat-files-delete-${artifact.artifactId}`}
aria-label={t('chat.files.delete.aria').replace('{title}', artifact.title)}
- className="ml-auto !w-auto px-2">
+ className="ml-auto w-auto! px-2">
<svg
className="w-3.5 h-3.5"
fill="none"
@@ -365,7 +365,7 @@ export default function ChatFilesPanel({ threadId, artifacts, onClose }: ChatFil
</div>
)}
{row.state === 'error' && row.error && (
- <p className="text-[11px] text-coral-600 dark:text-coral-400 mt-0.5 break-words">
+ <p className="text-[11px] text-coral-600 dark:text-coral-400 mt-0.5 wrap-break-word">
{t('chat.artifact.download_failed').replace('{reason}', row.error)}
</p>
)}
@@ -375,7 +375,7 @@ export default function ChatFilesPanel({ threadId, artifacts, onClose }: ChatFil
</ul>
)}
{deleteError && (
- <div className="px-3 py-2 border-t border-line-subtle text-[11px] text-coral-600 dark:text-coral-400 break-words">
+ <div className="px-3 py-2 border-t border-line-subtle text-[11px] text-coral-600 dark:text-coral-400 wrap-break-word">
{deleteError}
</div>
)}
diff --git a/app/src/components/chat/ChatNewWindowHero.tsx b/app/src/components/chat/ChatNewWindowHero.tsx
index 4886256696..4b88c32692 100644
--- a/app/src/components/chat/ChatNewWindowHero.tsx
+++ b/app/src/components/chat/ChatNewWindowHero.tsx
@@ -155,7 +155,7 @@ export default function ChatNewWindowHero() {
// message bubbles use.
className="animate-fade-up rounded-2xl border border-line/80 bg-surface-muted p-6 shadow-soft dark:border-line/80">
{/* Animated greeting */}
- <h1 className="min-h-[3.5rem] text-2xl text-center font-bold text-content">
+ <h1 className="min-h-14 text-2xl text-center font-bold text-content">
{typedWelcome}
<span aria-hidden="true" className="ml-0.5 inline-block animate-pulse text-primary-500">
|
diff --git a/app/src/components/chat/ComposerTokenStats.tsx b/app/src/components/chat/ComposerTokenStats.tsx
index 5434642b41..d793e0cd55 100644
--- a/app/src/components/chat/ComposerTokenStats.tsx
+++ b/app/src/components/chat/ComposerTokenStats.tsx
@@ -160,7 +160,7 @@ export default function ComposerTokenStats({ model, threadId }: ComposerTokenSta
<Button
variant="tertiary"
aria-label={t('token.sessionUsageTitle')}
- className="!h-auto min-w-0 flex-wrap gap-1.5 !p-0 text-[10px] font-mono text-content-faint hover:bg-transparent select-none">
+ className="h-auto! min-w-0 flex-wrap gap-1.5 p-0! text-[10px] font-mono text-content-faint hover:bg-transparent select-none">
{parts.map((part, i) => (
<span key={i} className="contents">
{part}
diff --git a/app/src/components/chat/FlowApprovalRequestCard.tsx b/app/src/components/chat/FlowApprovalRequestCard.tsx
index d2643b8da3..ff0c17afc1 100644
--- a/app/src/components/chat/FlowApprovalRequestCard.tsx
+++ b/app/src/components/chat/FlowApprovalRequestCard.tsx
@@ -92,7 +92,7 @@ export const FlowApprovalRequestCard: React.FC<Props> = ({ request, onResolved }
<p className="font-semibold text-amber-900 dark:text-amber-100">
{t('chat.flowApproval.title')}
</p>
- <p className="mt-1 break-words text-amber-800/90 dark:text-amber-200/90">
+ <p className="mt-1 wrap-break-word text-amber-800/90 dark:text-amber-200/90">
{request.summary || t('chat.flowApproval.fallback')}
</p>
</>
diff --git a/app/src/components/chat/IntegrationConnectCard.tsx b/app/src/components/chat/IntegrationConnectCard.tsx
index 66f85cb04b..09bb7a6286 100644
--- a/app/src/components/chat/IntegrationConnectCard.tsx
+++ b/app/src/components/chat/IntegrationConnectCard.tsx
@@ -276,7 +276,7 @@ const IntegrationConnectCard: React.FC<Props> = ({ threadId, approval }) => {
<div
role="group"
aria-label={approval.message || t('composio.connect.connect')}
- className="rounded-xl border border-primary-200 bg-primary-50 p-3.5 text-sm shadow-sm dark:border-primary-800 dark:bg-primary-950">
+ className="rounded-xl border border-primary-200 bg-primary-50 p-3.5 text-sm shadow-xs dark:border-primary-800 dark:bg-primary-950">
<div className="flex items-start gap-3">
<span
aria-hidden
@@ -284,7 +284,7 @@ const IntegrationConnectCard: React.FC<Props> = ({ threadId, approval }) => {
🔗
</span>
<div className="min-w-0 flex-1">
- <p className="break-words font-semibold text-content">
+ <p className="wrap-break-word font-semibold text-content">
{approval.message || t('chat.approval.fallback')}
</p>
diff --git a/app/src/components/chat/SuperContextToggle.tsx b/app/src/components/chat/SuperContextToggle.tsx
index 517ff7b9c7..be29c687de 100644
--- a/app/src/components/chat/SuperContextToggle.tsx
+++ b/app/src/components/chat/SuperContextToggle.tsx
@@ -90,7 +90,7 @@ const SuperContextToggle = () => {
);
return (
- <div className="flex h-7 flex-shrink-0 items-center gap-1.5 text-xs text-content-muted">
+ <div className="flex h-7 shrink-0 items-center gap-1.5 text-xs text-content-muted">
<SettingsSwitch
id="super-context-toggle"
checked={enabled}
@@ -112,7 +112,7 @@ const SuperContextToggle = () => {
aria-describedby="super-context-tooltip"
aria-label={t('chat.superContext.label')}
data-testid="super-context-info"
- className="!h-4 !w-4 rounded-full text-content-faint hover:bg-transparent hover:text-content-secondary">
+ className="h-4! w-4! rounded-full text-content-faint hover:bg-transparent hover:text-content-secondary">
<svg
className="h-3.5 w-3.5"
fill="none"
@@ -130,7 +130,7 @@ const SuperContextToggle = () => {
<span
id="super-context-tooltip"
role="tooltip"
- className="pointer-events-none absolute bottom-full right-0 z-[9999] mb-2 w-72 rounded-lg bg-content px-3 py-2 text-xs font-normal leading-snug text-surface opacity-0 shadow-lg transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100">
+ className="pointer-events-none absolute bottom-full right-0 z-9999 mb-2 w-72 rounded-lg bg-content px-3 py-2 text-xs font-normal leading-snug text-surface opacity-0 shadow-lg transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100">
{t('chat.superContext.hint')}
</span>
</span>
diff --git a/app/src/components/chat/WorkflowProposalCard.tsx b/app/src/components/chat/WorkflowProposalCard.tsx
index 5ddc584678..bfee1bfa51 100644
--- a/app/src/components/chat/WorkflowProposalCard.tsx
+++ b/app/src/components/chat/WorkflowProposalCard.tsx
@@ -329,11 +329,11 @@ const WorkflowProposalCard: React.FC<Props> = ({ threadId, proposal, onSaved })
<p className="font-semibold text-primary-900 dark:text-primary-100">
{proposal.name || t('chat.flowProposal.title')}
</p>
- <p className="mt-1 break-words text-primary-800/90 dark:text-primary-200/90">
+ <p className="mt-1 wrap-break-word text-primary-800/90 dark:text-primary-200/90">
{t('chat.flowProposal.subtitle')}
</p>
- <p className="mt-2 text-xs break-words text-content-secondary">
+ <p className="mt-2 text-xs wrap-break-word text-content-secondary">
<span className="font-medium text-content-muted">
{t('chat.flowProposal.triggerLabel')}:
</span>{' '}
@@ -352,7 +352,7 @@ const WorkflowProposalCard: React.FC<Props> = ({ threadId, proposal, onSaved })
? t(kindI18nKey)
: humanizeUnknownStepKind(step.kind);
return (
- <li key={i} className="break-words">
+ <li key={i} className="wrap-break-word">
<span
data-testid="workflow-proposal-step-kind"
className="mr-1.5 inline-block rounded-full bg-primary-100 px-1.5 py-0.5 text-[10px] font-medium text-primary-700 dark:bg-primary-500/15 dark:text-primary-300">
diff --git a/app/src/components/chat/composer/composerStyles.ts b/app/src/components/chat/composer/composerStyles.ts
index 50af9a83ac..f3c675fef0 100644
--- a/app/src/components/chat/composer/composerStyles.ts
+++ b/app/src/components/chat/composer/composerStyles.ts
@@ -41,7 +41,7 @@ export const COMPOSER_ROOT = 'relative flex w-full flex-col pb-2.5';
/**
* `.aui-composer-attachment-dropzone` —
* `flex w-full flex-col rounded-2xl border border-input bg-background px-1 pt-2
- * outline-none transition-shadow has-[textarea:focus-visible]:border-ring
+ * outline-hidden transition-shadow has-[textarea:focus-visible]:border-ring
* has-[textarea:focus-visible]:ring-2 has-[textarea:focus-visible]:ring-ring/20
* data-[dragging=true]:border-ring data-[dragging=true]:border-dashed
* data-[dragging=true]:bg-accent/50`
@@ -60,7 +60,7 @@ export const COMPOSER_DROPZONE =
/**
* `.aui-composer-input` —
* `mb-1 max-h-32 min-h-14 w-full resize-none bg-transparent px-4 pt-2 pb-3
- * text-sm outline-none placeholder:text-muted-foreground focus-visible:ring-0`
+ * text-sm outline-hidden placeholder:text-muted-foreground focus-visible:ring-0`
*
* Only the placeholder colour is remapped. `disabled:` handling is appended:
* upstream has no disabled state because its composer is never locked, while
@@ -68,7 +68,7 @@ export const COMPOSER_DROPZONE =
*/
export const COMPOSER_INPUT =
'max-h-32 min-h-14 w-full resize-none bg-transparent px-3.5 pt-3 pb-2 text-sm leading-5 ' +
- 'text-content outline-none placeholder:text-content-muted focus-visible:ring-0 ' +
+ 'text-content outline-hidden placeholder:text-content-muted focus-visible:ring-0 ' +
'disabled:cursor-not-allowed disabled:opacity-50';
/**
@@ -77,7 +77,7 @@ export const COMPOSER_INPUT =
* textarea. Not an upstream class — assistant-ui has no inline completion.
*/
export const COMPOSER_GHOST_OVERLAY =
- 'pointer-events-none absolute inset-0 overflow-hidden whitespace-pre-wrap break-words ' +
+ 'pointer-events-none absolute inset-0 overflow-hidden whitespace-pre-wrap wrap-break-word ' +
'px-3.5 pt-3 pb-2 text-sm leading-5 font-sans';
/** assistant-ui's compact footer action row. */
diff --git a/app/src/components/commands/CommandPalette.tsx b/app/src/components/commands/CommandPalette.tsx
index 7816bc93b7..4847925e98 100644
--- a/app/src/components/commands/CommandPalette.tsx
+++ b/app/src/components/commands/CommandPalette.tsx
@@ -72,7 +72,7 @@ export default function CommandPalette({ open, onOpenChange }: Props) {
<Command.Input
autoFocus
placeholder={t('commandPalette.placeholder')}
- className="w-full px-4 py-3 bg-transparent outline-none border-b border-cmd-border text-cmd-foreground placeholder:text-cmd-foreground-muted"
+ className="w-full px-4 py-3 bg-transparent outline-hidden border-b border-cmd-border text-cmd-foreground placeholder:text-cmd-foreground-muted"
aria-label={t('commandPalette.searchAria')}
/>
<Command.List className="max-h-[50vh] overflow-auto py-2">
@@ -83,7 +83,7 @@ export default function CommandPalette({ open, onOpenChange }: Props) {
<Command.Group
key={groupName}
heading={GROUP_LABEL_KEYS[groupName] ? t(GROUP_LABEL_KEYS[groupName]) : groupName}
- className="[&_[cmdk-group-heading]]:px-4 [&_[cmdk-group-heading]]:py-1 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:text-cmd-foreground-muted">
+ className="**:[[cmdk-group-heading]]:px-4 **:[[cmdk-group-heading]]:py-1 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:uppercase **:[[cmdk-group-heading]]:text-cmd-foreground-muted">
{items.map(action => {
const label = action.labelKey ? t(action.labelKey) : action.label;
return (
diff --git a/app/src/components/composio/toolkitMeta.tsx b/app/src/components/composio/toolkitMeta.tsx
index 07e669b241..51d9c2c2c6 100644
--- a/app/src/components/composio/toolkitMeta.tsx
+++ b/app/src/components/composio/toolkitMeta.tsx
@@ -238,7 +238,7 @@ const PLATFORM_KEYWORDS = [
function GenericIntegrationIcon() {
return (
- <span className="flex h-8 w-8 items-center justify-center rounded-xl bg-surface-subtle text-content-secondary shadow-sm ring-1 ring-black/5">
+ <span className="flex h-8 w-8 items-center justify-center rounded-xl bg-surface-subtle text-content-secondary shadow-xs ring-1 ring-black/5">
<svg className="h-[18px] w-[18px]" viewBox="0 0 24 24" aria-hidden="true" fill="none">
<path
d="M8 8h8v8H8zM5 12h3m8 0h3M12 5v3m0 8v3"
@@ -270,7 +270,7 @@ function ComposioLogoBadge({
}
return (
- <span className="flex h-8 w-8 items-center justify-center overflow-hidden rounded-xl bg-surface shadow-sm ring-1 ring-black/5">
+ <span className="flex h-8 w-8 items-center justify-center overflow-hidden rounded-xl bg-surface shadow-xs ring-1 ring-black/5">
<img
src={logoUrl}
alt={`${name} logo`}
diff --git a/app/src/components/daemon/ServiceBlockingGate.tsx b/app/src/components/daemon/ServiceBlockingGate.tsx
index bd71115242..521cd0fe47 100644
--- a/app/src/components/daemon/ServiceBlockingGate.tsx
+++ b/app/src/components/daemon/ServiceBlockingGate.tsx
@@ -50,7 +50,7 @@ const ServiceBlockingGate = ({ children }: ServiceBlockingGateProps) => {
return (
<>
{children}
- <div className="fixed inset-0 z-[10000] bg-stone-950/80 backdrop-blur-sm flex items-center justify-center p-4">
+ <div className="fixed inset-0 z-10000 bg-stone-950/80 backdrop-blur-sm flex items-center justify-center p-4">
<div className="w-full max-w-xl rounded-2xl border border-coral-500/30 bg-stone-900 p-6 shadow-2xl">
<h2 className="text-xl font-semibold text-white">
{t('daemon.serviceBlockingGate.title')}
diff --git a/app/src/components/dashboard/BudgetSummary.tsx b/app/src/components/dashboard/BudgetSummary.tsx
index c9e37a3a52..d17c6ead4b 100644
--- a/app/src/components/dashboard/BudgetSummary.tsx
+++ b/app/src/components/dashboard/BudgetSummary.tsx
@@ -53,7 +53,7 @@ const BudgetSummary = ({
{/* Hero tile: 7-day total + status badge + progress bar */}
<div
data-testid="metric-total-spend"
- className="md:col-span-2 rounded-2xl border border-line bg-gradient-to-br from-primary-50 to-white dark:from-neutral-900 dark:to-neutral-950 p-5 flex flex-col gap-3 shadow-soft">
+ className="md:col-span-2 rounded-2xl border border-line bg-linear-to-br from-primary-50 to-white dark:from-neutral-900 dark:to-neutral-950 p-5 flex flex-col gap-3 shadow-soft">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-xs uppercase tracking-wide text-content-muted">
<WalletIcon className="h-4 w-4" />
diff --git a/app/src/components/feedback/FeedbackComments.tsx b/app/src/components/feedback/FeedbackComments.tsx
index 990611080f..d7cf4088c1 100644
--- a/app/src/components/feedback/FeedbackComments.tsx
+++ b/app/src/components/feedback/FeedbackComments.tsx
@@ -104,7 +104,7 @@ export default function FeedbackComments({ feedbackId, onCommentAdded }: Feedbac
<span>·</span>
<span>{formatDate(comment.createdAt)}</span>
</div>
- <p className="mt-1 whitespace-pre-wrap break-words text-sm text-content-secondary">
+ <p className="mt-1 whitespace-pre-wrap wrap-break-word text-sm text-content-secondary">
{comment.body}
</p>
</li>
diff --git a/app/src/components/feedback/FeedbackItemRow.tsx b/app/src/components/feedback/FeedbackItemRow.tsx
index ba079528a3..f20377c912 100644
--- a/app/src/components/feedback/FeedbackItemRow.tsx
+++ b/app/src/components/feedback/FeedbackItemRow.tsx
@@ -70,12 +70,12 @@ export default function FeedbackItemRow({
<FeedbackStatusBadge status={item.status} />
</div>
- <h3 className="mt-2 break-words font-title text-[15px] font-semibold leading-snug text-content">
+ <h3 className="mt-2 wrap-break-word font-title text-[15px] font-semibold leading-snug text-content">
{item.title}
</h3>
<p
- className={`mt-1 whitespace-pre-wrap break-words text-sm text-content-muted ${
+ className={`mt-1 whitespace-pre-wrap wrap-break-word text-sm text-content-muted ${
expanded ? '' : 'line-clamp-2'
}`}>
{item.body}
diff --git a/app/src/components/feedback/FeedbackVoteControl.tsx b/app/src/components/feedback/FeedbackVoteControl.tsx
index bb01207eff..13d624f2ca 100644
--- a/app/src/components/feedback/FeedbackVoteControl.tsx
+++ b/app/src/components/feedback/FeedbackVoteControl.tsx
@@ -75,7 +75,7 @@ export default function FeedbackVoteControl({ item, onVoted }: FeedbackVoteContr
return (
<div
- className={`flex w-9 flex-shrink-0 flex-col items-center gap-0.5 rounded-full py-1 transition-colors ${pillTint}`}>
+ className={`flex w-9 shrink-0 flex-col items-center gap-0.5 rounded-full py-1 transition-colors ${pillTint}`}>
<Button
iconOnly
variant="tertiary"
diff --git a/app/src/components/flows/FlowListRow.tsx b/app/src/components/flows/FlowListRow.tsx
index e451228b66..366eb09482 100644
--- a/app/src/components/flows/FlowListRow.tsx
+++ b/app/src/components/flows/FlowListRow.tsx
@@ -127,7 +127,7 @@ const FlowListRow = ({
the switch alone communicates state), then Run, and an overflow menu
with the secondary/destructive actions (view runs / export /
duplicate / delete). */}
- <div className="flex flex-shrink-0 items-center gap-1.5">
+ <div className="flex shrink-0 items-center gap-1.5">
<SettingsSwitch
id={`flow-switch-${flow.id}`}
checked={flow.enabled}
diff --git a/app/src/components/flows/FlowPreauthorizationCard.tsx b/app/src/components/flows/FlowPreauthorizationCard.tsx
index 72af0919de..38b3ac3be6 100644
--- a/app/src/components/flows/FlowPreauthorizationCard.tsx
+++ b/app/src/components/flows/FlowPreauthorizationCard.tsx
@@ -61,7 +61,7 @@ export const FlowPreauthorizationCard: React.FC<Props> = ({
<p className="font-semibold text-primary-900 dark:text-primary-100">
{t('flows.enableApproval.title')}
</p>
- <p className="mt-1 break-words text-primary-800/90 dark:text-primary-200/90">
+ <p className="mt-1 wrap-break-word text-primary-800/90 dark:text-primary-200/90">
{t('flows.enableApproval.intro')}
</p>
@@ -82,7 +82,7 @@ export const FlowPreauthorizationCard: React.FC<Props> = ({
{entry.kind === 'approvable' ? '✅' : entry.kind === 'blocked' ? '⛔' : '⚠️'}
</span>
<span className="min-w-0 flex-1">
- <span className="block break-words text-ink dark:text-content">
+ <span className="block wrap-break-word text-ink dark:text-content">
{entry.label}
</span>
{hint && <span className="block text-xs text-content-secondary">{hint}</span>}
diff --git a/app/src/components/flows/FlowRunPendingApprovalCard.tsx b/app/src/components/flows/FlowRunPendingApprovalCard.tsx
index ebdd988a8c..de79770e2c 100644
--- a/app/src/components/flows/FlowRunPendingApprovalCard.tsx
+++ b/app/src/components/flows/FlowRunPendingApprovalCard.tsx
@@ -81,7 +81,7 @@ export function FlowRunPendingApprovalCard({ approval, deciding, onDecide }: Pro
className="text-xs"
density="compact"
summary={
- <p className="break-words text-amber-800/90 dark:text-amber-200/90">
+ <p className="wrap-break-word text-amber-800/90 dark:text-amber-200/90">
{approval.action_summary}
</p>
}
diff --git a/app/src/components/flows/FlowRunsSidebar.test.tsx b/app/src/components/flows/FlowRunsSidebar.test.tsx
index 07f47c7362..7d9de9d42f 100644
--- a/app/src/components/flows/FlowRunsSidebar.test.tsx
+++ b/app/src/components/flows/FlowRunsSidebar.test.tsx
@@ -109,7 +109,7 @@ describe('FlowRunsSidebar', () => {
renderSidebar();
const badge = await screen.findByText('Failed');
- expect(badge).toHaveClass('!px-1.5');
+ expect(badge).toHaveClass('px-1.5!');
expect(badge).not.toHaveClass('px-1.5');
});
diff --git a/app/src/components/flows/FlowRunsSidebar.tsx b/app/src/components/flows/FlowRunsSidebar.tsx
index a2d0a947d1..06b833e947 100644
--- a/app/src/components/flows/FlowRunsSidebar.tsx
+++ b/app/src/components/flows/FlowRunsSidebar.tsx
@@ -105,7 +105,7 @@ export default function FlowRunsSidebar({ flowId }: FlowRunsSidebarProps) {
return (
<div className="flex h-full flex-col" data-testid="flow-runs-sidebar">
- <div className="flex flex-shrink-0 items-center justify-between gap-2 px-3 py-2">
+ <div className="flex shrink-0 items-center justify-between gap-2 px-3 py-2">
<span className="text-[11px] font-semibold uppercase tracking-wide text-content-faint">
{t('flows.runs.sidebarTitle')}
</span>
@@ -174,7 +174,7 @@ export default function FlowRunsSidebar({ flowId }: FlowRunsSidebarProps) {
<FlowRunStatus
status={displayStatus}
label={flowRunStatusLabel(displayStatus, t)}
- className="!px-1.5 text-[10px]"
+ className="px-1.5! text-[10px]"
/>
<span className="mt-0.5 block truncate text-[11px] text-content-faint">
{relativeTime(run.started_at, t)}
diff --git a/app/src/components/flows/RunItemDataBrowser.tsx b/app/src/components/flows/RunItemDataBrowser.tsx
index 784b99d598..8c6f6a4046 100644
--- a/app/src/components/flows/RunItemDataBrowser.tsx
+++ b/app/src/components/flows/RunItemDataBrowser.tsx
@@ -139,7 +139,7 @@ export function RunItemDataBrowser({ items, inputItems, testIdPrefix }: Props) {
if (next) setView(next as ViewMode);
}}
aria-label={t('flowRuns.inspector.dataViewLabel')}
- className="overflow-hidden rounded-md border border-line gap-0 [&>*]:rounded-none">
+ className="overflow-hidden rounded-md border border-line gap-0 *:rounded-none">
<ToggleGroupItem
value="table"
data-testid={`${testIdPrefix}-view-table`}
@@ -161,7 +161,7 @@ export function RunItemDataBrowser({ items, inputItems, testIdPrefix }: Props) {
{view === 'json' ? (
<pre
data-testid={`${testIdPrefix}-json`}
- className="max-h-72 overflow-auto whitespace-pre-wrap break-words rounded bg-surface px-2 py-1.5 font-mono text-[11px] leading-relaxed text-content-secondary">
+ className="max-h-72 overflow-auto whitespace-pre-wrap wrap-break-word rounded bg-surface px-2 py-1.5 font-mono text-[11px] leading-relaxed text-content-secondary">
{jsonText}
</pre>
) : (
@@ -304,7 +304,7 @@ function FragmentRow({
<div className="text-[10px] font-semibold uppercase tracking-wide text-content-faint">
{t('flowRuns.inspector.sourceInputTitle')}
</div>
- <pre className="mt-1 max-h-48 overflow-auto whitespace-pre-wrap break-words rounded bg-surface px-2 py-1.5 font-mono text-[11px] leading-relaxed text-content-secondary">
+ <pre className="mt-1 max-h-48 overflow-auto whitespace-pre-wrap wrap-break-word rounded bg-surface px-2 py-1.5 font-mono text-[11px] leading-relaxed text-content-secondary">
{sourceItem ? formatJson(sourceItem.json) : t('flowRuns.inspector.emptyValue')}
</pre>
</TableCell>
diff --git a/app/src/components/flows/canvas/NodePalette.tsx b/app/src/components/flows/canvas/NodePalette.tsx
index 7a2e5c2a3a..d725e35128 100644
--- a/app/src/components/flows/canvas/NodePalette.tsx
+++ b/app/src/components/flows/canvas/NodePalette.tsx
@@ -34,7 +34,7 @@ function NodePalette({ onAdd }: NodePaletteProps) {
return (
<aside
- className="pointer-events-auto absolute right-3 top-14 z-10 flex max-h-[calc(100%-4rem)] w-48 flex-col overflow-hidden rounded-xl border border-line bg-surface/95 shadow-sm backdrop-blur"
+ className="pointer-events-auto absolute right-3 top-14 z-10 flex max-h-[calc(100%-4rem)] w-48 flex-col overflow-hidden rounded-xl border border-line bg-surface/95 shadow-xs backdrop-blur"
data-testid="flow-node-palette"
aria-label={t('flows.palette.title')}>
<div className="flex flex-col gap-2 overflow-y-auto p-2">
diff --git a/app/src/components/flows/canvas/__tests__/flowCanvasOutlines.test.ts b/app/src/components/flows/canvas/__tests__/flowCanvasOutlines.test.ts
index bf6084937e..c16752ba43 100644
--- a/app/src/components/flows/canvas/__tests__/flowCanvasOutlines.test.ts
+++ b/app/src/components/flows/canvas/__tests__/flowCanvasOutlines.test.ts
@@ -1,8 +1,8 @@
/**
- * Guard: the flow canvas draws every one of its status rings with `outline`,
- * so a global `outline` suppression silently kills all of them at once.
+ * Guard: the flow canvas draws every one of its status rings with `outline-solid`,
+ * so a global `outline-solid` suppression silently kills all of them at once.
*
- * `app/src/index.css` previously carried `outline: none !important` on the bare
+ * `app/src/index.css` previously carried `outline-solid: none !important` on the bare
* universal selector. Its comment says it exists to hide the browser focus
* ring — but `!important` on `*` outranks every component rule, so it also
* suppressed the live run overlay (`.flow-node-running` / `-success` /
@@ -29,21 +29,21 @@ function withoutComments(css: string): string {
}
describe('flow canvas status rings', () => {
- it('are not suppressed by an unconditional universal outline reset', () => {
+ it('are not suppressed by an unconditional universal outline-solid reset', () => {
const css = withoutComments(readFileSync(INDEX_CSS, 'utf8'));
// Find every `*` block that is NOT tied to a focus state.
const universalBlocks = [...css.matchAll(/(^|\})\s*\*\s*\{([^}]*)\}/g)].map(m => m[2]);
for (const block of universalBlocks) {
expect(
/outline\s*:/.test(block),
- 'index.css must not set `outline` on the bare `*` selector — with `!important` it ' +
- 'outranks every flow-node ring rule and silently blanks the canvas overlays. ' +
+ 'index.css must not set `outline-solid` on the bare `*` selector — with `!important` it ' +
+ 'outranks every flow-node ring-3 rule and silently blanks the canvas overlays. ' +
'Scope focus-ring suppression to `*:focus` (and the explicit element list) instead.'
).toBe(false);
}
});
- it('still declare an outline for each run/validation/diff state', () => {
+ it('still declare an outline-solid for each run/validation/diff state', () => {
const css = withoutComments(readFileSync(CANVAS_CSS, 'utf8'));
for (const cls of [
'flow-node-running',
@@ -54,7 +54,7 @@ describe('flow canvas status rings', () => {
'flow-node-removed',
]) {
const rule = new RegExp(`\\.${cls}\\s*\\{[^}]*outline\\s*:`);
- expect(rule.test(css), `${cls} must declare an outline`).toBe(true);
+ expect(rule.test(css), `${cls} must declare an outline-solid`).toBe(true);
}
});
diff --git a/app/src/components/flows/canvas/nodeConfig/NodeConfigDrawer.tsx b/app/src/components/flows/canvas/nodeConfig/NodeConfigDrawer.tsx
index 0919625b62..3ac745ba2c 100644
--- a/app/src/components/flows/canvas/nodeConfig/NodeConfigDrawer.tsx
+++ b/app/src/components/flows/canvas/nodeConfig/NodeConfigDrawer.tsx
@@ -187,7 +187,7 @@ function NodeConfigDrawer({
)}
<UiInput
type="text"
- className="!h-auto w-full !border-0 !bg-transparent !p-0 !ring-0 font-semibold focus:!ring-0"
+ className="h-auto! w-full border-0! bg-transparent! p-0! ring-0! font-semibold focus:ring-0!"
value={node.data.name}
aria-label={t('flows.nodeConfig.nameLabel')}
placeholder={t('flows.nodeConfig.namePlaceholder')}
diff --git a/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx b/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx
index 961ee6eca1..c87dac9ed1 100644
--- a/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx
+++ b/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx
@@ -32,7 +32,7 @@ const log = createDebug('app:flows:nodeConfig:fields');
export const INPUT_CLASS =
'w-full rounded-lg border border-line-strong bg-surface px-2.5 py-1.5 text-sm text-content ' +
- 'placeholder-content-faint transition-colors focus:border-primary-500 focus:outline-none ' +
+ 'placeholder-content-faint transition-colors focus:border-primary-500 focus:outline-hidden ' +
'focus:ring-2 focus:ring-primary-500/20 disabled:opacity-50';
export const MONO_CLASS = 'font-mono text-[13px]';
diff --git a/app/src/components/flows/canvas/nodeConfig/nodeConfigForms.tsx b/app/src/components/flows/canvas/nodeConfig/nodeConfigForms.tsx
index 67b7346206..d55bd4b4f3 100644
--- a/app/src/components/flows/canvas/nodeConfig/nodeConfigForms.tsx
+++ b/app/src/components/flows/canvas/nodeConfig/nodeConfigForms.tsx
@@ -222,7 +222,7 @@ function AgentForm({ config, onChange, connections, upstreamOptions }: NodeConfi
options={upstreamOptions}
onInsert={expr => onChange({ prompt: prompt ? `${prompt} ${expr}` : expr })}
testId="node-config-agent-prompt-upstream"
- className="cursor-pointer rounded-md border border-line-strong bg-surface-muted px-1.5 py-1 text-[11px] text-content-muted focus:outline-none"
+ className="cursor-pointer rounded-md border border-line-strong bg-surface-muted px-1.5 py-1 text-[11px] text-content-muted focus:outline-hidden"
/>
</div>
)}
diff --git a/app/src/components/home/HomeBanners.tsx b/app/src/components/home/HomeBanners.tsx
index 3b4ebb73e3..d136f231f7 100644
--- a/app/src/components/home/HomeBanners.tsx
+++ b/app/src/components/home/HomeBanners.tsx
@@ -26,14 +26,14 @@ export function UsageLimitBanner({
const styles =
tone === 'danger'
? {
- card: 'border-coral-200 bg-gradient-to-r from-coral-50 via-rose-50 to-orange-50 dark:border-coral-500/30 dark:from-coral-900/30 dark:via-coral-900/20 dark:to-coral-900/10',
+ card: 'border-coral-200 bg-linear-to-r from-coral-50 via-rose-50 to-orange-50 dark:border-coral-500/30 dark:from-coral-900/30 dark:via-coral-900/20 dark:to-coral-900/10',
title: 'text-coral-700 dark:text-coral-300',
body: 'text-coral-500 dark:text-coral-300/80',
button:
'border-coral-700 text-coral-700 hover:text-coral-800 dark:border-coral-300 dark:text-coral-300 dark:hover:text-coral-200',
}
: {
- card: 'border-amber-200 bg-gradient-to-r from-amber-50 via-orange-50 to-rose-50 dark:border-amber-500/30 dark:from-amber-900/30 dark:via-amber-900/20 dark:to-amber-900/10',
+ card: 'border-amber-200 bg-linear-to-r from-amber-50 via-orange-50 to-rose-50 dark:border-amber-500/30 dark:from-amber-900/30 dark:via-amber-900/20 dark:to-amber-900/10',
title: 'text-amber-700 dark:text-amber-300',
body: 'text-amber-600 dark:text-amber-300/80',
button:
@@ -79,7 +79,7 @@ export function UsageLimitBanner({
export function PromotionalCreditsBanner({ promoCredits }: { promoCredits: number }) {
const { t } = useT();
return (
- <div className="mb-3 rounded-2xl border border-amber-200 bg-gradient-to-r from-amber-50 via-orange-50 to-rose-50 px-4 py-2.5 text-left shadow-soft dark:border-amber-500/30 dark:from-amber-900/30 dark:via-amber-900/20 dark:to-amber-900/10">
+ <div className="mb-3 rounded-2xl border border-amber-200 bg-linear-to-r from-amber-50 via-orange-50 to-rose-50 px-4 py-2.5 text-left shadow-soft dark:border-amber-500/30 dark:from-amber-900/30 dark:via-amber-900/20 dark:to-amber-900/10">
<div className="flex items-start gap-2.5">
<div className="mt-px flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-amber-100 text-base dark:bg-amber-500/20">
🎉
@@ -116,7 +116,7 @@ export function PromotionalCreditsBanner({ promoCredits }: { promoCredits: numbe
export function EarlyBirdyBanner({ onDismiss }: { onDismiss?: () => void }) {
const { t } = useT();
return (
- <div className="relative mb-3 mt-3 rounded-2xl border border-orange-200 bg-gradient-to-r from-orange-50 via-amber-50 to-orange-50 px-4 py-4 text-left shadow-soft dark:border-orange-500/30 dark:from-orange-900/30 dark:via-amber-900/20 dark:to-orange-900/10">
+ <div className="relative mb-3 mt-3 rounded-2xl border border-orange-200 bg-linear-to-r from-orange-50 via-amber-50 to-orange-50 px-4 py-4 text-left shadow-soft dark:border-orange-500/30 dark:from-orange-900/30 dark:via-amber-900/20 dark:to-orange-900/10">
{onDismiss && (
<button
type="button"
@@ -163,7 +163,7 @@ export function DiscordBanner() {
onClick={() => {
void openUrl(DISCORD_INVITE_URL);
}}
- className="mb-3 text-left mt-3 block w-full rounded-2xl border border-[#CDD2FF] bg-gradient-to-r from-[#F6F7FF] via-[#F1F3FF] to-[#ECEFFF] px-4 py-2.5 text-[#414AAE] shadow-soft transition-transform transition-colors hover:-translate-y-0.5 hover:border-[#BCC3FF] hover:from-[#EEF0FF] hover:to-[#E5E9FF] dark:border-[#5865F2]/30 dark:from-[#5865F2]/10 dark:via-[#5865F2]/15 dark:to-[#5865F2]/10 dark:text-[#A5B0FF] dark:hover:border-[#5865F2]/50 dark:hover:from-[#5865F2]/15 dark:hover:to-[#5865F2]/20">
+ className="mb-3 text-left mt-3 block w-full rounded-2xl border border-[#CDD2FF] bg-linear-to-r from-[#F6F7FF] via-[#F1F3FF] to-[#ECEFFF] px-4 py-2.5 text-[#414AAE] shadow-soft transition-transform transition-colors hover:-translate-y-0.5 hover:border-[#BCC3FF] hover:from-[#EEF0FF] hover:to-[#E5E9FF] dark:border-[#5865F2]/30 dark:from-[#5865F2]/10 dark:via-[#5865F2]/15 dark:to-[#5865F2]/10 dark:text-[#A5B0FF] dark:hover:border-[#5865F2]/50 dark:hover:from-[#5865F2]/15 dark:hover:to-[#5865F2]/20">
<div className="flex items-center gap-2.5">
<div className="flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-[#5865F2]/12 text-[#5865F2]">
<svg className="h-4 w-4" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
diff --git a/app/src/components/intelligence/ActionableCard.tsx b/app/src/components/intelligence/ActionableCard.tsx
index 3daf445be3..e1c8299d9e 100644
--- a/app/src/components/intelligence/ActionableCard.tsx
+++ b/app/src/components/intelligence/ActionableCard.tsx
@@ -89,7 +89,7 @@ function SnoozeDropdownPortal({ isOpen, buttonRef, onClose, onSnooze }: SnoozeDr
<div
ref={dropdownRef}
data-snooze-dropdown
- className="fixed py-1 bg-surface border border-line rounded-lg shadow-xl min-w-[120px] z-[9999] animate-fade-in"
+ className="fixed py-1 bg-surface border border-line rounded-lg shadow-xl min-w-[120px] z-9999 animate-fade-in"
style={{ top: position.top, left: position.left }}>
{SNOOZE_OPTIONS.map(option => (
<Button
@@ -268,7 +268,7 @@ export function ActionableCard({
{/* Main content row */}
<div className="flex items-start gap-3">
{/* Icon */}
- <div className="w-8 h-8 flex items-center justify-center text-content-secondary flex-shrink-0 mt-0.5">
+ <div className="w-8 h-8 flex items-center justify-center text-content-secondary shrink-0 mt-0.5">
{sourceIcon}
</div>
@@ -285,7 +285,7 @@ export function ActionableCard({
</div>
{/* Action buttons */}
- <div className="flex items-center gap-1 flex-shrink-0">
+ <div className="flex items-center gap-1 shrink-0">
{/* Complete button */}
<Button
variant="tertiary"
diff --git a/app/src/components/intelligence/AddMemorySourceFields.tsx b/app/src/components/intelligence/AddMemorySourceFields.tsx
index b33f5ab224..eea9a5e48c 100644
--- a/app/src/components/intelligence/AddMemorySourceFields.tsx
+++ b/app/src/components/intelligence/AddMemorySourceFields.tsx
@@ -476,7 +476,7 @@ function ComposioPicker({
onKeyDown={onButtonKeyDown}
className="flex w-full items-center justify-between rounded-md border border-line-strong
bg-surface px-3 py-2 text-left text-sm text-content
- focus:border-primary-400 focus:outline-none focus:ring-1 focus:ring-primary-400
+ focus:border-primary-400 focus:outline-hidden focus:ring-1 focus:ring-primary-400
dark:bg-surface-muted dark:text-content
dark:focus:border-primary-500">
<span className={selected ? '' : 'text-content-faint'}>
@@ -498,7 +498,7 @@ function ComposioPicker({
onKeyDown={onListKeyDown}
data-testid="composio-connection-listbox"
className="absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md border
- border-line bg-surface py-1 shadow-lg focus:outline-none
+ border-line bg-surface py-1 shadow-lg focus:outline-hidden
dark:border-line-strong dark:bg-surface-muted">
{entries.map((entry, index) => {
const isSelected = entry.conn.id === connectionId;
diff --git a/app/src/components/intelligence/ConfirmationModal.tsx b/app/src/components/intelligence/ConfirmationModal.tsx
index 4edb1c79e6..456fdff83d 100644
--- a/app/src/components/intelligence/ConfirmationModal.tsx
+++ b/app/src/components/intelligence/ConfirmationModal.tsx
@@ -62,7 +62,7 @@ export function ConfirmationModal({ modal, onClose }: ConfirmationModalProps) {
<div className="p-6 pb-4">
<div className="flex items-center gap-3">
{modal.destructive && (
- <div className="w-10 h-10 rounded-full bg-coral-50 dark:bg-coral-500/10 flex items-center justify-center flex-shrink-0">
+ <div className="w-10 h-10 rounded-full bg-coral-50 dark:bg-coral-500/10 flex items-center justify-center shrink-0">
<svg
className="w-5 h-5 text-coral-400"
fill="none"
diff --git a/app/src/components/intelligence/HarnessGlyph.tsx b/app/src/components/intelligence/HarnessGlyph.tsx
index 3d6bc259ce..99151005ef 100644
--- a/app/src/components/intelligence/HarnessGlyph.tsx
+++ b/app/src/components/intelligence/HarnessGlyph.tsx
@@ -22,7 +22,7 @@ const GLYPH: Record<GlyphKind, { label: string; tone: string }> = {
gemini: { label: 'G', tone: 'bg-primary-500 text-content-inverted' },
// Literal hex (Tailwind's slate-800) rather than the `bg-slate-*` utility —
// this is cursor's brand identity color, not a themed neutral surface.
- cursor: { label: 'Cu', tone: 'bg-[#1e293b] text-content-inverted' },
+ cursor: { label: 'Cu', tone: 'bg-slate-800 text-content-inverted' },
windsurf: { label: 'Ws', tone: 'bg-teal-500 text-content-inverted' },
openhuman: { label: 'OH', tone: 'bg-sage-500 text-content-inverted' },
};
diff --git a/app/src/components/intelligence/MemoryGraph.tsx b/app/src/components/intelligence/MemoryGraph.tsx
index 916fa89751..33e1c01c0f 100644
--- a/app/src/components/intelligence/MemoryGraph.tsx
+++ b/app/src/components/intelligence/MemoryGraph.tsx
@@ -658,7 +658,7 @@ export function MemoryGraph({
size="xs"
onClick={resetView}
data-testid="memory-graph-reset-view"
- className="text-[11px] shadow-sm">
+ className="text-[11px] shadow-xs">
{t('graph.resetView')}
</Button>
</div>
@@ -823,7 +823,7 @@ export function MemoryGraph({
data-testid={`memory-graph-preview-${hovered.id}`}
disabled={previewingPath === hoveredSummaryPath}
onClick={() => void previewSummary(hovered)}
- className="ml-3 text-[11px] shadow-sm">
+ className="ml-3 text-[11px] shadow-xs">
{previewingPath === hoveredSummaryPath
? t('migration.previewRunning')
: t('migration.previewAction')}
diff --git a/app/src/components/intelligence/MemoryInsights.tsx b/app/src/components/intelligence/MemoryInsights.tsx
index b9c69a2e9c..d5d4feeb55 100644
--- a/app/src/components/intelligence/MemoryInsights.tsx
+++ b/app/src/components/intelligence/MemoryInsights.tsx
@@ -255,7 +255,7 @@ export function MemoryInsights({ relations, loading }: MemoryInsightsProps) {
showChevron={false}
className="h-auto gap-2 p-0 font-normal mb-2 hover:bg-transparent">
<div
- className={`w-7 h-7 rounded-md ${group.bgColor} flex items-center justify-center flex-shrink-0`}>
+ className={`w-7 h-7 rounded-md ${group.bgColor} flex items-center justify-center shrink-0`}>
<svg
className={`w-4 h-4 ${group.color}`}
fill="none"
diff --git a/app/src/components/intelligence/MemorySourceRow.tsx b/app/src/components/intelligence/MemorySourceRow.tsx
index bf3c9b44aa..e348c004c6 100644
--- a/app/src/components/intelligence/MemorySourceRow.tsx
+++ b/app/src/components/intelligence/MemorySourceRow.tsx
@@ -175,7 +175,7 @@ export function MemorySourceRow({
className="inline-flex items-start gap-1 rounded-md bg-coral-50 px-2 py-0.5 text-xs font-medium text-coral-700 dark:bg-coral-500/10 dark:text-coral-300"
title={result.reason ?? undefined}>
<WarnIcon />
- <span className="break-words">
+ <span className="wrap-break-word">
{t('memorySources.sync.failedLabel')}
{result.reason ? `: ${result.reason}` : ''}
</span>
@@ -211,7 +211,7 @@ export function MemorySourceRow({
{health.issues.map(issue => (
<div key={issue} className="flex items-start gap-1.5">
<WarnIcon />
- <span className="break-words">{t(pipelineIssueMessageKey(issue))}</span>
+ <span className="wrap-break-word">{t(pipelineIssueMessageKey(issue))}</span>
</div>
))}
<div className="mt-0.5 flex flex-wrap items-center gap-x-3 gap-y-1 pl-[18px]">
diff --git a/app/src/components/intelligence/ObsidianVaultSection.tsx b/app/src/components/intelligence/ObsidianVaultSection.tsx
index d2c82684d8..dd64095ec2 100644
--- a/app/src/components/intelligence/ObsidianVaultSection.tsx
+++ b/app/src/components/intelligence/ObsidianVaultSection.tsx
@@ -267,7 +267,7 @@ export function ObsidianVaultSection({ contentRootAbs, onToast }: ObsidianVaultS
}
console.debug('[ui-flow][obsidian-vault] dismiss: outside click');
}}
- className="absolute right-0 top-full z-20 mt-2 w-[36rem] max-w-[calc(100vw-2rem)]
+ className="absolute right-0 top-full z-20 mt-2 w-xl max-w-[calc(100vw-2rem)]
rounded-lg border border-violet-200 bg-violet-50 p-4 pr-10 text-sm shadow-xl
dark:border-violet-500/30 dark:bg-violet-950">
<PopoverClose asChild>
diff --git a/app/src/components/intelligence/OrchestrationChatPrimitives.tsx b/app/src/components/intelligence/OrchestrationChatPrimitives.tsx
index cf5e184fcd..05fa00f5dc 100644
--- a/app/src/components/intelligence/OrchestrationChatPrimitives.tsx
+++ b/app/src/components/intelligence/OrchestrationChatPrimitives.tsx
@@ -166,7 +166,7 @@ export function MessageBubble({ message }: { message: ChatMessage }): ReactEleme
<span className="text-[10px] text-content-faint">{formatTime(message.timestamp)}</span>
</div>
<p
- className={`mt-1 max-h-64 overflow-y-auto whitespace-pre-wrap break-words ${
+ className={`mt-1 max-h-64 overflow-y-auto whitespace-pre-wrap wrap-break-word ${
style.mono ? 'font-mono text-xs' : 'text-sm'
} ${message.encrypted ? 'text-content-muted' : style.tone}`}>
{message.body}
diff --git a/app/src/components/intelligence/TeamActivityRail.tsx b/app/src/components/intelligence/TeamActivityRail.tsx
index 962113e928..d0859e257e 100644
--- a/app/src/components/intelligence/TeamActivityRail.tsx
+++ b/app/src/components/intelligence/TeamActivityRail.tsx
@@ -98,7 +98,7 @@ export function TeamActivityRail({ messages, members, onSend, sending }: TeamAct
{' → '}
{nameFor(message.payload.to)}
</div>
- <p className="break-words text-[11px] leading-snug text-content-secondary">
+ <p className="wrap-break-word text-[11px] leading-snug text-content-secondary">
{message.payload.content}
</p>
</div>
diff --git a/app/src/components/intelligence/TeamHeader.tsx b/app/src/components/intelligence/TeamHeader.tsx
index bc6c9be8d9..58cf059910 100644
--- a/app/src/components/intelligence/TeamHeader.tsx
+++ b/app/src/components/intelligence/TeamHeader.tsx
@@ -60,7 +60,7 @@ export function TeamHeader({
<div className="rounded-lg border border-line bg-surface px-3 py-2.5">
<div className="flex flex-wrap items-start justify-between gap-3">
<div className="min-w-0">
- <div className="break-words text-sm font-semibold text-content">{title}</div>
+ <div className="wrap-break-word text-sm font-semibold text-content">{title}</div>
<div className="mt-0.5 text-[11px] text-content-muted">
{t('intelligence.teams.header.lead')}{' '}
<span className="font-mono text-primary-600 dark:text-primary-300">
@@ -86,7 +86,7 @@ export function TeamHeader({
{member.name.charAt(0).toUpperCase()}
</AvatarFallback>
</AvatarRoot>
- <span className="max-w-[7rem] truncate">{member.name}</span>
+ <span className="max-w-28 truncate">{member.name}</span>
<span
className={`h-1.5 w-1.5 flex-none rounded-full ${MEMBER_STATUS_DOT[member.memberStatus]}`}
/>
diff --git a/app/src/components/intelligence/Toast.tsx b/app/src/components/intelligence/Toast.tsx
index 76caf1a0ef..1e50dc130c 100644
--- a/app/src/components/intelligence/Toast.tsx
+++ b/app/src/components/intelligence/Toast.tsx
@@ -103,7 +103,7 @@ function Toast({ notification, onRemove }: ToastProps) {
${styles}
`}>
{/* Icon */}
- <div className={`flex-shrink-0 ${iconStyle}`}>{icon}</div>
+ <div className={`shrink-0 ${iconStyle}`}>{icon}</div>
{/* Content */}
<div className="flex-1 min-w-0">
@@ -119,7 +119,7 @@ function Toast({ notification, onRemove }: ToastProps) {
variant="tertiary"
size="xs"
onClick={notification.action.handler}
- className="underline hover:no-underline flex-shrink-0 px-0 h-auto">
+ className="underline hover:no-underline shrink-0 px-0 h-auto">
{notification.action.label}
</Button>
)}
@@ -131,7 +131,7 @@ function Toast({ notification, onRemove }: ToastProps) {
iconOnly
aria-label="Dismiss notification"
onClick={handleRemove}
- className="flex-shrink-0 text-content-faint hover:text-content-secondary">
+ className="shrink-0 text-content-faint hover:text-content-secondary">
<CloseIcon className="w-4 h-4" />
</Button>
</div>
diff --git a/app/src/components/intelligence/WhatsAppMemorySection.tsx b/app/src/components/intelligence/WhatsAppMemorySection.tsx
index 79c5a1d2a6..1573ab653a 100644
--- a/app/src/components/intelligence/WhatsAppMemorySection.tsx
+++ b/app/src/components/intelligence/WhatsAppMemorySection.tsx
@@ -48,7 +48,7 @@ export function WhatsAppMemorySection({ pollIntervalMs = 30000 }: WhatsAppMemory
return (
<div
- className="rounded-xl border border-line-subtle bg-surface px-4 py-3 shadow-sm"
+ className="rounded-xl border border-line-subtle bg-surface px-4 py-3 shadow-xs"
data-testid="whatsapp-memory-section">
<div className="flex items-center justify-between gap-3">
<div className="flex items-center gap-2 min-w-0">
diff --git a/app/src/components/intelligence/WorkflowRunApprovalCard.tsx b/app/src/components/intelligence/WorkflowRunApprovalCard.tsx
index 08954ad6ed..1e2c99911e 100644
--- a/app/src/components/intelligence/WorkflowRunApprovalCard.tsx
+++ b/app/src/components/intelligence/WorkflowRunApprovalCard.tsx
@@ -62,7 +62,7 @@ const WorkflowRunApprovalCard: React.FC<Props> = ({
role="alertdialog"
aria-label={t('orchestration.approval.title')}
data-testid="workflow-approval-card"
- className="rounded-xl border border-amber-300 bg-amber-50 p-4 text-sm shadow-sm dark:border-amber-700 dark:bg-amber-950">
+ className="rounded-xl border border-amber-300 bg-amber-50 p-4 text-sm shadow-xs dark:border-amber-700 dark:bg-amber-950">
<div className="flex items-start gap-2">
<span aria-hidden className="text-base leading-none">
⚠️
@@ -71,7 +71,7 @@ const WorkflowRunApprovalCard: React.FC<Props> = ({
<p className="font-semibold text-amber-900 dark:text-amber-200">
{t('orchestration.approval.title')}
</p>
- <p className="mt-1 break-words text-amber-800/90 dark:text-amber-200/90">
+ <p className="mt-1 wrap-break-word text-amber-800/90 dark:text-amber-200/90">
{t('orchestration.approval.body')}{' '}
<span className="font-semibold">{definition.name}</span>
</p>
diff --git a/app/src/components/intelligence/WorkflowRunDetail.tsx b/app/src/components/intelligence/WorkflowRunDetail.tsx
index 4557694b46..2b0755e335 100644
--- a/app/src/components/intelligence/WorkflowRunDetail.tsx
+++ b/app/src/components/intelligence/WorkflowRunDetail.tsx
@@ -229,7 +229,7 @@ const WorkflowRunDetail: React.FC<Props> = ({
</span>
</div>
{out.output && (
- <p className="mt-1 whitespace-pre-wrap break-words text-xs leading-snug text-content-secondary">
+ <p className="mt-1 whitespace-pre-wrap wrap-break-word text-xs leading-snug text-content-secondary">
{out.output}
</p>
)}
@@ -260,7 +260,7 @@ const WorkflowRunDetail: React.FC<Props> = ({
<p className="mb-1 text-xs font-semibold text-sage-800 dark:text-sage-200">
{t('orchestration.detail.synthesis')}
</p>
- <p className="whitespace-pre-wrap break-words text-sm leading-snug text-content-secondary">
+ <p className="whitespace-pre-wrap wrap-break-word text-sm leading-snug text-content-secondary">
{run.summary}
</p>
</div>
diff --git a/app/src/components/intelligence/WorkflowsTab.tsx b/app/src/components/intelligence/WorkflowsTab.tsx
index c838c4a39f..b4588cdd1d 100644
--- a/app/src/components/intelligence/WorkflowsTab.tsx
+++ b/app/src/components/intelligence/WorkflowsTab.tsx
@@ -114,7 +114,7 @@ export default function WorkflowsTab({ asSettingsPanel = false }: WorkflowsTabPr
<h2 className="text-sm font-semibold text-coral-800 dark:text-coral-200">
{t('common.error')}
</h2>
- <p className="mt-1 break-words font-mono text-[11px] text-coral-700/90 dark:text-coral-300/90">
+ <p className="mt-1 wrap-break-word font-mono text-[11px] text-coral-700/90 dark:text-coral-300/90">
{loadError}
</p>
<Button
@@ -283,7 +283,7 @@ export default function WorkflowsTab({ asSettingsPanel = false }: WorkflowsTabPr
<div className="space-y-4">
<div className="flex items-center justify-between gap-2">
<p className="min-w-0 text-xs text-content-muted">{t('workflows.subtitle')}</p>
- <div className="flex flex-shrink-0 items-center gap-2">{newWorkflowButton}</div>
+ <div className="flex shrink-0 items-center gap-2">{newWorkflowButton}</div>
</div>
{body}
</div>
diff --git a/app/src/components/intelligence/seedSvgLayout.test.ts b/app/src/components/intelligence/seedSvgLayout.test.ts
index 4098244df6..698130a75a 100644
--- a/app/src/components/intelligence/seedSvgLayout.test.ts
+++ b/app/src/components/intelligence/seedSvgLayout.test.ts
@@ -86,7 +86,7 @@ describe('seedSvgLayout — new nodes', () => {
expect(dist).toBeLessThanOrEqual(25); // within the small offset of the parent
});
- it('falls back to the ring when a new node’s parent is also new (not in prev)', () => {
+ it('falls back to the ring-3 when a new node’s parent is also new (not in prev)', () => {
const nodes = [sum('a', 's'), chunk('c', 'a')]; // neither in prev
const r = seedSvgLayout(nodes, [], 'tree', NO_PREV);
expect(r.positions[1].isNew).toBe(true);
@@ -95,7 +95,7 @@ describe('seedSvgLayout — new nodes', () => {
expect(r.positions[1]).not.toEqual(r.positions[0]);
});
- it('falls back to the ring for a parent-less new node', () => {
+ it('falls back to the ring-3 for a parent-less new node', () => {
const nodes = [src('s')];
const r = seedSvgLayout(nodes, [], 'tree', NO_PREV);
expect(r.positions[0].isNew).toBe(true);
diff --git a/app/src/components/ios/MobileTabBar.tsx b/app/src/components/ios/MobileTabBar.tsx
index b459884d05..c2392aafaf 100644
--- a/app/src/components/ios/MobileTabBar.tsx
+++ b/app/src/components/ios/MobileTabBar.tsx
@@ -81,7 +81,7 @@ const MobileTabBar = () => {
return (
<nav
- className="flex-shrink-0 flex justify-around items-stretch border-t border-neutral-800 bg-[#0f1117]/95 backdrop-blur-md"
+ className="shrink-0 flex justify-around items-stretch border-t border-neutral-800 bg-[#0f1117]/95 backdrop-blur-md"
style={{ paddingBottom: 'env(safe-area-inset-bottom)' }}
aria-label={t('mobile.nav.ariaLabel')}>
{tabs.map(tab => {
diff --git a/app/src/components/keyring/KeyringConsentOverlay.tsx b/app/src/components/keyring/KeyringConsentOverlay.tsx
index 86fb2e6db1..ed2d813da4 100644
--- a/app/src/components/keyring/KeyringConsentOverlay.tsx
+++ b/app/src/components/keyring/KeyringConsentOverlay.tsx
@@ -58,7 +58,7 @@ const KeyringConsentOverlay = () => {
const failureReason = keyringStatus.failureReason;
return (
- <div className="fixed inset-0 z-[10000] bg-stone-950/80 backdrop-blur-sm flex items-center justify-center p-4">
+ <div className="fixed inset-0 z-10000 bg-stone-950/80 backdrop-blur-sm flex items-center justify-center p-4">
<div
role="dialog"
aria-modal="true"
diff --git a/app/src/components/layout/PageSectionHeader.tsx b/app/src/components/layout/PageSectionHeader.tsx
index 1afe14db8e..07f4218b9b 100644
--- a/app/src/components/layout/PageSectionHeader.tsx
+++ b/app/src/components/layout/PageSectionHeader.tsx
@@ -59,7 +59,7 @@ export default function PageSectionHeader({
<p className="mt-0.5 text-sm text-content-muted">{description}</p>
)}
</div>
- {action != null && <div className="flex-shrink-0">{action}</div>}
+ {action != null && <div className="shrink-0">{action}</div>}
</div>
{tabs != null && <div className="mt-3">{tabs}</div>}
</header>
diff --git a/app/src/components/layout/PanelHeader.tsx b/app/src/components/layout/PanelHeader.tsx
index 82ecf9f239..5281999778 100644
--- a/app/src/components/layout/PanelHeader.tsx
+++ b/app/src/components/layout/PanelHeader.tsx
@@ -7,7 +7,7 @@ import { cn } from '../../lib/cn';
* Fixed padding for the band — kept as a named export (rather than inlined
* into {@link panelHeaderVariants}) because callers historically imported it
* directly to restate the default when they also needed to add a class like
- * `flex-shrink-0`. `className` now merges through {@link cn} instead of
+ * `shrink-0`. `className` now merges through {@link cn} instead of
* replacing the band's own classes (see the fix below), so restating this is
* no longer necessary, but the export stays for anyone still doing it.
*/
@@ -44,7 +44,7 @@ export interface PanelHeaderProps extends VariantProps<typeof panelHeaderVariant
children?: ReactNode;
/**
* Merged (via `cn`, last-wins) onto the band's own padding + background —
- * NOT a replacement. Pass `flex-shrink-0` to opt into a flex-column parent
+ * NOT a replacement. Pass `shrink-0` to opt into a flex-column parent
* without needing to restate the padding.
*/
className?: string;
@@ -86,7 +86,7 @@ export default function PanelHeader({
<h2 className="truncate text-base font-semibold text-content">{title}</h2>
)}
</div>
- {action != null && <div className="flex-shrink-0">{action}</div>}
+ {action != null && <div className="shrink-0">{action}</div>}
</div>
)}
diff --git a/app/src/components/layout/PanelPage.tsx b/app/src/components/layout/PanelPage.tsx
index 45a26e7e08..f57b5fa68f 100644
--- a/app/src/components/layout/PanelPage.tsx
+++ b/app/src/components/layout/PanelPage.tsx
@@ -177,7 +177,7 @@ export default function PanelPage<T extends string = string>({
description={description}
leading={leading}
action={action}
- className="flex-shrink-0">
+ className="shrink-0">
{headerExtra}
<ChipTabs
className="flex flex-wrap gap-1.5 pt-2"
diff --git a/app/src/components/layout/PanelScaffold.tsx b/app/src/components/layout/PanelScaffold.tsx
index 23d29707d2..49e234381a 100644
--- a/app/src/components/layout/PanelScaffold.tsx
+++ b/app/src/components/layout/PanelScaffold.tsx
@@ -122,7 +122,7 @@ export default function PanelScaffold({
leading={leading}
action={action}
tone={headerTone}
- className={cn('flex-shrink-0', headerClassName)}>
+ className={cn('shrink-0', headerClassName)}>
{headerExtra}
</PanelHeader>
)}
diff --git a/app/src/components/layout/TwoPanelLayout.tsx b/app/src/components/layout/TwoPanelLayout.tsx
index 36fb696022..8c67a888ab 100644
--- a/app/src/components/layout/TwoPanelLayout.tsx
+++ b/app/src/components/layout/TwoPanelLayout.tsx
@@ -234,7 +234,7 @@ export default function TwoPanelLayout({
{isOpen && (
<>
<div
- className={`flex-shrink-0 min-w-0 overflow-hidden ${paneCard} ${sidebarClassName}`}
+ className={`shrink-0 min-w-0 overflow-hidden ${paneCard} ${sidebarClassName}`}
style={{ width }}
data-testid={`two-panel-sidebar-${id}`}>
{sidebar}
@@ -257,8 +257,8 @@ export default function TwoPanelLayout({
seamless
? // Flush hairline seam: 1px visible line, wider invisible hit
// area, highlights on hover/focus.
- 'group relative w-px flex-shrink-0 cursor-col-resize select-none self-stretch bg-surface-strong focus:outline-none'
- : `group relative flex flex-shrink-0 cursor-col-resize select-none items-center justify-center self-stretch focus:outline-none ${
+ 'group relative w-px shrink-0 cursor-col-resize select-none self-stretch bg-surface-strong focus:outline-hidden'
+ : `group relative flex shrink-0 cursor-col-resize select-none items-center justify-center self-stretch focus:outline-hidden ${
// Tighter gutter between panes when there's no visible handle.
showDividerHandle ? 'mx-1 w-3' : 'mx-0 w-1.5'
}`
@@ -301,7 +301,7 @@ export default function TwoPanelLayout({
// A full-height 24px seam grip rather than a button footprint: the
// height, width and square corners are overridden, the focus ring and
// hover fill come from Button.
- className="h-auto w-6 flex-shrink-0 self-stretch rounded-none text-content-faint hover:text-primary-500">
+ className="h-auto w-6 shrink-0 self-stretch rounded-none text-content-faint hover:text-primary-500">
<LuChevronRight className="w-4 h-4" aria-hidden />
</Button>
)}
diff --git a/app/src/components/layout/shell/ContentSurface.tsx b/app/src/components/layout/shell/ContentSurface.tsx
index b5ea864f23..6d8d82cfd6 100644
--- a/app/src/components/layout/shell/ContentSurface.tsx
+++ b/app/src/components/layout/shell/ContentSurface.tsx
@@ -34,7 +34,7 @@ interface ContentSurfaceProps {
* consistent background across every theme.
*
* The geometry is the `SidebarInset` primitive: the framed default is the same
- * even 12px inset, 2xl radius and `content-edge` inset-shadow this file used to
+ * even 12px inset, 2xl radius and `content-edge` inset-shadow-sm this file used to
* spell out, and `unframed` maps onto the primitive's own flag. The primitive
* reads no sidebar context, so this stays renderable outside a
* `SidebarProvider` — several page-level tests mount it on its own.
diff --git a/app/src/components/layout/shell/RootShellLayout.tsx b/app/src/components/layout/shell/RootShellLayout.tsx
index 733ebfe651..c27fba9f9b 100644
--- a/app/src/components/layout/shell/RootShellLayout.tsx
+++ b/app/src/components/layout/shell/RootShellLayout.tsx
@@ -161,7 +161,7 @@ export default function RootShellLayout({ sidebar, children, unframed }: RootShe
function detach() {
window.removeEventListener('pointerup', stop);
window.removeEventListener('pointercancel', stop);
- window.removeEventListener('blur', stop);
+ window.removeEventListener('blur-sm', stop);
document.body.style.removeProperty('cursor');
document.body.style.removeProperty('user-select');
draggingRef.current = false;
diff --git a/app/src/components/layout/shell/SidebarNav.tsx b/app/src/components/layout/shell/SidebarNav.tsx
index 05286bfe65..5e2cdf8f95 100644
--- a/app/src/components/layout/shell/SidebarNav.tsx
+++ b/app/src/components/layout/shell/SidebarNav.tsx
@@ -74,8 +74,8 @@ export default function SidebarNav() {
// `SidebarGroup` supplies the px-2/py-1 flex-column band that used to sit
// directly on `<nav>`; the semantic landmark element stays a plain `<nav>`
// (no primitive substitutes for that a11y role) and picks up
- // `flex-shrink-0` so the caller no longer needs a wrapping div for it.
- <nav className="flex-shrink-0" aria-label={t('nav.home')}>
+ // `shrink-0` so the caller no longer needs a wrapping div for it.
+ <nav className="shrink-0" aria-label={t('nav.home')}>
<SidebarGroup>
<SidebarMenu>
{tabs.map(tab => {
diff --git a/app/src/components/markdown/CodeBlock.tsx b/app/src/components/markdown/CodeBlock.tsx
index 0a2693791c..4335ef169d 100644
--- a/app/src/components/markdown/CodeBlock.tsx
+++ b/app/src/components/markdown/CodeBlock.tsx
@@ -124,7 +124,7 @@ function CodeBlockPre({ children, tone, ...rest }: CodeBlockPreProps) {
{/* Code body — rehype-highlight has already applied hljs classes */}
<pre
{...rest}
- className={`${rest.className ?? ''} !my-0 !rounded-none overflow-x-auto px-3 py-2.5 ${
+ className={`${rest.className ?? ''} my-0! rounded-none! overflow-x-auto px-3 py-2.5 ${
tone === 'user' ? 'bg-white/10' : 'bg-stone-300/50 dark:bg-neutral-800/60'
}`}>
{children}
diff --git a/app/src/components/notifications/CoreNotificationCard.tsx b/app/src/components/notifications/CoreNotificationCard.tsx
index ebf08e4ca8..066d56f10e 100644
--- a/app/src/components/notifications/CoreNotificationCard.tsx
+++ b/app/src/components/notifications/CoreNotificationCard.tsx
@@ -42,7 +42,7 @@ const CoreNotificationCard = ({ notification: n }: Props) => {
data-testid="core-notification-card">
<div className="flex items-start gap-3">
{/* Unread dot — reserve space so text stays aligned whether read or unread */}
- <div className="mt-1.5 flex-shrink-0 w-2">
+ <div className="mt-1.5 shrink-0 w-2">
{!n.read && (
<span className="block w-2 h-2 rounded-full bg-primary-500" aria-hidden="true" />
)}
@@ -54,7 +54,7 @@ const CoreNotificationCard = ({ notification: n }: Props) => {
<span className="inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium border bg-surface-subtle text-content-secondary border-line">
{t(`notifications.category.${n.category}`)}
</span>
- <span className="ml-auto text-[11px] text-content-faint flex-shrink-0">
+ <span className="ml-auto text-[11px] text-content-faint shrink-0">
{relativeTime(n.timestamp)}
</span>
</div>
diff --git a/app/src/components/notifications/FlowApprovalCard.tsx b/app/src/components/notifications/FlowApprovalCard.tsx
index 8897e7dcbc..86b78289b7 100644
--- a/app/src/components/notifications/FlowApprovalCard.tsx
+++ b/app/src/components/notifications/FlowApprovalCard.tsx
@@ -160,7 +160,7 @@ const FlowApprovalCard = ({ notification: n }: Props) => {
role="alertdialog"
aria-label={t('notifications.flow.approveTitle')}
data-testid="flow-approval-card"
- className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-sm dark:border-amber-700 dark:bg-amber-950">
+ className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-xs dark:border-amber-700 dark:bg-amber-950">
<div className="flex items-start gap-2">
<span aria-hidden className="text-base leading-none">
⚠️
@@ -170,7 +170,7 @@ const FlowApprovalCard = ({ notification: n }: Props) => {
{t('notifications.flow.approveTitle')}
</p>
{n.body && (
- <p className="mt-1 break-words text-amber-800/90 dark:text-amber-200/90">{n.body}</p>
+ <p className="mt-1 wrap-break-word text-amber-800/90 dark:text-amber-200/90">{n.body}</p>
)}
{gateCount > 0 && (
<p className="mt-1 text-xs text-amber-800/80 dark:text-amber-200/80">
diff --git a/app/src/components/notifications/GateApprovalCard.tsx b/app/src/components/notifications/GateApprovalCard.tsx
index 18e86bd0f3..1da36e7b77 100644
--- a/app/src/components/notifications/GateApprovalCard.tsx
+++ b/app/src/components/notifications/GateApprovalCard.tsx
@@ -105,7 +105,7 @@ const GateApprovalCard = ({ notification: n }: Props) => {
role="alertdialog"
aria-label={t('notifications.flowGate.title')}
data-testid="gate-approval-card"
- className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-sm dark:border-amber-700 dark:bg-amber-950">
+ className="rounded-xl border border-amber-300 bg-amber-50 p-3 text-sm shadow-xs dark:border-amber-700 dark:bg-amber-950">
<div className="flex items-start gap-2">
<span aria-hidden className="text-base leading-none">
🔒
@@ -115,7 +115,7 @@ const GateApprovalCard = ({ notification: n }: Props) => {
{t('notifications.flowGate.title')}
</p>
{(parsed?.summary || n.body) && (
- <p className="mt-1 break-words text-amber-800/90 dark:text-amber-200/90">
+ <p className="mt-1 wrap-break-word text-amber-800/90 dark:text-amber-200/90">
{parsed?.summary || n.body}
</p>
)}
diff --git a/app/src/components/notifications/NotificationCard.tsx b/app/src/components/notifications/NotificationCard.tsx
index 1b2269eb38..e6e205eaa1 100644
--- a/app/src/components/notifications/NotificationCard.tsx
+++ b/app/src/components/notifications/NotificationCard.tsx
@@ -76,7 +76,7 @@ const NotificationCard = ({ notification: n, onMarkRead, onNavigate, onDismiss }
}`}>
<div className="flex items-start gap-3">
{/* Unread dot — reserve space so text stays aligned whether read or unread */}
- <div className="mt-1.5 flex-shrink-0 w-2">
+ <div className="mt-1.5 shrink-0 w-2">
{isUnread && (
<span className="block w-2 h-2 rounded-full bg-primary-500" aria-hidden="true" />
)}
@@ -100,7 +100,7 @@ const NotificationCard = ({ notification: n, onMarkRead, onNavigate, onDismiss }
handleBodyClick();
}
}}
- className="flex-1 min-w-0 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1 rounded-sm">
+ className="flex-1 min-w-0 text-left focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1 rounded-sm">
{/* Header row: provider badge + timestamp */}
<div className="flex items-center gap-2 mb-1">
<span
@@ -125,7 +125,7 @@ const NotificationCard = ({ notification: n, onMarkRead, onNavigate, onDismiss }
</span>
)}
- <span className="ml-auto text-[11px] text-content-faint flex-shrink-0">
+ <span className="ml-auto text-[11px] text-content-faint shrink-0">
{relativeTime(n.received_at)}
</span>
</div>
@@ -148,7 +148,7 @@ const NotificationCard = ({ notification: n, onMarkRead, onNavigate, onDismiss }
variant="tertiary"
size="xs"
onClick={() => onDismiss(n.id)}
- className="mt-0.5 ml-1 flex-shrink-0 text-content-faint hover:text-content-secondary"
+ className="mt-0.5 ml-1 shrink-0 text-content-faint hover:text-content-secondary"
aria-label={t('notifications.card.dismiss')}>
<svg className="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
diff --git a/app/src/components/notifications/NotificationCenter.tsx b/app/src/components/notifications/NotificationCenter.tsx
index e3ed5a4cf1..00cc248b06 100644
--- a/app/src/components/notifications/NotificationCenter.tsx
+++ b/app/src/components/notifications/NotificationCenter.tsx
@@ -169,7 +169,7 @@ const NotificationCenter = () => {
<div className="flex items-center gap-2 px-4 py-2 border-b border-line-subtle overflow-x-auto">
<button
onClick={() => setSelectedProvider(undefined)}
- className={`flex-shrink-0 px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
+ className={`shrink-0 px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
selectedProvider === undefined
? 'bg-primary-500 text-content-inverted'
: 'bg-surface-subtle text-content-secondary hover:bg-surface-strong dark:hover:bg-surface-muted/60'
@@ -180,7 +180,7 @@ const NotificationCenter = () => {
<button
key={p}
onClick={() => setSelectedProvider(p === selectedProvider ? undefined : p)}
- className={`flex-shrink-0 px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
+ className={`shrink-0 px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
selectedProvider === p
? 'bg-primary-500 text-content-inverted'
: 'bg-surface-subtle text-content-secondary hover:bg-surface-strong dark:hover:bg-surface-muted/60'
diff --git a/app/src/components/orchestration/ActiveSubagentsRail.tsx b/app/src/components/orchestration/ActiveSubagentsRail.tsx
index 15b253a90b..c01b599a6f 100644
--- a/app/src/components/orchestration/ActiveSubagentsRail.tsx
+++ b/app/src/components/orchestration/ActiveSubagentsRail.tsx
@@ -135,7 +135,7 @@ export default function ActiveSubagentsRail({
<span className="flex h-6 w-6 items-center justify-center rounded-md border border-line bg-surface-strong text-[10px] font-semibold text-content-secondary">
{address.slice(0, 2).toUpperCase()}
</span>
- <span className="absolute -bottom-0.5 -right-0.5 rounded-full bg-surface-muted p-[1px]">
+ <span className="absolute -bottom-0.5 -right-0.5 rounded-full bg-surface-muted p-px">
<StatusDot state={instanceState(sessions)} />
</span>
</span>
diff --git a/app/src/components/orchestration/AgentChatPanel.tsx b/app/src/components/orchestration/AgentChatPanel.tsx
index ee771c774d..b93d8eac1f 100644
--- a/app/src/components/orchestration/AgentChatPanel.tsx
+++ b/app/src/components/orchestration/AgentChatPanel.tsx
@@ -131,7 +131,7 @@ function ChatPageScaffold({
{footer ? (
<div
aria-hidden="true"
- className="pointer-events-none absolute inset-x-0 bottom-0 z-10 h-28 bg-gradient-to-t from-surface via-surface/90 to-transparent"
+ className="pointer-events-none absolute inset-x-0 bottom-0 z-10 h-28 bg-linear-to-t from-surface via-surface/90 to-transparent"
/>
) : null}
@@ -140,7 +140,7 @@ function ChatPageScaffold({
<div
ref={footerRef}
data-testid="orch-chat-footer"
- className="absolute inset-x-0 bottom-0 z-20 mx-auto w-full max-w-[48.75rem] px-4 pb-4 pt-6">
+ className="absolute inset-x-0 bottom-0 z-20 mx-auto w-full max-w-195 px-4 pb-4 pt-6">
{footer}
</div>
) : null}
@@ -316,7 +316,7 @@ function SessionChatView({ session }: { session: SessionSummary }) {
// Agent metadata, centered to the same width-capped column as the chat.
<div className="border-b border-line bg-surface/60 dark:bg-black/30">
<div
- className="mx-auto w-full max-w-[48.75rem] px-5 py-3"
+ className="mx-auto w-full max-w-195 px-5 py-3"
data-testid="orch-session-header">
<div className="flex items-center gap-2">
<p className="text-sm font-semibold text-content">{sessionLabel(session)}</p>
@@ -373,7 +373,7 @@ function SessionChatView({ session }: { session: SessionSummary }) {
/>
</>
}>
- <div className="mx-auto w-full max-w-[48.75rem] space-y-3 px-5 pt-4">
+ <div className="mx-auto w-full max-w-195 space-y-3 px-5 pt-4">
{state.status === 'loading' ? (
<p className="py-10 text-center text-sm text-content-muted">
{t('tinyplaceOrchestration.loading')}
@@ -511,7 +511,7 @@ export default function AgentChatPanel({
onClick={() => selectChat(chat.id)}
className={`h-auto gap-1.5 rounded-full px-3 py-0.5 text-xs font-medium ${
active
- ? 'bg-surface text-content shadow-sm hover:bg-surface'
+ ? 'bg-surface text-content shadow-xs hover:bg-surface'
: 'text-content-muted hover:bg-transparent hover:text-content-secondary'
}`}>
{label}
@@ -586,11 +586,11 @@ export default function AgentChatPanel({
</div>
) : showHero && pinged.length === 0 ? (
// Empty conscious thread: reuse the generic chat's welcome hero.
- <div className="mx-auto flex h-full w-full max-w-[48.75rem] px-5">
+ <div className="mx-auto flex h-full w-full max-w-195 px-5">
<ChatNewWindowHero />
</div>
) : (
- <div className="mx-auto w-full max-w-[48.75rem] space-y-3 px-5 pt-4">
+ <div className="mx-auto w-full max-w-195 space-y-3 px-5 pt-4">
{selected?.messages.length ? (
<SessionTranscript messages={selected.messages} />
) : showHero ? null : (
diff --git a/app/src/components/orchestration/MedullaOverviewPanel.tsx b/app/src/components/orchestration/MedullaOverviewPanel.tsx
index a4bfb464d8..4d70eb6554 100644
--- a/app/src/components/orchestration/MedullaOverviewPanel.tsx
+++ b/app/src/components/orchestration/MedullaOverviewPanel.tsx
@@ -27,7 +27,7 @@ export default function MedullaOverviewPanel() {
</span>
{/* Wordmark */}
- <h1 className="bg-gradient-to-r from-primary-500 to-primary-700 bg-clip-text text-5xl font-bold tracking-tight text-transparent dark:from-primary-300 dark:to-primary-500">
+ <h1 className="bg-linear-to-r from-primary-500 to-primary-700 bg-clip-text text-5xl font-bold tracking-tight text-transparent dark:from-primary-300 dark:to-primary-500">
{t('orchPage.medulla.title')}
</h1>
<p className="mt-2 text-base font-medium text-content-secondary">
diff --git a/app/src/components/orchestration/SessionTranscript.tsx b/app/src/components/orchestration/SessionTranscript.tsx
index 9e7cccc84c..778ca8019d 100644
--- a/app/src/components/orchestration/SessionTranscript.tsx
+++ b/app/src/components/orchestration/SessionTranscript.tsx
@@ -106,7 +106,7 @@ function UserBubble({ message }: { message: ChatMessage }): ReactElement {
return (
<div className="flex justify-end" data-event-kind="user_prompt">
<div className="flex max-w-[75%] flex-col items-end gap-1">
- <div className="overflow-hidden break-words rounded-2xl rounded-br-md bg-primary-500 px-4 py-2.5 text-content-inverted">
+ <div className="overflow-hidden wrap-break-word rounded-2xl rounded-br-md bg-primary-500 px-4 py-2.5 text-content-inverted">
<p className="whitespace-pre-wrap text-sm leading-relaxed">{message.body}</p>
</div>
<span className="px-1 text-[10px] text-white/60">{formatTime(message.timestamp)}</span>
@@ -227,7 +227,7 @@ function ApprovalRow({
</span>
) : null}
</div>
- <code className="mt-1.5 block overflow-x-auto whitespace-pre-wrap break-words font-mono text-[11px] text-content-secondary">
+ <code className="mt-1.5 block overflow-x-auto whitespace-pre-wrap wrap-break-word font-mono text-[11px] text-content-secondary">
{message.body}
</code>
{decided ? (
diff --git a/app/src/components/orchestration/demo/DemoScaleBanner.tsx b/app/src/components/orchestration/demo/DemoScaleBanner.tsx
index 2a563b1a22..4a0a831d73 100644
--- a/app/src/components/orchestration/demo/DemoScaleBanner.tsx
+++ b/app/src/components/orchestration/demo/DemoScaleBanner.tsx
@@ -14,7 +14,7 @@ export default function DemoScaleBanner({ className }: { className?: string }) {
data-testid="orch-demo-banner"
className={`flex items-center gap-2.5 rounded-xl border border-dashed border-primary-300 bg-primary-50/70 px-3.5 py-2.5 text-xs font-medium text-primary-800 dark:border-primary-500/40 dark:bg-primary-500/10 dark:text-primary-200 ${className ?? ''}`}>
<svg
- className="h-4 w-4 flex-shrink-0 text-primary-500"
+ className="h-4 w-4 shrink-0 text-primary-500"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
diff --git a/app/src/components/orchestration/demo/MedullaDemoChat.tsx b/app/src/components/orchestration/demo/MedullaDemoChat.tsx
index 1175ffc686..fd5ac0b53c 100644
--- a/app/src/components/orchestration/demo/MedullaDemoChat.tsx
+++ b/app/src/components/orchestration/demo/MedullaDemoChat.tsx
@@ -23,7 +23,7 @@ export default function MedullaDemoChat() {
// Sub-agent activity line — a compact, centered status row.
return (
<div key={msg.id} className="flex items-center justify-center gap-2">
- <span className="h-1.5 w-1.5 flex-shrink-0 animate-pulse rounded-full bg-primary-500" />
+ <span className="h-1.5 w-1.5 shrink-0 animate-pulse rounded-full bg-primary-500" />
<span className="font-mono text-[11px] text-content-muted">{t(msg.textKey)}</span>
</div>
);
@@ -59,7 +59,7 @@ export default function MedullaDemoChat() {
iconOnly
disabled
aria-label={t('orchPage.demo.chat.composerDisabled')}
- className="h-9 w-9 flex-shrink-0 cursor-not-allowed rounded-xl bg-surface-subtle text-content-faint disabled:pointer-events-auto disabled:opacity-100">
+ className="h-9 w-9 shrink-0 cursor-not-allowed rounded-xl bg-surface-subtle text-content-faint disabled:pointer-events-auto disabled:opacity-100">
<svg className="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
strokeLinecap="round"
diff --git a/app/src/components/rewards/RewardsCommunityTab.tsx b/app/src/components/rewards/RewardsCommunityTab.tsx
index 4bd154b4ce..7169832755 100644
--- a/app/src/components/rewards/RewardsCommunityTab.tsx
+++ b/app/src/components/rewards/RewardsCommunityTab.tsx
@@ -263,7 +263,7 @@ export default function RewardsCommunityTab({
return (
<>
- <section className="relative overflow-hidden rounded-[1.25rem] bg-gradient-to-br from-[#004ad0] to-[#2b64f1] p-6 text-content-inverted shadow-[0_20px_40px_rgba(25,28,30,0.08)]">
+ <section className="relative overflow-hidden rounded-3xl bg-linear-to-br from-[#004ad0] to-[#2b64f1] p-6 text-content-inverted shadow-[0_20px_40px_rgba(25,28,30,0.08)]">
<div className="relative z-10 space-y-4">
<div className="space-y-2">
<h1 className="text-2xl font-bold tracking-tight text-content-inverted">
@@ -384,7 +384,7 @@ export default function RewardsCommunityTab({
disabled={isLoading}
variant="secondary"
size="xs"
- className="rounded-full border-amber-300 bg-surface text-amber-800 shadow-sm hover:bg-amber-100 dark:border-amber-500/40 dark:bg-amber-500/20 dark:text-amber-200">
+ className="rounded-full border-amber-300 bg-surface text-amber-800 shadow-xs hover:bg-amber-100 dark:border-amber-500/40 dark:bg-amber-500/20 dark:text-amber-200">
{isLoading ? t('rewards.community.retrying') : t('rewards.community.tryAgain')}
</Button>
) : null}
@@ -392,7 +392,7 @@ export default function RewardsCommunityTab({
) : null}
<div className="space-y-4">
- <section className="rounded-[1.25rem] bg-surface p-6 shadow-[0_4px_20px_rgba(25,28,30,0.04)]">
+ <section className="rounded-3xl bg-surface p-6 shadow-[0_4px_20px_rgba(25,28,30,0.04)]">
<div className="mb-6 flex items-center justify-between gap-4">
<div>
<h2 className="text-lg font-bold text-content">
@@ -440,7 +440,7 @@ export default function RewardsCommunityTab({
title={role?.title ?? undefined}
aria-label={role?.title ?? undefined}
data-testid={role ? `rewards-achievement-badge-${role.id}` : undefined}
- className={`flex h-16 w-16 flex-shrink-0 items-center justify-center rounded-full border-2 ${
+ className={`flex h-16 w-16 shrink-0 items-center justify-center rounded-full border-2 ${
role?.unlocked
? 'border-primary-200 dark:border-primary-500/30 bg-primary-50 dark:bg-primary-500/10 text-primary-600 dark:text-primary-300'
: 'border-dashed border-line-strong bg-surface-subtle text-content-faint'
@@ -479,7 +479,7 @@ export default function RewardsCommunityTab({
onClick={() => {
void openUrl(inviteUrl);
}}
- className="flex-shrink-0">
+ className="shrink-0">
{t('rewards.community.joinDiscord')}
</Button>
</div>
@@ -528,15 +528,15 @@ export default function RewardsCommunityTab({
return (
<div
key={role.id}
- className={`rounded-[1.25rem] bg-surface p-5 shadow-sm transition-shadow hover:shadow-md ${
+ className={`rounded-3xl bg-surface p-5 shadow-xs transition-shadow hover:shadow-md ${
role.unlocked
? 'ring-1 ring-primary-100 dark:ring-primary-500/20'
- : 'ring-1 ring-line/[0.04] dark:ring-line-strong/[0.06]'
+ : 'ring-1 ring-line/4 dark:ring-line-strong/6'
}`}>
<div className="flex items-start justify-between gap-4">
<div className="flex gap-4">
<div
- className={`flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-xl border ${tone.iconBg} ${tone.iconText} ${tone.iconBorder}`}>
+ className={`flex h-12 w-12 shrink-0 items-center justify-center rounded-xl border ${tone.iconBg} ${tone.iconText} ${tone.iconBorder}`}>
<svg className="h-6 w-6" viewBox="0 0 24 24" aria-hidden="true">
{roleGlyph(index)}
</svg>
@@ -666,7 +666,7 @@ export default function RewardsCommunityTab({
so the two are no longer conflated in a single list. */}
<section
data-testid="rewards-discord-stats"
- className="rounded-[1.25rem] bg-[#f2f4f6] dark:bg-surface-muted/60 p-4 text-sm text-content-secondary">
+ className="rounded-3xl bg-[#f2f4f6] dark:bg-surface-muted/60 p-4 text-sm text-content-secondary">
<h2 className="mb-3 text-sm font-bold text-content">
{t('rewards.community.discordDetails')}
</h2>
@@ -708,7 +708,7 @@ export default function RewardsCommunityTab({
user actually used OpenHuman (token-processing days), not a check-in. */}
<section
data-testid="rewards-activity-stats"
- className="rounded-[1.25rem] bg-[#f2f4f6] dark:bg-surface-muted/60 p-4 text-sm text-content-secondary">
+ className="rounded-3xl bg-[#f2f4f6] dark:bg-surface-muted/60 p-4 text-sm text-content-secondary">
<h2 className="text-sm font-bold text-content">{t('rewards.community.activityTitle')}</h2>
<p className="mb-3 mt-0.5 text-xs leading-relaxed text-content-muted">
{t('rewards.community.activityStreakHint')}
diff --git a/app/src/components/rewards/__tests__/RewardsCommunityTab.test.tsx b/app/src/components/rewards/__tests__/RewardsCommunityTab.test.tsx
index 2a49f3a0d3..50161508ff 100644
--- a/app/src/components/rewards/__tests__/RewardsCommunityTab.test.tsx
+++ b/app/src/components/rewards/__tests__/RewardsCommunityTab.test.tsx
@@ -83,7 +83,7 @@ function buildSnapshot(): RewardsSnapshot {
}
describe('RewardsCommunityTab — role card branches', () => {
- it('renders both unlocked and locked roles (covers the `role.unlocked` ring branch)', async () => {
+ it('renders both unlocked and locked roles (covers the `role.unlocked` ring-3 branch)', async () => {
const { default: RewardsCommunityTab } = await import('../RewardsCommunityTab');
render(
<MemoryRouter>
@@ -92,7 +92,7 @@ describe('RewardsCommunityTab — role card branches', () => {
);
// Both role titles are rendered — each goes through the ternary on
- // line 248 (ring-primary-100 for unlocked, ring-black/[0.04] for locked).
+ // line 248 (ring-primary-100 for unlocked, ring-black/4 for locked).
expect(screen.getByText('Pioneer')).toBeInTheDocument();
expect(screen.getByText('Veteran')).toBeInTheDocument();
});
diff --git a/app/src/components/settings/components/SettingsMenuItem.tsx b/app/src/components/settings/components/SettingsMenuItem.tsx
index 45ca2f24e8..2760af2a71 100644
--- a/app/src/components/settings/components/SettingsMenuItem.tsx
+++ b/app/src/components/settings/components/SettingsMenuItem.tsx
@@ -36,12 +36,12 @@ const SettingsMenuItem = ({
const content = (
<>
- <div className={cn('w-5 h-5 opacity-60 flex-shrink-0 mr-3', iconColor)}>{icon}</div>
+ <div className={cn('w-5 h-5 opacity-60 shrink-0 mr-3', iconColor)}>{icon}</div>
<div className="flex-1">
<div className={cn('font-medium text-sm mb-1', titleColor)}>{title}</div>
{description && <p className="opacity-70 text-xs">{description}</p>}
</div>
- {rightElement && <div className="flex-shrink-0 ml-3">{rightElement}</div>}
+ {rightElement && <div className="shrink-0 ml-3">{rightElement}</div>}
</>
);
diff --git a/app/src/components/settings/controls/__tests__/controls.test.tsx b/app/src/components/settings/controls/__tests__/controls.test.tsx
index dd68496069..fde113d54b 100644
--- a/app/src/components/settings/controls/__tests__/controls.test.tsx
+++ b/app/src/components/settings/controls/__tests__/controls.test.tsx
@@ -157,7 +157,7 @@ describe('SettingsNumberField', () => {
expect(screen.getByText('1–3600')).toBeInTheDocument();
});
- it('calls onCommit on blur', () => {
+ it('calls onCommit on blur-sm', () => {
const onCommit = vi.fn();
render(<SettingsNumberField {...defaultProps} onCommit={onCommit} />);
fireEvent.blur(screen.getByLabelText('Action timeout'));
diff --git a/app/src/components/settings/modal/SettingsModalFrame.tsx b/app/src/components/settings/modal/SettingsModalFrame.tsx
index 3b4a86ac66..3ee2dbeed7 100644
--- a/app/src/components/settings/modal/SettingsModalFrame.tsx
+++ b/app/src/components/settings/modal/SettingsModalFrame.tsx
@@ -74,7 +74,7 @@ export function SettingsModalFrame({ onClose, children, labelledBy }: SettingsMo
// than the shell's `shadow-content-edge` hairline: this card floats on
// a dimmed scrim with no adjacent chrome to seam against, and the two
// utilities would collide on `box-shadow` anyway.
- className="flex h-full w-full overflow-hidden rounded-2xl bg-surface shadow-xl animate-fade-up focus:outline-none">
+ className="flex h-full w-full overflow-hidden rounded-2xl bg-surface shadow-xl animate-fade-up focus:outline-hidden">
{/* Radix requires a Title in the tree for the dialog to be
accessible. When the caller supplies its own visible heading
via `labelledBy`, that id still wins as the accessible name
diff --git a/app/src/components/settings/modal/SettingsModalLayout.tsx b/app/src/components/settings/modal/SettingsModalLayout.tsx
index 8cd5d99d74..2a0d74b4db 100644
--- a/app/src/components/settings/modal/SettingsModalLayout.tsx
+++ b/app/src/components/settings/modal/SettingsModalLayout.tsx
@@ -24,7 +24,7 @@ export default function SettingsModalLayout() {
return (
<SettingsLayoutProvider value={{ inTwoPaneShell: true }}>
<div className="flex h-full w-full min-h-0">
- <div className="h-full w-64 flex-shrink-0 overflow-hidden border-r border-line">
+ <div className="h-full w-64 shrink-0 overflow-hidden border-r border-line">
<SettingsSidebar />
</div>
{/* Right column: the routed panel. The sibling sub-nav pill row now
diff --git a/app/src/components/settings/panels/AgentEditorToolsPicker.tsx b/app/src/components/settings/panels/AgentEditorToolsPicker.tsx
index bf42fff994..42a733b0b9 100644
--- a/app/src/components/settings/panels/AgentEditorToolsPicker.tsx
+++ b/app/src/components/settings/panels/AgentEditorToolsPicker.tsx
@@ -213,7 +213,7 @@ function ToolsPickerModal({
</Toggle>
</div>
- <div className="min-h-[8rem] flex-1 overflow-y-auto px-2 py-2">
+ <div className="min-h-32 flex-1 overflow-y-auto px-2 py-2">
{loading ? (
<CenteredLoadingState
label={t('settings.agents.editor.toolsLoading')}
@@ -245,7 +245,7 @@ function ToolsPickerModal({
<span className="block font-mono text-xs font-medium text-content">
{tool.name}
</span>
- <span className="block break-words text-[11px] leading-snug text-content-muted">
+ <span className="block wrap-break-word text-[11px] leading-snug text-content-muted">
{tool.description}
</span>
</span>
diff --git a/app/src/components/settings/panels/AgentsPanel.tsx b/app/src/components/settings/panels/AgentsPanel.tsx
index d8e5d20080..408d8f3b04 100644
--- a/app/src/components/settings/panels/AgentsPanel.tsx
+++ b/app/src/components/settings/panels/AgentsPanel.tsx
@@ -177,7 +177,7 @@ function AgentRow({
/>
</div>
- <p className="mt-1 break-words text-xs leading-snug text-content-muted">
+ <p className="mt-1 wrap-break-word text-xs leading-snug text-content-muted">
{agent.description}
</p>
<div className="mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-content-faint">
diff --git a/app/src/components/settings/panels/AppearancePanel.tsx b/app/src/components/settings/panels/AppearancePanel.tsx
index 90a393fd5a..89c530c21f 100644
--- a/app/src/components/settings/panels/AppearancePanel.tsx
+++ b/app/src/components/settings/panels/AppearancePanel.tsx
@@ -200,7 +200,7 @@ const AppearancePanel = () => {
role="radio"
aria-checked={selected}
onClick={() => dispatch(setThemeMode(opt.id))}
- className={`w-full flex items-center gap-3 px-4 py-3 text-left transition-colors focus:outline-none focus-visible:bg-primary-50 dark:focus-visible:bg-primary-900/30 ${
+ className={`w-full flex items-center gap-3 px-4 py-3 text-left transition-colors focus:outline-hidden focus-visible:bg-primary-50 dark:focus-visible:bg-primary-900/30 ${
idx !== 0 ? 'border-t border-line-subtle' : ''
} ${selected ? 'bg-primary-50 dark:bg-primary-500/10' : 'hover:bg-surface-hover'}`}>
<span
@@ -259,7 +259,7 @@ const AppearancePanel = () => {
role="radio"
aria-checked={selected}
onClick={() => dispatch(setFontSize(opt.id))}
- className={`w-full flex items-center gap-3 px-4 py-3 text-left transition-colors focus:outline-none focus-visible:bg-primary-50 dark:focus-visible:bg-primary-900/30 ${
+ className={`w-full flex items-center gap-3 px-4 py-3 text-left transition-colors focus:outline-hidden focus-visible:bg-primary-50 dark:focus-visible:bg-primary-900/30 ${
idx !== 0 ? 'border-t border-line-subtle' : ''
} ${selected ? 'bg-primary-50 dark:bg-primary-500/10' : 'hover:bg-surface-hover'}`}>
<span
diff --git a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx b/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
index 2f006f83c2..bab30a9e5a 100644
--- a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
+++ b/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
@@ -140,7 +140,7 @@ const ApprovalHistoryPanel = () => {
<span className="font-mono text-xs text-content truncate">{entry.tool_name}</span>
<span
data-testid={`approval-history-decision-${entry.decision}`}
- className="flex-shrink-0">
+ className="shrink-0">
<SettingsBadge variant={DECISION_BADGE_VARIANT[entry.decision]}>
{t(DECISION_LABEL_KEY[entry.decision])}
</SettingsBadge>
diff --git a/app/src/components/settings/panels/CoreConnectionPanel.tsx b/app/src/components/settings/panels/CoreConnectionPanel.tsx
index 792756185f..f6f61b5243 100644
--- a/app/src/components/settings/panels/CoreConnectionPanel.tsx
+++ b/app/src/components/settings/panels/CoreConnectionPanel.tsx
@@ -340,7 +340,7 @@ const CoreConnectionPanel = () => {
control={
<div className="flex items-center gap-2">
<span
- className={`inline-block h-2.5 w-2.5 rounded-full flex-shrink-0 ${statusDotClass}`}
+ className={`inline-block h-2.5 w-2.5 rounded-full shrink-0 ${statusDotClass}`}
aria-hidden="true"
data-testid="core-status-dot"
/>
diff --git a/app/src/components/settings/panels/DevicesPanel.tsx b/app/src/components/settings/panels/DevicesPanel.tsx
index 8ba0f257b5..96ac52b98f 100644
--- a/app/src/components/settings/panels/DevicesPanel.tsx
+++ b/app/src/components/settings/panels/DevicesPanel.tsx
@@ -86,7 +86,7 @@ function PeerDot({ online }: { online: boolean | null }) {
<span
title={isOnline ? t('devices.online') : t('devices.offline')}
data-testid={isOnline ? 'peer-status-online' : 'peer-status-offline'}
- className={`inline-block w-2 h-2 rounded-full flex-shrink-0 ${isOnline ? 'bg-sage-500' : 'bg-content-faint'}`}
+ className={`inline-block w-2 h-2 rounded-full shrink-0 ${isOnline ? 'bg-sage-500' : 'bg-content-faint'}`}
/>
);
}
diff --git a/app/src/components/settings/panels/EmbeddingsProviderList.tsx b/app/src/components/settings/panels/EmbeddingsProviderList.tsx
index a7ac7270dd..60b5c014c0 100644
--- a/app/src/components/settings/panels/EmbeddingsProviderList.tsx
+++ b/app/src/components/settings/panels/EmbeddingsProviderList.tsx
@@ -58,7 +58,7 @@ const EmbeddingsProviderList = ({
</span>
{selected && (
<svg
- className="w-5 h-5 text-primary-500 flex-shrink-0 mt-0.5"
+ className="w-5 h-5 text-primary-500 shrink-0 mt-0.5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
diff --git a/app/src/components/settings/panels/MascotPanel.tsx b/app/src/components/settings/panels/MascotPanel.tsx
index b2dce168f2..7010dc7528 100644
--- a/app/src/components/settings/panels/MascotPanel.tsx
+++ b/app/src/components/settings/panels/MascotPanel.tsx
@@ -395,7 +395,7 @@ const MascotPanel = ({ embedded = false }: MascotPanelProps) => {
aria-label={label}
onClick={() => handleSelect(opt.id)}
data-testid={`mascot-color-${opt.id}`}
- className={`flex flex-col items-center gap-2 rounded-lg p-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 ${
+ className={`flex flex-col items-center gap-2 rounded-lg p-2 transition-colors focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 ${
selected ? 'bg-surface-subtle' : 'hover:bg-surface-hover'
}`}>
<span
diff --git a/app/src/components/settings/panels/MemoryDebugPanel.tsx b/app/src/components/settings/panels/MemoryDebugPanel.tsx
index 590797d829..2c61947322 100644
--- a/app/src/components/settings/panels/MemoryDebugPanel.tsx
+++ b/app/src/components/settings/panels/MemoryDebugPanel.tsx
@@ -267,7 +267,7 @@ const MemoryDebugPanel = () => {
the user's theme. Arbitrary hex values (not the `neutral`
palette scale) so this isn't a themeable-surface regression
masquerading as a fixed one. */}
- <pre className="mt-1 max-h-32 overflow-auto rounded-lg border border-line bg-[#0a0a0a] dark:bg-[#fafafa] p-2 text-[11px] text-[#f5f5f5] dark:text-[#171717] whitespace-pre-wrap break-words">
+ <pre className="mt-1 max-h-32 overflow-auto rounded-lg border border-line bg-[#0a0a0a] dark:bg-[#fafafa] p-2 text-[11px] text-[#f5f5f5] dark:text-[#171717] whitespace-pre-wrap wrap-break-word">
{JSON.stringify(documentsRaw, null, 2)}
</pre>
</details>
diff --git a/app/src/components/settings/panels/NotificationRoutingPanel.tsx b/app/src/components/settings/panels/NotificationRoutingPanel.tsx
index 8bdd4b30c8..151bb6be73 100644
--- a/app/src/components/settings/panels/NotificationRoutingPanel.tsx
+++ b/app/src/components/settings/panels/NotificationRoutingPanel.tsx
@@ -132,7 +132,7 @@ const NotificationRoutingPanel = ({ embedded = false }: NotificationRoutingPanel
{/* Info card */}
<Alert variant="info" className="items-start">
<svg
- className="w-5 h-5 flex-shrink-0 mt-0.5"
+ className="w-5 h-5 shrink-0 mt-0.5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
@@ -179,7 +179,7 @@ const NotificationRoutingPanel = ({ embedded = false }: NotificationRoutingPanel
] as { label: string; desc: string; variant: BadgeVariant }[]
).map(row => (
<div key={row.label} className="flex items-center gap-3 px-4 py-3">
- <Badge variant={row.variant} className="flex-shrink-0">
+ <Badge variant={row.variant} className="shrink-0">
{row.label}
</Badge>
<span className="text-xs text-content-secondary">{row.desc}</span>
@@ -219,7 +219,7 @@ const NotificationRoutingPanel = ({ embedded = false }: NotificationRoutingPanel
</div>
</div>
<div className="flex items-center gap-2 text-xs text-content-secondary">
- <span className="flex-shrink-0">{t('notifications.routing.threshold')}</span>
+ <span className="shrink-0">{t('notifications.routing.threshold')}</span>
<Slider
className="flex-1"
min={0}
diff --git a/app/src/components/settings/panels/PermissionsPanel.tsx b/app/src/components/settings/panels/PermissionsPanel.tsx
index c5e71db1c0..e925e7ee2d 100644
--- a/app/src/components/settings/panels/PermissionsPanel.tsx
+++ b/app/src/components/settings/panels/PermissionsPanel.tsx
@@ -215,7 +215,7 @@ const PermissionsPanel = () => {
variant="tertiary"
onClick={() => selectTier(p.id)}
data-testid={`permissions-preset-${p.id}`}
- className={`!inline-block h-auto w-full !justify-start text-left rounded-lg border p-3 transition ${
+ className={`inline-block! h-auto w-full justify-start! text-left rounded-lg border p-3 transition ${
level === p.id
? 'border-primary-500 bg-primary-50 dark:bg-primary-500/10'
: 'border-line hover:border-primary-300 dark:hover:border-primary-500'
diff --git a/app/src/components/settings/panels/PrivacyPanel.tsx b/app/src/components/settings/panels/PrivacyPanel.tsx
index e9a9065023..6cac4de0cd 100644
--- a/app/src/components/settings/panels/PrivacyPanel.tsx
+++ b/app/src/components/settings/panels/PrivacyPanel.tsx
@@ -165,7 +165,7 @@ const PrivacyPanel = () => {
<div className="p-4 bg-surface-muted rounded-xl border border-line">
<div className="flex items-start space-x-3">
<svg
- className="w-5 h-5 text-content-faint mt-0.5 flex-shrink-0"
+ className="w-5 h-5 text-content-faint mt-0.5 shrink-0"
fill="currentColor"
viewBox="0 0 20 20">
<path
diff --git a/app/src/components/settings/panels/ProviderSetupErrorNotice.tsx b/app/src/components/settings/panels/ProviderSetupErrorNotice.tsx
index 4eec9bd705..f00ed81b71 100644
--- a/app/src/components/settings/panels/ProviderSetupErrorNotice.tsx
+++ b/app/src/components/settings/panels/ProviderSetupErrorNotice.tsx
@@ -108,13 +108,13 @@ export const ProviderSetupErrorNotice = ({ error }: { error: string }) => {
<div
role="alert"
className="max-w-full min-w-0 overflow-hidden rounded-md border border-red-200 dark:border-red-500/30 bg-red-50 dark:bg-red-500/10 px-3 py-2 text-xs text-red-700 dark:text-red-300">
- <p className="break-words font-medium leading-relaxed [overflow-wrap:anywhere]">{summary}</p>
+ <p className="wrap-break-word font-medium leading-relaxed wrap-anywhere">{summary}</p>
{hasDetails ? (
<details className="mt-2 max-w-full min-w-0">
<summary className="cursor-pointer text-[11px] font-medium text-red-700 dark:text-red-200">
{t('providerSetup.error.technicalDetails')}
</summary>
- <pre className="mt-1 max-h-32 max-w-full overflow-auto whitespace-pre-wrap break-words rounded border border-red-200/70 dark:border-red-500/30 bg-surface/70 p-2 font-mono text-[11px] leading-relaxed text-red-800 dark:text-red-200 [overflow-wrap:anywhere]">
+ <pre className="mt-1 max-h-32 max-w-full overflow-auto whitespace-pre-wrap wrap-break-word rounded border border-red-200/70 dark:border-red-500/30 bg-surface/70 p-2 font-mono text-[11px] leading-relaxed text-red-800 dark:text-red-200 wrap-anywhere">
{details}
</pre>
</details>
diff --git a/app/src/components/settings/panels/RecoveryPhraseImportMode.tsx b/app/src/components/settings/panels/RecoveryPhraseImportMode.tsx
index c527922bd2..146f452975 100644
--- a/app/src/components/settings/panels/RecoveryPhraseImportMode.tsx
+++ b/app/src/components/settings/panels/RecoveryPhraseImportMode.tsx
@@ -99,7 +99,7 @@ const RecoveryPhraseImportMode = ({
invalid={importValid === false && word.trim().length > 0}
className={
importValid === true
- ? '!border-sage-400 focus:!border-sage-300 dark:!border-sage-500/40'
+ ? 'border-sage-400! focus:border-sage-300! dark:border-sage-500/40!'
: undefined
}
/>
diff --git a/app/src/components/settings/panels/SearchPanelEngineList.tsx b/app/src/components/settings/panels/SearchPanelEngineList.tsx
index 9c66ceacab..592bfd5c8f 100644
--- a/app/src/components/settings/panels/SearchPanelEngineList.tsx
+++ b/app/src/components/settings/panels/SearchPanelEngineList.tsx
@@ -74,7 +74,7 @@ const SearchPanelEngineList = ({
</span>
{selected && (
<CheckIcon
- className="w-5 h-5 text-primary-500 flex-shrink-0 mt-0.5"
+ className="w-5 h-5 text-primary-500 shrink-0 mt-0.5"
aria-hidden="true"
/>
)}
diff --git a/app/src/components/settings/panels/TeamMembersPanel.tsx b/app/src/components/settings/panels/TeamMembersPanel.tsx
index 8cdc7fc77b..baf6d89ebe 100644
--- a/app/src/components/settings/panels/TeamMembersPanel.tsx
+++ b/app/src/components/settings/panels/TeamMembersPanel.tsx
@@ -160,7 +160,7 @@ const TeamMembersPanel = () => {
className="flex items-center justify-between px-4 py-3 border-b border-line-subtle last:border-b-0">
<div className="flex items-center gap-3 min-w-0">
{/* Avatar */}
- <AvatarRoot className="h-8 w-8 flex-shrink-0 bg-surface-strong">
+ <AvatarRoot className="h-8 w-8 shrink-0 bg-surface-strong">
<AvatarFallback className="bg-surface-strong text-xs font-semibold text-content-secondary">
{displayName(member).charAt(0).toUpperCase()}
</AvatarFallback>
@@ -182,7 +182,7 @@ const TeamMembersPanel = () => {
</div>
</div>
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
{/* Role badge / dropdown */}
{isAdmin && !isCurrentUser(member) ? (
<SettingsSelect
diff --git a/app/src/components/settings/panels/TeamPanel.tsx b/app/src/components/settings/panels/TeamPanel.tsx
index 07004149bc..9904cf89e3 100644
--- a/app/src/components/settings/panels/TeamPanel.tsx
+++ b/app/src/components/settings/panels/TeamPanel.tsx
@@ -159,7 +159,7 @@ const TeamPanel = () => {
: 'border-line bg-surface hover:bg-surface-hover'
}`}>
<div className="flex items-center gap-3 min-w-0 flex-1">
- <AvatarRoot className="h-9 w-9 rounded-lg bg-surface-subtle flex-shrink-0">
+ <AvatarRoot className="h-9 w-9 rounded-lg bg-surface-subtle shrink-0">
<AvatarFallback className="rounded-lg bg-surface-subtle text-sm font-semibold text-content-secondary">
{team.name.charAt(0).toUpperCase()}
</AvatarFallback>
@@ -177,7 +177,7 @@ const TeamPanel = () => {
</div>
</div>
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
{canManage && (
<Button
type="button"
diff --git a/app/src/components/settings/panels/ThemeStudioPanel.tsx b/app/src/components/settings/panels/ThemeStudioPanel.tsx
index 93f58538c8..24b5b13e71 100644
--- a/app/src/components/settings/panels/ThemeStudioPanel.tsx
+++ b/app/src/components/settings/panels/ThemeStudioPanel.tsx
@@ -193,7 +193,7 @@ const ThemeStudioPanel = () => {
if (next) dispatch(setThemeVariant(next as ThemeVariant));
}}
aria-label={t('settings.theme.variantAria', 'Theme variant')}
- className="overflow-hidden rounded-lg border border-line gap-0 [&>*]:rounded-none [&>*]:border-0">
+ className="overflow-hidden rounded-lg border border-line gap-0 *:rounded-none *:border-0">
{VARIANT_OPTIONS.map(opt => (
<ToggleGroupItem
key={opt.id}
diff --git a/app/src/components/settings/panels/TokenUsagePanel.tsx b/app/src/components/settings/panels/TokenUsagePanel.tsx
index 78302652ff..f043107321 100644
--- a/app/src/components/settings/panels/TokenUsagePanel.tsx
+++ b/app/src/components/settings/panels/TokenUsagePanel.tsx
@@ -42,7 +42,7 @@ interface StatTileProps {
}
const StatTile = ({ label, value, hint }: StatTileProps) => (
- <div className="rounded-2xl border border-line p-4 bg-gradient-to-br from-surface to-surface-subtle">
+ <div className="rounded-2xl border border-line p-4 bg-linear-to-br from-surface to-surface-subtle">
<div className="text-xs font-medium text-content-muted">{label}</div>
<div className="mt-1 text-2xl font-semibold text-content tabular-nums">{value}</div>
{hint && <div className="mt-0.5 text-xs text-content-faint">{hint}</div>}
diff --git a/app/src/components/settings/panels/ToolPolicyDiagnosticsPanel.tsx b/app/src/components/settings/panels/ToolPolicyDiagnosticsPanel.tsx
index bfcf1540ad..5d7c88a322 100644
--- a/app/src/components/settings/panels/ToolPolicyDiagnosticsPanel.tsx
+++ b/app/src/components/settings/panels/ToolPolicyDiagnosticsPanel.tsx
@@ -205,7 +205,7 @@ const ToolPolicyDiagnosticsPanel = () => {
.replace('{recentRows}', recentRows)}
</div>
{d.mcp_write_audit.last_error && (
- <div className="mt-2 text-xs text-coral-700 dark:text-coral-200 font-mono break-words">
+ <div className="mt-2 text-xs text-coral-700 dark:text-coral-200 font-mono wrap-break-word">
{d.mcp_write_audit.last_error}
</div>
)}
@@ -235,7 +235,7 @@ const ToolPolicyDiagnosticsPanel = () => {
{entry.policy}:{entry.action}
</span>
</div>
- <div className="text-sage-700 dark:text-sage-300 break-words">{entry.reason}</div>
+ <div className="text-sage-700 dark:text-sage-300 wrap-break-word">{entry.reason}</div>
</li>
))}
</ul>
diff --git a/app/src/components/settings/panels/WalletBalancesPanel.tsx b/app/src/components/settings/panels/WalletBalancesPanel.tsx
index 445da1144d..6bfdb11703 100644
--- a/app/src/components/settings/panels/WalletBalancesPanel.tsx
+++ b/app/src/components/settings/panels/WalletBalancesPanel.tsx
@@ -108,7 +108,7 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {
<div className="flex items-center gap-3">
{/* Network badge */}
<span
- className={`inline-flex items-center px-2 py-0.5 rounded-md text-xs font-semibold font-mono min-w-[3rem] justify-center shrink-0 ${badgeClass}`}>
+ className={`inline-flex items-center px-2 py-0.5 rounded-md text-xs font-semibold font-mono min-w-12 justify-center shrink-0 ${badgeClass}`}>
{balanceBadge(balance)}
</span>
@@ -220,7 +220,7 @@ const ChainPlaceholderRow = ({
return (
<div className="flex items-center gap-3 px-4 py-3 opacity-70">
<span
- className={`inline-flex items-center px-2 py-0.5 rounded-md text-xs font-semibold font-mono min-w-[3rem] justify-center shrink-0 ${badgeClass}`}>
+ className={`inline-flex items-center px-2 py-0.5 rounded-md text-xs font-semibold font-mono min-w-12 justify-center shrink-0 ${badgeClass}`}>
{balanceBadge({ chain, evmNetwork })}
</span>
<div className="min-w-0">
@@ -334,7 +334,7 @@ const WalletBalancesPanel = () => {
role="alert"
className="flex items-start gap-2.5 p-3 mb-4 rounded-xl bg-coral-50 dark:bg-coral-500/10 border border-coral-200 dark:border-coral-500/30">
<svg
- className="w-4 h-4 text-coral-500 flex-shrink-0 mt-0.5"
+ className="w-4 h-4 text-coral-500 shrink-0 mt-0.5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
@@ -371,7 +371,7 @@ const WalletBalancesPanel = () => {
role="status"
className="flex items-start gap-2.5 p-3 rounded-xl bg-amber-50 dark:bg-amber-500/10 border border-amber-200 dark:border-amber-500/30">
<svg
- className="w-4 h-4 text-amber-500 flex-shrink-0 mt-0.5"
+ className="w-4 h-4 text-amber-500 shrink-0 mt-0.5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
diff --git a/app/src/components/settings/panels/__tests__/AgentAccessPanel.test.tsx b/app/src/components/settings/panels/__tests__/AgentAccessPanel.test.tsx
index a199296c66..8ac3b72021 100644
--- a/app/src/components/settings/panels/__tests__/AgentAccessPanel.test.tsx
+++ b/app/src/components/settings/panels/__tests__/AgentAccessPanel.test.tsx
@@ -271,7 +271,7 @@ describe('AgentAccessPanel (advanced)', () => {
expect(input.value).toBe('300');
});
- it('persists a changed action timeout on blur', async () => {
+ it('persists a changed action timeout on blur-sm', async () => {
renderWithProviders(<AgentAccessPanel />);
const input = await screen.findByLabelText('Action timeout');
fireEvent.change(input, { target: { value: '300' } });
diff --git a/app/src/components/settings/panels/ai/AddProviderDialog.tsx b/app/src/components/settings/panels/ai/AddProviderDialog.tsx
index fb3d547f6f..8356456f31 100644
--- a/app/src/components/settings/panels/ai/AddProviderDialog.tsx
+++ b/app/src/components/settings/panels/ai/AddProviderDialog.tsx
@@ -22,7 +22,7 @@
* into whatever height is left below its trigger. The dialog and the popup are
* both `z-50` from their own primitives and both portal to the body, which
* leaves paint order to DOM order — true today, but only incidentally. The
- * explicit `z-[60]` makes the popup win by intent rather than by luck.
+ * explicit `z-60` makes the popup win by intent rather than by luck.
*/
import { useT } from '../../../../lib/i18n/I18nContext';
import Button from '../../../ui/Button';
@@ -96,7 +96,7 @@ const CategorySelect = ({
}
/>
</SelectTrigger>
- <SelectContent className="z-[60] w-[min(24rem,calc(100vw-2rem))]">
+ <SelectContent className="z-60 w-[min(24rem,calc(100vw-2rem))]">
{category.options.map(option => (
<SelectItem
key={option.slug}
diff --git a/app/src/components/settings/panels/ai/ModelTestResultPanel.tsx b/app/src/components/settings/panels/ai/ModelTestResultPanel.tsx
index 71a2bef78c..f35ac39479 100644
--- a/app/src/components/settings/panels/ai/ModelTestResultPanel.tsx
+++ b/app/src/components/settings/panels/ai/ModelTestResultPanel.tsx
@@ -67,7 +67,7 @@ export const ModelTestResultPanel = ({
{t('settings.ai.waitingForModelResponse')}
</div>
) : testError ? (
- <div className="mt-2 rounded-md border border-current/15 bg-surface/70 px-3 py-2 font-mono text-[11px] whitespace-pre-wrap break-words">
+ <div className="mt-2 rounded-md border border-current/15 bg-surface/70 px-3 py-2 font-mono text-[11px] whitespace-pre-wrap wrap-break-word">
{testError}
</div>
) : (
@@ -75,7 +75,7 @@ export const ModelTestResultPanel = ({
<div className="text-[11px] font-semibold uppercase tracking-wide text-current/80">
{t('settings.ai.response')}
</div>
- <div className="rounded-md border border-current/15 bg-surface/70 px-3 py-3 text-[13px] leading-relaxed text-content whitespace-pre-wrap break-words">
+ <div className="rounded-md border border-current/15 bg-surface/70 px-3 py-3 text-[13px] leading-relaxed text-content whitespace-pre-wrap wrap-break-word">
{testReply}
</div>
</div>
diff --git a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
index f9005a388e..ebdbca3673 100644
--- a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
+++ b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
@@ -222,7 +222,7 @@ export const ProviderAuthSection = ({
question. */}
{providerSaveNotice && (
<Alert variant="warning" role="status" className="items-start gap-2 px-3 py-2 text-xs">
- <LuCircleAlert className="mt-0.5 h-3.5 w-3.5 flex-shrink-0" />
+ <LuCircleAlert className="mt-0.5 h-3.5 w-3.5 shrink-0" />
<span className="flex-1">{providerSaveNotice.message}</span>
<Button
type="button"
diff --git a/app/src/components/settings/panels/ai/ProviderListRow.tsx b/app/src/components/settings/panels/ai/ProviderListRow.tsx
index 4be5d09b2a..23f02a2636 100644
--- a/app/src/components/settings/panels/ai/ProviderListRow.tsx
+++ b/app/src/components/settings/panels/ai/ProviderListRow.tsx
@@ -121,7 +121,7 @@ export const ProviderSwatch = ({
aria-hidden
data-slot="provider-swatch"
className={cn(
- 'flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-xl text-xs font-semibold ring-1',
+ 'flex h-8 w-8 shrink-0 items-center justify-center rounded-xl text-xs font-semibold ring-1',
PROVIDER_SWATCH_TONES[slug] ?? 'bg-[#27272A] text-white ring-white/30'
)}>
{icon ?? (label.trim().charAt(0).toUpperCase() || '?')}
@@ -184,7 +184,7 @@ export const ProviderListRow = ({
</span>
</div>
- <div className="flex flex-shrink-0 items-center gap-1">
+ <div className="flex shrink-0 items-center gap-1">
{control}
{actions.length > 0 && (
<DropdownMenuRoot>
diff --git a/app/src/components/settings/panels/ai/ProviderModelPickerDialog.tsx b/app/src/components/settings/panels/ai/ProviderModelPickerDialog.tsx
index 0da3c860c9..aa1c908c17 100644
--- a/app/src/components/settings/panels/ai/ProviderModelPickerDialog.tsx
+++ b/app/src/components/settings/panels/ai/ProviderModelPickerDialog.tsx
@@ -137,7 +137,7 @@ export function ProviderModelPickerDialog({
autoFocus
/>
</div>
- <div className="grid min-h-[20rem] grid-cols-1 divide-y divide-line-subtle md:grid-cols-[13rem_1fr] md:divide-x md:divide-y-0">
+ <div className="grid min-h-80 grid-cols-1 divide-y divide-line-subtle md:grid-cols-[13rem_1fr] md:divide-x md:divide-y-0">
<div className="p-2">
<p className="px-2 pb-2 text-xs font-medium text-content-muted">Providers</p>
<div className="space-y-1">
diff --git a/app/src/components/settings/panels/ai/WorkloadRow.tsx b/app/src/components/settings/panels/ai/WorkloadRow.tsx
index 16c07b9f8b..9c1c407182 100644
--- a/app/src/components/settings/panels/ai/WorkloadRow.tsx
+++ b/app/src/components/settings/panels/ai/WorkloadRow.tsx
@@ -104,7 +104,7 @@ export const WorkloadRow = ({
variant="secondary"
size="xs"
onClick={onCustomClick}
- className="h-auto min-w-[13rem] max-w-[15rem] justify-start gap-2 px-3 py-2 text-left">
+ className="h-auto min-w-52 max-w-60 justify-start gap-2 px-3 py-2 text-left">
{provider && providerSlug ? (
<ProviderSwatch slug={providerSlug} label={provider} tone={slugTone(providerSlug)} />
) : null}
diff --git a/app/src/components/settings/panels/billing/AutoRechargeSection.tsx b/app/src/components/settings/panels/billing/AutoRechargeSection.tsx
index d119e86864..3f33b4c23b 100644
--- a/app/src/components/settings/panels/billing/AutoRechargeSection.tsx
+++ b/app/src/components/settings/panels/billing/AutoRechargeSection.tsx
@@ -140,7 +140,7 @@ const AutoRechargeSection = ({
{/* Error banner */}
{arError && (
<Alert variant="destructive" className="mx-3 mb-2 items-start rounded-lg py-2">
- <WarningIcon className="w-3.5 h-3.5 flex-shrink-0 mt-0.5" />
+ <WarningIcon className="w-3.5 h-3.5 shrink-0 mt-0.5" />
<AlertDescription className="text-[12px] leading-relaxed opacity-100">
{arError}
</AlertDescription>
@@ -195,7 +195,7 @@ const AutoRechargeSection = ({
{/* Last error from recharge attempt */}
{arSettings.lastError && (
<Alert variant="destructive" className="items-start rounded-lg py-2 gap-1.5">
- <WarningIcon className="w-3 h-3 flex-shrink-0 mt-0.5" />
+ <WarningIcon className="w-3 h-3 shrink-0 mt-0.5" />
<AlertDescription className="text-[10px] opacity-100">
{t('settings.billing.autoRecharge.lastRechargeFailed')}: {arSettings.lastError}
</AlertDescription>
@@ -271,7 +271,7 @@ const AutoRechargeSection = ({
) : cards.length === 0 ? (
<div className="flex items-center gap-2 rounded-lg bg-surface-muted border border-line p-2.5">
<svg
- className="w-4 h-4 text-content-muted flex-shrink-0"
+ className="w-4 h-4 text-content-muted shrink-0"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -299,7 +299,7 @@ const AutoRechargeSection = ({
className="flex items-center gap-2 rounded-lg bg-surface-muted border border-line px-2.5 py-2">
{/* Card icon */}
<svg
- className="w-4 h-4 text-content-faint flex-shrink-0"
+ className="w-4 h-4 text-content-faint shrink-0"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -332,7 +332,7 @@ const AutoRechargeSection = ({
</div>
{/* Actions */}
- <div className="flex items-center gap-1 flex-shrink-0">
+ <div className="flex items-center gap-1 shrink-0">
{!card.isDefault && (
<Button
type="button"
diff --git a/app/src/components/settings/panels/billing/InferenceBudget.tsx b/app/src/components/settings/panels/billing/InferenceBudget.tsx
index 77af243781..28b90ba241 100644
--- a/app/src/components/settings/panels/billing/InferenceBudget.tsx
+++ b/app/src/components/settings/panels/billing/InferenceBudget.tsx
@@ -253,7 +253,7 @@ const TopModels = ({ rows }: { rows: TeamUsageModelRow[] }) => {
key={`${r.provider}::${r.model}::${i}`}
className="flex items-center justify-between text-[11px]">
<span className="text-content-secondary truncate mr-2">{r.model || r.provider}</span>
- <span className="text-content-muted flex-shrink-0">
+ <span className="text-content-muted shrink-0">
{fmtUsd(r.spentUsd)} · {r.calls.toLocaleString()}
</span>
</li>
@@ -286,7 +286,7 @@ const TopIntegrations = ({ rows }: { rows: TeamUsageIntegrationRow[] }) => {
{r.provider}
{r.action ? ` · ${r.action}` : ''}
</span>
- <span className="text-content-muted flex-shrink-0">
+ <span className="text-content-muted shrink-0">
{fmtUsd(r.spentUsd)} · {r.calls.toLocaleString()}
</span>
</li>
diff --git a/app/src/components/settings/panels/billing/SubscriptionPlans.tsx b/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
index 380c9189f8..2838c811e9 100644
--- a/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
+++ b/app/src/components/settings/panels/billing/SubscriptionPlans.tsx
@@ -61,7 +61,7 @@ const SubscriptionPlans = ({
<div className="flex flex-col gap-4">
<div className="flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between">
- <div className="mx-auto inline-flex w-fit rounded-full bg-surface p-1 shadow-sm ring-1 ring-line lg:mx-0">
+ <div className="mx-auto inline-flex w-fit rounded-full bg-surface p-1 shadow-xs ring-1 ring-line lg:mx-0">
<Button
variant={billingInterval === 'monthly' ? 'primary' : 'tertiary'}
size="sm"
@@ -84,7 +84,7 @@ const SubscriptionPlans = ({
{paymentConfirmed && (
<Alert variant="success">
- <CheckIcon className="h-4 w-4 flex-shrink-0" />
+ <CheckIcon className="h-4 w-4 shrink-0" />
<p className="text-sm font-medium">
{t('settings.billing.subscription.paymentConfirmed')}
</p>
@@ -111,14 +111,14 @@ const SubscriptionPlans = ({
key={plan.tier}
className={`relative flex flex-col gap-5 rounded-[24px] px-5 py-5 transition-all sm:flex-row sm:items-center sm:justify-between ${
isPopular
- ? 'bg-primary-50 dark:bg-primary-500/10 ring-2 ring-primary-500 shadow-sm'
+ ? 'bg-primary-50 dark:bg-primary-500/10 ring-2 ring-primary-500 shadow-xs'
: isCurrent
- ? 'bg-surface ring-1 ring-primary-200 shadow-sm'
- : 'bg-surface ring-1 ring-line shadow-sm'
+ ? 'bg-surface ring-1 ring-primary-200 shadow-xs'
+ : 'bg-surface ring-1 ring-line shadow-xs'
}`}>
<div className="flex items-start gap-4">
<div
- className={`flex h-12 w-12 min-h-12 min-w-12 flex-shrink-0 items-center justify-center rounded-full ${
+ className={`flex h-12 w-12 min-h-12 min-w-12 shrink-0 items-center justify-center rounded-full ${
plan.recommended
? 'bg-primary-600 text-content-inverted'
: isCurrent
diff --git a/app/src/components/settings/panels/builtinCloudProviders.ts b/app/src/components/settings/panels/builtinCloudProviders.ts
index f0330236de..2001e99e9a 100644
--- a/app/src/components/settings/panels/builtinCloudProviders.ts
+++ b/app/src/components/settings/panels/builtinCloudProviders.ts
@@ -18,7 +18,7 @@ const TONE = {
// (100/500/300/900) rather than `slate-*` utilities so it does not ride the
// banned palette scale that `lint:ui-tokens` guards. Do NOT swap it for a
// saturated hue — that collides with `sky` and changes the design intent.
- slate: 'bg-[#f1f5f9] dark:bg-[#64748b]/15 ring-[#cbd5e1] text-[#0f172a] dark:text-[#f1f5f9]',
+ slate: 'bg-slate-100 dark:bg-slate-500/15 ring-slate-300 text-slate-900 dark:text-slate-100',
sky: 'bg-sky-50 dark:bg-sky-500/10 ring-sky-200 text-sky-900 dark:text-sky-100',
fuchsia:
'bg-fuchsia-50 dark:bg-fuchsia-500/10 ring-fuchsia-200 text-fuchsia-900 dark:text-fuchsia-100',
diff --git a/app/src/components/settings/panels/devices/PairPhoneModal.tsx b/app/src/components/settings/panels/devices/PairPhoneModal.tsx
index f617a2f94e..e2b4a4d896 100644
--- a/app/src/components/settings/panels/devices/PairPhoneModal.tsx
+++ b/app/src/components/settings/panels/devices/PairPhoneModal.tsx
@@ -277,7 +277,7 @@ function QrBody({
</p>
{/* QR code */}
- <div className="p-3 bg-surface rounded-xl border border-line shadow-sm">
+ <div className="p-3 bg-surface rounded-xl border border-line shadow-xs">
<QRCodeSVG value={qrUrl} size={200} level="M" bgColor="#ffffff" fgColor="#1c1917" />
</div>
diff --git a/app/src/components/shortcuts/shortcutsView.tsx b/app/src/components/shortcuts/shortcutsView.tsx
index 9d8cdee7db..0e9693c3f5 100644
--- a/app/src/components/shortcuts/shortcutsView.tsx
+++ b/app/src/components/shortcuts/shortcutsView.tsx
@@ -99,7 +99,7 @@ export function ShortcutsList({ variant = 'modal' }: ShortcutsListProps) {
<div key={action.id} className={rowClass}>
<span className="min-w-0 flex items-center gap-3 truncate text-sm text-stone-700 dark:text-neutral-200">
{action.icon ? (
- <action.icon className="w-4 h-4 flex-shrink-0 text-stone-400 dark:text-neutral-500" />
+ <action.icon className="w-4 h-4 shrink-0 text-stone-400 dark:text-neutral-500" />
) : null}
<span className="truncate">
{action.labelKey ? t(action.labelKey) : action.label}
diff --git a/app/src/components/skills/CreateWorkflowForm.tsx b/app/src/components/skills/CreateWorkflowForm.tsx
index 72e42b3100..ee10944dfa 100644
--- a/app/src/components/skills/CreateWorkflowForm.tsx
+++ b/app/src/components/skills/CreateWorkflowForm.tsx
@@ -325,12 +325,12 @@ const CreateWorkflowForm = forwardRef<CreateSkillFormHandle, CreateSkillFormProp
required
readOnly={isEdit}
maxLength={128}
- className={cn('mt-1 shadow-sm', isEdit && 'cursor-not-allowed bg-surface-muted')}
+ className={cn('mt-1 shadow-xs', isEdit && 'cursor-not-allowed bg-surface-muted')}
placeholder={t('skills.create.namePlaceholder')}
/>
<p className="mt-1 text-[11px] text-content-muted">
{t('skills.create.slugLabel')}{' '}
- <code className="rounded bg-surface-subtle px-1 py-[1px] font-mono text-content-secondary">
+ <code className="rounded bg-surface-subtle px-1 py-px font-mono text-content-secondary">
{slug || '—'}
</code>
</p>
@@ -351,7 +351,7 @@ const CreateWorkflowForm = forwardRef<CreateSkillFormHandle, CreateSkillFormProp
required
rows={3}
maxLength={500}
- className="mt-1 shadow-sm"
+ className="mt-1 shadow-xs"
placeholder={t('skills.create.descriptionPlaceholder')}
/>
</div>
@@ -374,7 +374,7 @@ const CreateWorkflowForm = forwardRef<CreateSkillFormHandle, CreateSkillFormProp
onChange={e => setWhenToUse(e.target.value)}
rows={2}
maxLength={500}
- className="mt-1 shadow-sm"
+ className="mt-1 shadow-xs"
placeholder={t('skills.create.whenToUsePlaceholder')}
/>
<p className="mt-1 text-[11px] text-content-muted">
@@ -434,7 +434,7 @@ const CreateWorkflowForm = forwardRef<CreateSkillFormHandle, CreateSkillFormProp
invalid={showNameErr}
placeholder={t('skills.create.inputs.row.namePlaceholder')}
aria-label={t('skills.create.inputs.row.name')}
- className="text-xs shadow-sm"
+ className="text-xs shadow-xs"
/>
{showNameErr && (
<p className="mt-0.5 text-[10px] text-coral-600">
@@ -452,7 +452,7 @@ const CreateWorkflowForm = forwardRef<CreateSkillFormHandle, CreateSkillFormProp
invalid={showDescErr}
placeholder={t('skills.create.inputs.row.descriptionPlaceholder')}
aria-label={t('skills.create.inputs.row.description')}
- className="text-xs shadow-sm"
+ className="text-xs shadow-xs"
/>
{showDescErr && (
<p className="mt-0.5 text-[10px] text-coral-600">
diff --git a/app/src/components/skills/InstallSkillDialog.tsx b/app/src/components/skills/InstallSkillDialog.tsx
index fb2d8ce522..7702a0356d 100644
--- a/app/src/components/skills/InstallSkillDialog.tsx
+++ b/app/src/components/skills/InstallSkillDialog.tsx
@@ -266,7 +266,7 @@ export default function InstallSkillDialog({ onClose, onInstalled }: Props) {
disabled={submitting || result !== null}
required
maxLength={2048}
- className="mt-1 shadow-sm disabled:text-content-muted"
+ className="mt-1 shadow-xs disabled:text-content-muted"
placeholder={t('skills.install.urlPlaceholder')}
/>
{url.trim() && !urlValid ? (
@@ -304,7 +304,7 @@ export default function InstallSkillDialog({ onClose, onInstalled }: Props) {
value={timeoutSecs}
onChange={e => setTimeoutSecs(e.target.value)}
disabled={submitting || result !== null}
- className="mt-1 shadow-sm disabled:text-content-muted"
+ className="mt-1 shadow-xs disabled:text-content-muted"
placeholder={t('skills.install.timeoutPlaceholder')}
/>
{!timeoutValid ? (
@@ -326,7 +326,7 @@ export default function InstallSkillDialog({ onClose, onInstalled }: Props) {
className="flex items-center gap-3 rounded-xl border border-primary-200 bg-primary-50 p-3 text-xs text-primary-900">
<span
aria-hidden="true"
- className="h-3 w-3 flex-shrink-0 animate-spin rounded-full border-2 border-primary-300 border-t-primary-600"
+ className="h-3 w-3 shrink-0 animate-spin rounded-full border-2 border-primary-300 border-t-primary-600"
/>
<span>
{t('skills.install.fetchingPrefix')} <code className="font-mono">SKILL.md</code>…{' '}
diff --git a/app/src/components/skills/ScheduledCronCard.tsx b/app/src/components/skills/ScheduledCronCard.tsx
index 6f61f544b3..c28f0c6183 100644
--- a/app/src/components/skills/ScheduledCronCard.tsx
+++ b/app/src/components/skills/ScheduledCronCard.tsx
@@ -107,8 +107,8 @@ export default function ScheduledCronCard({
// dashboard's grouped-skill card.
const containerClass = `rounded-2xl border shadow-soft transition-colors ${
isActive
- ? 'border-sage-200 dark:border-sage-500/30 bg-gradient-to-br from-sage-50 via-surface to-sage-100 dark:from-sage-500/10 dark:via-surface dark:to-sage-500/5'
- : 'border-line bg-gradient-to-br from-surface via-surface-subtle to-surface-muted dark:from-surface dark:via-surface dark:to-surface-strong'
+ ? 'border-sage-200 dark:border-sage-500/30 bg-linear-to-br from-sage-50 via-surface to-sage-100 dark:from-sage-500/10 dark:via-surface dark:to-sage-500/5'
+ : 'border-line bg-linear-to-br from-surface via-surface-subtle to-surface-muted dark:from-surface dark:via-surface dark:to-surface-strong'
}`;
const headingRow = (
@@ -217,7 +217,7 @@ export default function ScheduledCronCard({
onClick();
}
}}
- className="w-full text-left px-4 py-3 flex items-center justify-between gap-3 cursor-pointer rounded-2xl transition-colors hover:bg-surface-subtle/80 dark:hover:bg-surface-muted/70 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40">
+ className="w-full text-left px-4 py-3 flex items-center justify-between gap-3 cursor-pointer rounded-2xl transition-colors hover:bg-surface-subtle/80 dark:hover:bg-surface-muted/70 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/40">
{headingRow}
{rightCluster}
</div>
diff --git a/app/src/components/skills/SkillCard.tsx b/app/src/components/skills/SkillCard.tsx
index 5bfccb0f18..99702f50f5 100644
--- a/app/src/components/skills/SkillCard.tsx
+++ b/app/src/components/skills/SkillCard.tsx
@@ -73,7 +73,7 @@ function UnifiedSkillCard({
<div
data-testid={testId}
className="flex items-center gap-3 rounded-xl border border-line-subtle bg-surface p-3 transition-colors hover:bg-surface-hover">
- <div className="flex h-8 w-8 flex-shrink-0 items-center justify-center text-content-secondary">
+ <div className="flex h-8 w-8 shrink-0 items-center justify-center text-content-secondary">
{icon}
</div>
@@ -82,10 +82,10 @@ function UnifiedSkillCard({
<span className="truncate text-sm font-semibold text-content">
{title}
</span>
- {statusDot && <div className={`h-1.5 w-1.5 flex-shrink-0 rounded-full ${statusDot}`} />}
+ {statusDot && <div className={`h-1.5 w-1.5 shrink-0 rounded-full ${statusDot}`} />}
{statusLabel && (
<span
- className={`flex-shrink-0 text-xs ${statusColor ?? 'text-content-faint'}`}>
+ className={`shrink-0 text-xs ${statusColor ?? 'text-content-faint'}`}>
{statusLabel}
</span>
)}
@@ -124,7 +124,7 @@ function UnifiedSkillCard({
)}
</div>
- <div className="flex flex-shrink-0 items-center gap-1">
+ <div className="flex shrink-0 items-center gap-1">
{secondaryActions && secondaryActions.length > 0 && (
<div className="relative" ref={menuRef}>
<Button
@@ -177,7 +177,7 @@ function UnifiedSkillCard({
onCtaClick();
}}
className={cn(
- 'h-auto flex-shrink-0 rounded-lg px-3 py-1.5 text-[11px] font-medium',
+ 'h-auto shrink-0 rounded-lg px-3 py-1.5 text-[11px] font-medium',
ctaStyle,
ctaDisabled && 'cursor-not-allowed opacity-50'
)}>
diff --git a/app/src/components/skills/SkillSetupPrimitives.tsx b/app/src/components/skills/SkillSetupPrimitives.tsx
index 1b53693c97..70b876dc51 100644
--- a/app/src/components/skills/SkillSetupPrimitives.tsx
+++ b/app/src/components/skills/SkillSetupPrimitives.tsx
@@ -45,7 +45,7 @@ export function SetupNotice({ children, tone = 'sage', icon, className }: SetupN
className={`rounded-xl border p-3 text-xs ${NOTICE_CLASSES[tone]} ${
icon ? 'flex items-start gap-2' : ''
} ${className ?? ''}`}>
- {icon ? <span className="mt-0.5 flex-shrink-0">{icon}</span> : null}
+ {icon ? <span className="mt-0.5 shrink-0">{icon}</span> : null}
<div className="min-w-0">{children}</div>
</div>
);
diff --git a/app/src/components/skills/SkillsExplorerTab.tsx b/app/src/components/skills/SkillsExplorerTab.tsx
index 02a4441019..a6f5232553 100644
--- a/app/src/components/skills/SkillsExplorerTab.tsx
+++ b/app/src/components/skills/SkillsExplorerTab.tsx
@@ -187,7 +187,7 @@ export function SkillTile({ skill, onUninstall, onClick }: SkillTileProps) {
className="group flex flex-col justify-between rounded-2xl border border-line bg-surface p-3 transition-colors cursor-pointer hover:bg-surface-hover">
<div className="min-w-0">
<div className="flex items-start justify-between gap-2">
- <div className="flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-surface-subtle">
+ <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-surface-subtle">
<svg
className="h-5 w-5 text-content-muted"
fill="none"
@@ -270,7 +270,7 @@ function InstalledSkillRow({ skill, onUninstall, onClick }: SkillTileProps) {
const { t } = useT();
return (
<TableRow>
- <TableCell className="min-w-[12rem]">
+ <TableCell className="min-w-48">
<Button type="button" variant="tertiary" size="xs" onClick={onClick} className="h-auto max-w-full p-0 text-left font-medium hover:bg-transparent">
<span className="truncate">{skill.name}</span>
</Button>
@@ -320,7 +320,7 @@ export function CatalogTile({ entry, installed, installing, onInstall, onClick }
}`}>
<div className="min-w-0">
<div className="flex items-start justify-between gap-2">
- <div className="flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-surface-subtle">
+ <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-surface-subtle">
<svg
className="h-5 w-5 text-primary-500"
fill="none"
@@ -405,7 +405,7 @@ function CatalogRow({ entry, installed, installing, onInstall, onClick }: Catalo
const { t } = useT();
return (
<TableRow className="group">
- <TableCell className="min-w-[12rem]">
+ <TableCell className="min-w-48">
<Button
type="button"
variant="tertiary"
@@ -468,7 +468,7 @@ function SkillDetailDialog({
<span className="flex items-center gap-2">
<span className="truncate">{name}</span>
{installed && (
- <span className="flex-shrink-0 rounded-full border border-sage-200 dark:border-sage-500/30 bg-sage-50 dark:bg-sage-500/10 px-2 py-0.5 text-[10px] font-medium text-sage-700 dark:text-sage-300">
+ <span className="shrink-0 rounded-full border border-sage-200 dark:border-sage-500/30 bg-sage-50 dark:bg-sage-500/10 px-2 py-0.5 text-[10px] font-medium text-sage-700 dark:text-sage-300">
{t('skills.explorer.installed')}
</span>
)}
@@ -836,7 +836,7 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {
size="sm"
data-testid="skill-install-from-url-btn"
onClick={() => setInstallDialogOpen(true)}
- className="flex-shrink-0">
+ className="shrink-0">
{t('skills.explorer.installFromUrl')}
</Button>
{/* Source filter */}
@@ -899,7 +899,7 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {
value={searchQuery}
onChange={e => setSearchQuery(e.target.value)}
placeholder={t('skills.explorer.searchPlaceholder')}
- className="pl-9 pr-3 text-xs shadow-sm"
+ className="pl-9 pr-3 text-xs shadow-xs"
/>
</div>
{view === 'registry' && (
@@ -911,7 +911,7 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {
disabled={catalogLoading}
title={t('skills.explorer.refreshRegistry')}
aria-label={t('skills.explorer.refreshRegistry')}
- className="flex-shrink-0 text-content-muted shadow-sm">
+ className="shrink-0 text-content-muted shadow-xs">
<svg
className={`h-4 w-4 ${catalogLoading ? 'animate-spin' : ''}`}
fill="none"
@@ -997,7 +997,7 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {
<Table>
<TableHeader>
<TableRow>
- <TableHead className="sticky top-0 z-10 min-w-[12rem] bg-surface">Skill</TableHead>
+ <TableHead className="sticky top-0 z-10 min-w-48 bg-surface">Skill</TableHead>
<TableHead className="sticky top-0 z-10 min-w-[18rem] bg-surface">Description</TableHead>
<TableHead className="sticky top-0 z-10 bg-surface">Provider</TableHead>
<TableHead className="sticky top-0 z-10 bg-surface text-right">Action</TableHead>
@@ -1049,7 +1049,7 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {
<Table>
<TableHeader>
<TableRow>
- <TableHead className="sticky top-0 z-10 min-w-[12rem] bg-surface">Skill</TableHead>
+ <TableHead className="sticky top-0 z-10 min-w-48 bg-surface">Skill</TableHead>
<TableHead className="sticky top-0 z-10 min-w-[18rem] bg-surface">Description</TableHead>
<TableHead className="sticky top-0 z-10 bg-surface">Provider</TableHead>
<TableHead className="sticky top-0 z-10 bg-surface text-right">Action</TableHead>
diff --git a/app/src/components/skills/UninstallSkillConfirmDialog.tsx b/app/src/components/skills/UninstallSkillConfirmDialog.tsx
index c5eb8449f3..ba1e3fee78 100644
--- a/app/src/components/skills/UninstallSkillConfirmDialog.tsx
+++ b/app/src/components/skills/UninstallSkillConfirmDialog.tsx
@@ -114,7 +114,7 @@ export default function UninstallSkillConfirmDialog({ skill, onClose, onUninstal
{error && (
<div className="mt-3 rounded-lg border border-coral-200 bg-coral-50 px-3 py-2 text-xs text-coral-700">
<div className="font-medium">{t('workflows.deleteError')}</div>
- <div className="mt-1 break-words font-mono text-[11px] text-coral-700/90">{error}</div>
+ <div className="mt-1 wrap-break-word font-mono text-[11px] text-coral-700/90">{error}</div>
</div>
)}
</ModalShell>
diff --git a/app/src/components/skills/WorkflowRunnerBody.tsx b/app/src/components/skills/WorkflowRunnerBody.tsx
index 95fb957bf2..b3b11f6aa0 100644
--- a/app/src/components/skills/WorkflowRunnerBody.tsx
+++ b/app/src/components/skills/WorkflowRunnerBody.tsx
@@ -1109,7 +1109,7 @@ const WorkflowRunnerBody = ({ headerText, className }: SkillsRunnerBodyProps) =>
save a recurring schedule that snapshots them. */}
<div
id="workflow-schedule"
- className="space-y-4 rounded-2xl border border-line/90 bg-gradient-to-br from-surface-muted via-surface to-surface-subtle px-4 py-4 shadow-soft">
+ className="space-y-4 rounded-2xl border border-line/90 bg-linear-to-br from-surface-muted via-surface to-surface-subtle px-4 py-4 shadow-soft">
<div className="rounded border border-line bg-surface/70 p-3">
<p className="text-sm text-content-secondary whitespace-pre-wrap">
{description.when_to_use}
@@ -1257,7 +1257,7 @@ const WorkflowRunnerBody = ({ headerText, className }: SkillsRunnerBodyProps) =>
id="skills-runner-schedule"
value={schedule}
onChange={e => setSchedule(e.target.value)}
- className="w-full rounded-xl shadow-sm">
+ className="w-full rounded-xl shadow-xs">
{SCHEDULE_PRESETS.map(p => (
<option key={p.value} value={p.value}>
{t(p.labelKey)}
@@ -1433,7 +1433,7 @@ const WorkflowRunnerBody = ({ headerText, className }: SkillsRunnerBodyProps) =>
</div>
</Button>
{open && r.output && (
- <pre className="mx-2 mb-2 px-3 py-2 rounded-md bg-surface-subtle border border-line text-[11px] text-content-secondary font-mono whitespace-pre-wrap break-words max-h-64 overflow-y-auto">
+ <pre className="mx-2 mb-2 px-3 py-2 rounded-md bg-surface-subtle border border-line text-[11px] text-content-secondary font-mono whitespace-pre-wrap wrap-break-word max-h-64 overflow-y-auto">
{r.output}
</pre>
)}
@@ -1561,7 +1561,7 @@ const WorkflowRunnerBody = ({ headerText, className }: SkillsRunnerBodyProps) =>
{t('settings.skillsRunner.viewer.error')} {v.error}
</div>
)}
- <pre className="px-3 py-2 m-0 max-h-96 overflow-auto font-mono text-[11px] leading-snug whitespace-pre-wrap break-words text-content">
+ <pre className="px-3 py-2 m-0 max-h-96 overflow-auto font-mono text-[11px] leading-snug whitespace-pre-wrap wrap-break-word text-content">
{v?.content ??
(v?.loading ? t('settings.skillsRunner.viewer.loading') : '')}
</pre>
diff --git a/app/src/components/skills/skillIcons.tsx b/app/src/components/skills/skillIcons.tsx
index 36467749b9..f4fbb756c2 100644
--- a/app/src/components/skills/skillIcons.tsx
+++ b/app/src/components/skills/skillIcons.tsx
@@ -39,7 +39,7 @@ function SkillIconBadge({
role="img"
aria-label={label}
className={iconClasses(
- 'flex h-8 w-8 items-center justify-center rounded-xl shadow-sm ring-1 ring-surface-overlay/5',
+ 'flex h-8 w-8 items-center justify-center rounded-xl shadow-xs ring-1 ring-surface-overlay/5',
bgClassName,
className
)}>
@@ -88,7 +88,7 @@ export function getChannelIcons(
<span
role="img"
aria-label={t('skills.channelIcon.yuanbao')}
- className="flex h-8 w-8 items-center justify-center rounded-xl shadow-sm ring-1 ring-surface-overlay/5 bg-surface">
+ className="flex h-8 w-8 items-center justify-center rounded-xl shadow-xs ring-1 ring-surface-overlay/5 bg-surface">
<YuanbaoIcon className="h-[18px] w-[18px]" />
</span>
),
diff --git a/app/src/components/ui/Accordion.tsx b/app/src/components/ui/Accordion.tsx
index ae84fff0c0..6b286244ed 100644
--- a/app/src/components/ui/Accordion.tsx
+++ b/app/src/components/ui/Accordion.tsx
@@ -20,7 +20,7 @@ import { cn } from '../../lib/cn';
* `--radix-accordion-content-height` (and `--radix-accordion-content-width`) on
* the content element, measured before paint. A caller that wants a true
* height collapse can `forceMount` and pass
- * `className="h-[var(--radix-accordion-content-height)] transition-[height]"`;
+ * `className="h-(--radix-accordion-content-height) transition-[height]"`;
* we do not do that by default because a fixed height clips the padding of the
* section during the frame the browser is still measuring it.
*/
@@ -53,7 +53,7 @@ export const accordionTriggerVariants = cva(
[
'group flex w-full items-center justify-between gap-2 text-left font-medium',
'text-content transition-colors hover:bg-surface-hover',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25',
'disabled:cursor-not-allowed disabled:opacity-50',
],
{
@@ -154,7 +154,7 @@ export const AccordionTrigger = ({
strokeLinecap="round"
strokeLinejoin="round"
className={cn(
- 'h-4 w-4 flex-shrink-0 text-content-muted transition-transform duration-200',
+ 'h-4 w-4 shrink-0 text-content-muted transition-transform duration-200',
'motion-reduce:transition-none group-data-[state=open]:rotate-180'
)}>
<path d="m6 9 6 6 6-6" />
diff --git a/app/src/components/ui/AlertDialog.tsx b/app/src/components/ui/AlertDialog.tsx
index 8a31d81d82..d21dc3d5db 100644
--- a/app/src/components/ui/AlertDialog.tsx
+++ b/app/src/components/ui/AlertDialog.tsx
@@ -76,7 +76,7 @@ export const AlertDialogContent = forwardRef<
className={cn(
'fixed left-1/2 top-1/2 z-50 w-full max-w-sm -translate-x-1/2 -translate-y-1/2',
'overflow-hidden rounded-2xl border border-line bg-surface p-5 shadow-large',
- 'animate-dialog-in focus:outline-none',
+ 'animate-dialog-in focus:outline-hidden',
className
)}
{...rest}>
@@ -132,7 +132,7 @@ AlertDialogFooter.displayName = 'AlertDialogFooter';
*/
const alertDialogActionVariants = cva(
'inline-flex items-center justify-center gap-2 h-[30px] px-3 rounded-md text-sm font-medium ' +
- 'transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 ' +
+ 'transition-colors duration-150 focus-visible:outline-hidden focus-visible:ring-2 ' +
'focus-visible:ring-offset-2 focus-visible:ring-offset-surface ' +
'disabled:opacity-40 disabled:pointer-events-none',
{
@@ -182,7 +182,7 @@ export const AlertDialogCancel = forwardRef<
className={cn(
'inline-flex items-center justify-center gap-2 h-[30px] px-3 rounded-md text-sm font-medium',
'border border-line-strong bg-surface text-content hover:bg-surface-hover',
- 'transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2',
+ 'transition-colors duration-150 focus-visible:outline-hidden focus-visible:ring-2',
'focus-visible:ring-primary-500/25 focus-visible:ring-offset-2 focus-visible:ring-offset-surface',
'disabled:opacity-40 disabled:pointer-events-none',
className
diff --git a/app/src/components/ui/Button.test.tsx b/app/src/components/ui/Button.test.tsx
index 7d359c3751..184ed7d531 100644
--- a/app/src/components/ui/Button.test.tsx
+++ b/app/src/components/ui/Button.test.tsx
@@ -40,7 +40,7 @@ describe('Button', () => {
expect(btn.className).toMatch(/text-content-inverted/);
});
- it('renders a coral outline for secondary + tone="danger"', () => {
+ it('renders a coral outline-solid for secondary + tone="danger"', () => {
render(
<Button variant="secondary" tone="danger">
Remove
diff --git a/app/src/components/ui/Button.tsx b/app/src/components/ui/Button.tsx
index 6cf06ceda8..270872e2fe 100644
--- a/app/src/components/ui/Button.tsx
+++ b/app/src/components/ui/Button.tsx
@@ -35,7 +35,7 @@ import { cn } from '../../lib/cn';
*/
export const buttonVariants = cva(
'inline-flex items-center justify-center gap-2 font-medium transition-colors duration-150 ' +
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 ' +
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 ' +
'focus-visible:ring-offset-surface ' +
'disabled:opacity-40 disabled:pointer-events-none',
{
diff --git a/app/src/components/ui/Checkbox.tsx b/app/src/components/ui/Checkbox.tsx
index 6c21458028..93b01d0570 100644
--- a/app/src/components/ui/Checkbox.tsx
+++ b/app/src/components/ui/Checkbox.tsx
@@ -63,7 +63,7 @@ const Checkbox = ({
className={cn(
'h-4 w-4 cursor-pointer rounded-sm border border-line-strong bg-surface accent-primary-500',
'transition-colors duration-150',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1',
// Offsets against the themed surface. The original used
// `ring-offset-white` plus a hardcoded dark companion, which stayed
// white under any custom theme.
diff --git a/app/src/components/ui/Collapsible.tsx b/app/src/components/ui/Collapsible.tsx
index 9170c3d340..c3f343bafa 100644
--- a/app/src/components/ui/Collapsible.tsx
+++ b/app/src/components/ui/Collapsible.tsx
@@ -17,7 +17,7 @@ import { cn } from '../../lib/cn';
* publishes `--radix-collapsible-content-height` (and
* `--radix-collapsible-content-width`) on the content element for callers that
* `forceMount` and want a measured height collapse
- * (`h-[var(--radix-collapsible-content-height)] transition-[height]`); the
+ * (`h-(--radix-collapsible-content-height) transition-[height]`); the
* default does not set a height so the region can reflow freely.
*/
export const collapsibleVariants = cva('', {
@@ -36,7 +36,7 @@ export const collapsibleTriggerVariants = cva(
[
'group flex w-full items-center justify-between gap-2 text-left font-medium',
'text-content transition-colors hover:bg-surface-hover',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25',
'disabled:cursor-not-allowed disabled:opacity-50',
],
{
diff --git a/app/src/components/ui/Dialog.tsx b/app/src/components/ui/Dialog.tsx
index d26088e092..c04f6f40ad 100644
--- a/app/src/components/ui/Dialog.tsx
+++ b/app/src/components/ui/Dialog.tsx
@@ -59,7 +59,7 @@ export const DialogContent = ({
// its own frames; see the keyframe comment in tailwind.config.js.
className={cn(
'fixed left-1/2 top-1/2 z-50 w-full max-w-md -translate-x-1/2 -translate-y-1/2',
- 'overflow-hidden rounded-2xl bg-surface shadow-large animate-dialog-in focus:outline-none',
+ 'overflow-hidden rounded-2xl bg-surface shadow-large animate-dialog-in focus:outline-hidden',
className
)}
{...rest}>
diff --git a/app/src/components/ui/DropdownMenu.tsx b/app/src/components/ui/DropdownMenu.tsx
index 21957377ad..b7d814cd58 100644
--- a/app/src/components/ui/DropdownMenu.tsx
+++ b/app/src/components/ui/DropdownMenu.tsx
@@ -28,8 +28,8 @@ export const DropdownMenuContent = ({
align={align}
sideOffset={sideOffset}
className={cn(
- 'z-50 min-w-[10rem] overflow-hidden rounded-xl border border-line bg-surface p-1 shadow-large',
- 'animate-fade-in focus:outline-none',
+ 'z-50 min-w-40 overflow-hidden rounded-xl border border-line bg-surface p-1 shadow-large',
+ 'animate-fade-in focus:outline-hidden',
className
)}
{...rest}
@@ -44,9 +44,9 @@ export const DropdownMenuItem = ({
<DropdownMenuPrimitive.Item
data-slot="dropdown-menu-item"
className={cn(
- 'flex cursor-pointer select-none items-center gap-2 rounded-lg px-2.5 py-1.5 text-sm text-content outline-none',
- 'data-[highlighted]:bg-surface-hover',
- 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'flex cursor-pointer select-none items-center gap-2 rounded-lg px-2.5 py-1.5 text-sm text-content outline-hidden',
+ 'data-highlighted:bg-surface-hover',
+ 'data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...rest}
diff --git a/app/src/components/ui/Field.tsx b/app/src/components/ui/Field.tsx
index e5a7e45881..a618cf8be7 100644
--- a/app/src/components/ui/Field.tsx
+++ b/app/src/components/ui/Field.tsx
@@ -59,7 +59,7 @@ const Field = ({
)}
</div>
)}
- <div className={stacked ? 'w-full' : 'flex-shrink-0'}>{control}</div>
+ <div className={stacked ? 'w-full' : 'shrink-0'}>{control}</div>
</div>
);
};
diff --git a/app/src/components/ui/Input.tsx b/app/src/components/ui/Input.tsx
index 06a7338e5d..a8fd1dddf5 100644
--- a/app/src/components/ui/Input.tsx
+++ b/app/src/components/ui/Input.tsx
@@ -28,7 +28,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>((props, ref) => {
: 'border-line-strong focus:border-primary-500 focus:ring-primary-500/20 dark:focus:border-primary-400';
const classes = [
'w-full border bg-surface text-content placeholder-content-faint',
- 'transition-colors duration-150 focus:outline-none focus:ring-2',
+ 'transition-colors duration-150 focus:outline-hidden focus:ring-2',
'disabled:opacity-50 disabled:bg-surface-muted',
SIZES[inputSize],
ring,
diff --git a/app/src/components/ui/InputGroup.tsx b/app/src/components/ui/InputGroup.tsx
index 1ac9811e8a..2c5b45fc7e 100644
--- a/app/src/components/ui/InputGroup.tsx
+++ b/app/src/components/ui/InputGroup.tsx
@@ -56,7 +56,7 @@ export const InputGroupRoot = forwardRef<HTMLDivElement, InputGroupProps>((props
data-slot="input-group"
data-size={size}
className={cn(
- 'flex w-full items-stretch [&>*]:relative [&>*]:focus-within:z-10',
+ 'flex w-full items-stretch *:relative focus-within:*:z-10',
'[&>*:not(:first-child)]:rounded-l-none [&>*:not(:last-child)]:rounded-r-none',
'[&>*:not(:first-child)]:-ml-px',
className
diff --git a/app/src/components/ui/ListRow.tsx b/app/src/components/ui/ListRow.tsx
index 99050046bd..8e0268e772 100644
--- a/app/src/components/ui/ListRow.tsx
+++ b/app/src/components/ui/ListRow.tsx
@@ -41,7 +41,7 @@ const ListRow = ({
data-testid={testId}>
<div className="flex min-w-0 flex-1 items-center gap-2">
<span className={cn('truncate text-xs text-content', mono && 'font-mono')}>{label}</span>
- {badge && <span className="flex-shrink-0">{badge}</span>}
+ {badge && <span className="shrink-0">{badge}</span>}
</div>
{onRemove && (
<Button
@@ -53,7 +53,7 @@ const ListRow = ({
aria-label={removeLabel}
title={removeIcon != null ? removeLabel : undefined}
data-testid={removeTestId}
- className="flex-shrink-0 text-coral-500 hover:text-coral-600 dark:text-coral-400 dark:hover:text-coral-300">
+ className="shrink-0 text-coral-500 hover:text-coral-600 dark:text-coral-400 dark:hover:text-coral-300">
{removeIcon ?? removeLabel}
</Button>
)}
diff --git a/app/src/components/ui/ModalShell.tsx b/app/src/components/ui/ModalShell.tsx
index 264d5b5ab3..5560f7a516 100644
--- a/app/src/components/ui/ModalShell.tsx
+++ b/app/src/components/ui/ModalShell.tsx
@@ -101,7 +101,7 @@ export function ModalShell({
<div className="flex items-center justify-between border-b border-line-subtle px-5 py-4">
<div className="flex min-w-0 items-center gap-3">
{icon ? (
- <div className="flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-primary-50 text-primary-600">
+ <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-primary-50 text-primary-600">
{icon}
</div>
) : null}
diff --git a/app/src/components/ui/NativeSelect.tsx b/app/src/components/ui/NativeSelect.tsx
index 6fc8eb5dcb..d8bf95e5de 100644
--- a/app/src/components/ui/NativeSelect.tsx
+++ b/app/src/components/ui/NativeSelect.tsx
@@ -31,7 +31,7 @@ const NativeSelect = forwardRef<HTMLSelectElement, NativeSelectProps>(
className={cn(
'block cursor-pointer appearance-none rounded-lg border border-line-strong bg-surface bg-no-repeat pr-7 text-sm text-content',
'transition-colors duration-150',
- 'focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-500/20',
+ 'focus:border-primary-500 focus:outline-hidden focus:ring-2 focus:ring-primary-500/20',
'disabled:cursor-not-allowed disabled:opacity-50',
inputSize === 'sm' ? 'h-8 pl-2.5' : 'h-9 pl-3',
className
diff --git a/app/src/components/ui/Popover.tsx b/app/src/components/ui/Popover.tsx
index e6c8b3d376..2e9cf608d8 100644
--- a/app/src/components/ui/Popover.tsx
+++ b/app/src/components/ui/Popover.tsx
@@ -33,7 +33,7 @@ export const PopoverContent = ({
sideOffset={sideOffset}
className={cn(
'z-50 rounded-xl border border-line bg-surface p-3 text-sm text-content shadow-large',
- 'animate-fade-in focus:outline-none',
+ 'animate-fade-in focus:outline-hidden',
className
)}
{...rest}
diff --git a/app/src/components/ui/Progress.tsx b/app/src/components/ui/Progress.tsx
index d9a205344a..be06e18e8b 100644
--- a/app/src/components/ui/Progress.tsx
+++ b/app/src/components/ui/Progress.tsx
@@ -39,7 +39,7 @@ const Progress = ({
// The shared `shimmer` keyframe animates `background-position`, so the
// fill has to be a gradient wider than its box for it to move at all —
// on a solid colour the animation runs and nothing appears to happen.
- <ProgressPrimitive.Indicator className="h-full w-full bg-gradient-to-r from-primary-500/25 via-primary-500 to-primary-500/25 bg-[length:200%_100%] motion-safe:animate-shimmer" />
+ <ProgressPrimitive.Indicator className="h-full w-full bg-linear-to-r from-primary-500/25 via-primary-500 to-primary-500/25 bg-size-[200%_100%] motion-safe:animate-shimmer" />
) : (
<ProgressPrimitive.Indicator
className="h-full w-full flex-1 bg-primary-500 transition-transform duration-300 motion-reduce:transition-none"
diff --git a/app/src/components/ui/RadioGroup.tsx b/app/src/components/ui/RadioGroup.tsx
index 7dba9ce32b..64558f472f 100644
--- a/app/src/components/ui/RadioGroup.tsx
+++ b/app/src/components/ui/RadioGroup.tsx
@@ -19,10 +19,10 @@ import { cn } from '../../lib/cn';
* that ignores the user's theme reads wrong on any tinted surface.
*/
export const radioGroupItemVariants = cva(
- 'relative inline-flex flex-shrink-0 items-center justify-center rounded-full border bg-surface ' +
+ 'relative inline-flex shrink-0 items-center justify-center rounded-full border bg-surface ' +
'border-line-strong transition-colors duration-150 ' +
'hover:border-primary-500 ' +
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 ' +
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 ' +
'focus-visible:ring-offset-2 focus-visible:ring-offset-surface ' +
'data-[state=checked]:border-primary-500 ' +
'disabled:cursor-not-allowed disabled:opacity-50',
diff --git a/app/src/components/ui/Select.tsx b/app/src/components/ui/Select.tsx
index 74e8f6ca4c..e2824f2772 100644
--- a/app/src/components/ui/Select.tsx
+++ b/app/src/components/ui/Select.tsx
@@ -47,9 +47,9 @@ export const SelectTrigger = forwardRef<HTMLButtonElement, SelectTriggerProps>(
className={cn(
'inline-flex w-full items-center justify-between gap-2 rounded-lg border border-line-strong bg-surface text-sm text-content',
'transition-colors duration-150',
- 'focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-500/20',
- 'data-[placeholder]:text-content-muted',
- 'data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50',
+ 'focus:border-primary-500 focus:outline-hidden focus:ring-2 focus:ring-primary-500/20',
+ 'data-placeholder:text-content-muted',
+ 'data-disabled:cursor-not-allowed data-disabled:opacity-50',
inputSize === 'sm' ? 'h-8 px-2.5' : 'h-9 px-3',
className
)}
@@ -96,14 +96,14 @@ export const SelectContent = forwardRef<HTMLDivElement, SelectContentProps>(
sideOffset={position === 'popper' ? sideOffset : undefined}
className={cn(
'z-50 overflow-hidden rounded-xl border border-line bg-surface p-1 shadow-large',
- 'animate-fade-in focus:outline-none',
- position === 'popper' && 'w-[var(--radix-select-trigger-width)]',
+ 'animate-fade-in focus:outline-hidden',
+ position === 'popper' && 'w-(--radix-select-trigger-width)',
className
)}
{...rest}>
<SelectPrimitive.Viewport
data-slot="select-viewport"
- className="max-h-[18rem] overflow-y-auto">
+ className="max-h-72 overflow-y-auto">
{children}
</SelectPrimitive.Viewport>
</SelectPrimitive.Content>
@@ -120,9 +120,9 @@ export const SelectItem = forwardRef<
ref={ref}
data-slot="select-item"
className={cn(
- 'relative flex cursor-pointer select-none items-center gap-2 rounded-lg py-1.5 pl-2.5 pr-7 text-sm text-content outline-none',
- 'data-[highlighted]:bg-surface-hover',
- 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ 'relative flex cursor-pointer select-none items-center gap-2 rounded-lg py-1.5 pl-2.5 pr-7 text-sm text-content outline-hidden',
+ 'data-highlighted:bg-surface-hover',
+ 'data-disabled:pointer-events-none data-disabled:opacity-50',
className
)}
{...rest}>
diff --git a/app/src/components/ui/Sheet.tsx b/app/src/components/ui/Sheet.tsx
index 819cb3fda4..2e17bbe103 100644
--- a/app/src/components/ui/Sheet.tsx
+++ b/app/src/components/ui/Sheet.tsx
@@ -22,7 +22,7 @@ export const SheetDescription = DialogPrimitive.Description;
* desktop app with essentially no touch surface.
*/
export const sheetVariants = cva(
- 'fixed z-50 flex flex-col bg-surface shadow-large focus:outline-none',
+ 'fixed z-50 flex flex-col bg-surface shadow-large focus:outline-hidden',
{
variants: {
side: {
diff --git a/app/src/components/ui/Sidebar.tsx b/app/src/components/ui/Sidebar.tsx
index faf69baf2f..de7de94fcf 100644
--- a/app/src/components/ui/Sidebar.tsx
+++ b/app/src/components/ui/Sidebar.tsx
@@ -280,7 +280,7 @@ export const SidebarRail = forwardRef<HTMLDivElement, SidebarRailProps>(
window.removeEventListener('pointermove', handleMove);
window.removeEventListener('pointerup', detach);
window.removeEventListener('pointercancel', detach);
- window.removeEventListener('blur', detach);
+ window.removeEventListener('blur-sm', detach);
detachRef.current = null;
};
@@ -323,7 +323,7 @@ export const SidebarRail = forwardRef<HTMLDivElement, SidebarRailProps>(
onKeyDown={handleKeyDown}
className={cn(
'group relative w-px flex-none cursor-col-resize select-none self-stretch',
- 'bg-transparent focus:outline-none',
+ 'bg-transparent focus:outline-hidden',
className
)}
{...rest}>
@@ -365,7 +365,7 @@ export const SidebarTrigger = forwardRef<HTMLButtonElement, SidebarTriggerProps>
className={cn(
'inline-flex h-7 w-7 flex-none items-center justify-center rounded-md',
'text-content-muted transition-colors hover:bg-surface-hover hover:text-content-secondary',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25',
className
)}
{...rest}>
@@ -568,7 +568,7 @@ export const SidebarMenuButton = forwardRef<HTMLButtonElement, SidebarMenuButton
aria-current={ariaCurrent ?? (isActive ? 'page' : undefined)}
className={cn(
'group/menu-button flex w-full min-w-0 cursor-pointer items-center rounded-md',
- 'transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25',
+ 'transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25',
'disabled:pointer-events-none disabled:opacity-50',
MENU_BUTTON_SIZES[size],
isActive
diff --git a/app/src/components/ui/Slider.tsx b/app/src/components/ui/Slider.tsx
index de11ab5676..74e00cb5bc 100644
--- a/app/src/components/ui/Slider.tsx
+++ b/app/src/components/ui/Slider.tsx
@@ -30,9 +30,9 @@ export const sliderTrackVariants = cva(
);
export const sliderThumbVariants = cva(
- 'block rounded-full border-2 border-primary-500 bg-surface shadow-sm transition-colors ' +
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25 ' +
- 'disabled:pointer-events-none data-[disabled]:opacity-50',
+ 'block rounded-full border-2 border-primary-500 bg-surface shadow-xs transition-colors ' +
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25 ' +
+ 'disabled:pointer-events-none data-disabled:opacity-50',
{ variants: { size: { sm: 'h-3 w-3', md: 'h-4 w-4' } }, defaultVariants: { size: 'md' } }
);
@@ -65,7 +65,7 @@ const Slider = forwardRef<HTMLSpanElement, SliderProps>(
className={cn(
'relative flex w-full touch-none select-none items-center',
'data-[orientation=vertical]:h-full data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col',
- 'data-[disabled]:opacity-50',
+ 'data-disabled:opacity-50',
className
)}
{...rest}>
diff --git a/app/src/components/ui/StatusLine.tsx b/app/src/components/ui/StatusLine.tsx
index 3e983248fb..75a522d096 100644
--- a/app/src/components/ui/StatusLine.tsx
+++ b/app/src/components/ui/StatusLine.tsx
@@ -25,7 +25,7 @@ const StatusLine = ({ saving, savedNote, error, savingLabel, className }: Status
} else if (savedNote) {
content = (
<span className="flex items-center gap-1 text-sage-700 dark:text-sage-300">
- <CheckIcon className="inline-block h-3 w-3 flex-shrink-0" />
+ <CheckIcon className="inline-block h-3 w-3 shrink-0" />
{savedNote}
</span>
);
@@ -34,7 +34,7 @@ const StatusLine = ({ saving, savedNote, error, savingLabel, className }: Status
return (
<div
data-slot="status-line"
- className={cn('min-h-[1.25rem] text-xs', className)}
+ className={cn('min-h-5 text-xs', className)}
aria-live="polite"
aria-atomic="true">
{content}
diff --git a/app/src/components/ui/Switch.tsx b/app/src/components/ui/Switch.tsx
index 6586efa711..342b7fcf7d 100644
--- a/app/src/components/ui/Switch.tsx
+++ b/app/src/components/ui/Switch.tsx
@@ -41,16 +41,16 @@ const Switch = ({
disabled={disabled}
aria-label={ariaLabel}
className={cn(
- 'relative inline-flex h-[22px] w-[38px] flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent',
+ 'relative inline-flex h-[22px] w-[38px] shrink-0 cursor-pointer rounded-full border-2 border-transparent',
'transition-colors duration-200 ease-in-out motion-reduce:transition-none',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 focus-visible:ring-offset-surface',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 focus-visible:ring-offset-surface',
'disabled:cursor-not-allowed disabled:opacity-50',
'data-[state=checked]:bg-primary-500 data-[state=unchecked]:bg-surface-strong',
className
)}>
<SwitchPrimitive.Thumb
className={cn(
- 'pointer-events-none inline-block h-[18px] w-[18px] transform rounded-full bg-surface shadow-sm ring-0',
+ 'pointer-events-none inline-block h-[18px] w-[18px] transform rounded-full bg-surface shadow-xs ring-0',
'transition-transform duration-200 ease-in-out motion-reduce:transition-none',
'data-[state=checked]:translate-x-[16px] data-[state=unchecked]:translate-x-0'
)}
diff --git a/app/src/components/ui/Tabs.tsx b/app/src/components/ui/Tabs.tsx
index 2f70462f02..054d38c190 100644
--- a/app/src/components/ui/Tabs.tsx
+++ b/app/src/components/ui/Tabs.tsx
@@ -18,12 +18,12 @@ export const TabsList = ({
'flex items-center gap-1',
variant === 'line' && [
'gap-0 border-b border-line',
- '[&_[data-slot=tabs-trigger]]:-mb-px [&_[data-slot=tabs-trigger]]:rounded-none',
- '[&_[data-slot=tabs-trigger]]:border-b-2 [&_[data-slot=tabs-trigger]]:border-transparent',
- '[&_[data-slot=tabs-trigger]]:data-[state=active]:border-primary-500',
- '[&_[data-slot=tabs-trigger]]:data-[state=active]:bg-transparent',
- '[&_[data-slot=tabs-trigger]]:data-[state=active]:text-primary-600',
- 'dark:[&_[data-slot=tabs-trigger]]:data-[state=active]:text-primary-300',
+ '**:data-[slot=tabs-trigger]:-mb-px **:data-[slot=tabs-trigger]:rounded-none',
+ '**:data-[slot=tabs-trigger]:border-b-2 **:data-[slot=tabs-trigger]:border-transparent',
+ 'data-[state=active]:**:data-[slot=tabs-trigger]:border-primary-500',
+ 'data-[state=active]:**:data-[slot=tabs-trigger]:bg-transparent',
+ 'data-[state=active]:**:data-[slot=tabs-trigger]:text-primary-600',
+ 'dark:data-[state=active]:**:data-[slot=tabs-trigger]:text-primary-300',
],
className
)}
@@ -40,7 +40,7 @@ export const TabsTrigger = ({
className={cn(
'inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium transition-colors',
'text-content-muted hover:bg-surface-hover hover:text-content-secondary',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25',
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25',
'data-[state=active]:bg-surface-strong data-[state=active]:text-content',
className
)}
@@ -54,7 +54,7 @@ export const TabsContent = ({
}: ComponentPropsWithoutRef<typeof TabsPrimitive.Content>) => (
<TabsPrimitive.Content
data-slot="tabs-content"
- className={cn('focus:outline-none', className)}
+ className={cn('focus:outline-hidden', className)}
{...rest}
/>
);
diff --git a/app/src/components/ui/TextArea.tsx b/app/src/components/ui/TextArea.tsx
index 79512dfad0..fe6d6b02e6 100644
--- a/app/src/components/ui/TextArea.tsx
+++ b/app/src/components/ui/TextArea.tsx
@@ -14,7 +14,7 @@ const TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(
aria-invalid={invalid || undefined}
className={cn(
'block w-full rounded-lg border bg-surface px-3 py-2 text-sm text-content placeholder-content-faint',
- 'transition-colors duration-150 focus:outline-none focus:ring-2',
+ 'transition-colors duration-150 focus:outline-hidden focus:ring-2',
'disabled:opacity-50',
invalid
? 'border-coral-400 focus:border-coral-500 focus:ring-coral-500/20'
diff --git a/app/src/components/ui/Toggle.tsx b/app/src/components/ui/Toggle.tsx
index d919a84dd2..8ce7fa9a7a 100644
--- a/app/src/components/ui/Toggle.tsx
+++ b/app/src/components/ui/Toggle.tsx
@@ -22,7 +22,7 @@ import { cn } from '../../lib/cn';
*/
export const toggleVariants = cva(
'inline-flex items-center justify-center gap-2 font-medium transition-colors duration-150 ' +
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 ' +
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 ' +
'focus-visible:ring-offset-surface focus-visible:ring-primary-500/25 ' +
'disabled:opacity-40 disabled:pointer-events-none',
{
diff --git a/app/src/components/ui/Tooltip.test.tsx b/app/src/components/ui/Tooltip.test.tsx
index 4c5352b724..17a70afc1f 100644
--- a/app/src/components/ui/Tooltip.test.tsx
+++ b/app/src/components/ui/Tooltip.test.tsx
@@ -55,7 +55,7 @@ describe('Tooltip', () => {
expect(screen.queryByTestId('tooltip')).toBeNull();
});
- it('shows on keyboard focus and hides on blur', () => {
+ it('shows on keyboard focus and hides on blur-sm', () => {
render(
<Tooltip label="Home" delayMs={0}>
<button type="button" aria-label="Home">
diff --git a/app/src/components/ui/Tooltip.tsx b/app/src/components/ui/Tooltip.tsx
index 031e5f72c9..c51c518d07 100644
--- a/app/src/components/ui/Tooltip.tsx
+++ b/app/src/components/ui/Tooltip.tsx
@@ -199,7 +199,7 @@ export default function Tooltip({
// Semantic tokens, not `bg-stone-800`/`text-white`/`dark:bg-neutral-700`:
// those are raw palette scales, so the pill kept a fixed grey under
// every user theme instead of following it.
- className={`pointer-events-none fixed z-[9999] rounded-md bg-content px-2 py-1 text-xs font-medium text-surface shadow-medium animate-fade-in ${
+ className={`pointer-events-none fixed z-9999 rounded-md bg-content px-2 py-1 text-xs font-medium text-surface shadow-medium animate-fade-in ${
multiline ? 'max-w-xs whitespace-normal' : 'whitespace-nowrap'
}`}
style={{
diff --git a/app/src/components/upsell/UpsellBanner.tsx b/app/src/components/upsell/UpsellBanner.tsx
index 4bd1459399..4640bd46d4 100644
--- a/app/src/components/upsell/UpsellBanner.tsx
+++ b/app/src/components/upsell/UpsellBanner.tsx
@@ -53,7 +53,7 @@ export default function UpsellBanner({
className={`p-3 ${rounded ? 'rounded-xl' : ''} border flex items-center justify-between gap-3 ${styles.container}`}>
<div className="flex items-center gap-2 min-w-0">
<svg
- className={`w-4 h-4 flex-shrink-0 ${styles.icon}`}
+ className={`w-4 h-4 shrink-0 ${styles.icon}`}
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -69,7 +69,7 @@ export default function UpsellBanner({
<p className={`text-xs ${styles.text} truncate`}>{message}</p>
</div>
</div>
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
{ctaLabel && onCtaClick && (
<button
onClick={onCtaClick}
diff --git a/app/src/components/walkthrough/WalkthroughTooltip.tsx b/app/src/components/walkthrough/WalkthroughTooltip.tsx
index d00c7646ea..3b8ce00d4a 100644
--- a/app/src/components/walkthrough/WalkthroughTooltip.tsx
+++ b/app/src/components/walkthrough/WalkthroughTooltip.tsx
@@ -38,7 +38,7 @@ const WalkthroughTooltip = ({
<div className="h-1 bg-surface-subtle">
<div
data-testid="walkthrough-progress-bar"
- className="h-full bg-gradient-to-r from-[#2F6EF4] to-[#5B9BF3] transition-all duration-500 ease-out rounded-r-full"
+ className="h-full bg-linear-to-r from-[#2F6EF4] to-[#5B9BF3] transition-all duration-500 ease-out rounded-r-full"
style={{ width: `${progress}%` }}
/>
</div>
@@ -85,7 +85,7 @@ const WalkthroughTooltip = ({
{index > 0 && (
<button
{...backProps}
- className="text-[12px] text-content-muted hover:text-content border border-line hover:border-line-strong dark:hover:border-line-strong transition-all px-4 py-2 rounded-xl hover:shadow-sm">
+ className="text-[12px] text-content-muted hover:text-content border border-line hover:border-line-strong dark:hover:border-line-strong transition-all px-4 py-2 rounded-xl hover:shadow-xs">
{t('common.back')}
</button>
)}
@@ -94,7 +94,7 @@ const WalkthroughTooltip = ({
{continuous && (
<button
{...primaryProps}
- className="text-[12px] text-white bg-[#2F6EF4] hover:bg-[#2563d4] active:scale-[0.97] transition-all px-4 py-2 rounded-xl font-medium shadow-sm hover:shadow-md">
+ className="text-[12px] text-white bg-[#2F6EF4] hover:bg-[#2563d4] active:scale-[0.97] transition-all px-4 py-2 rounded-xl font-medium shadow-xs hover:shadow-md">
{isLastStep ? t('walkthrough.tooltip.letsGo') : t('walkthrough.tooltip.next')}
</button>
)}
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsx
index c4919b30cd..46741ae180 100644
--- a/app/src/features/conversations/Conversations.tsx
+++ b/app/src/features/conversations/Conversations.tsx
@@ -2004,7 +2004,7 @@ const Conversations = ({
{!isSidebar && (
<div
aria-hidden="true"
- className="pointer-events-none absolute inset-x-0 bottom-0 z-10 h-28 bg-gradient-to-t from-surface via-surface/90 to-transparent"
+ className="pointer-events-none absolute inset-x-0 bottom-0 z-10 h-28 bg-linear-to-t from-surface via-surface/90 to-transparent"
/>
)}
@@ -2021,15 +2021,15 @@ const Conversations = ({
// (e.g. the voice "Setup" link) + the composer (#3785). Rather than a
// percentage `max-height` (which does not reliably resolve inside a
// stretched flex item in Chromium), let the footer SHRINK: dropping
- // `flex-shrink-0` and adding `min-h-0 overflow-y-auto` makes the flex
+ // `shrink-0` and adding `min-h-0 overflow-y-auto` makes the flex
// algorithm cap it to the available height (the basis-0 message list
// gives up its space first) and scroll internally instead of being
// clipped by the `overflow-hidden` mainPanel. On a tall window there is
// free space, so the footer keeps its natural height (composer pinned).
className={
isSidebar
- ? 'mx-auto w-full max-w-[48.75rem] min-h-0 overflow-y-auto px-4 py-3'
- : 'absolute inset-x-0 bottom-0 z-20 mx-auto w-full max-w-[48.75rem] px-4 pb-4 pt-6'
+ ? 'mx-auto w-full max-w-195 min-h-0 overflow-y-auto px-4 py-3'
+ : 'absolute inset-x-0 bottom-0 z-20 mx-auto w-full max-w-195 px-4 pb-4 pt-6'
}>
<>
{isNearLimit &&
@@ -2057,7 +2057,7 @@ const Conversations = ({
<div className="mb-3 p-3 rounded-xl bg-coral-50 border border-coral-200 flex flex-wrap items-center justify-between gap-3">
<div className="flex items-center gap-2 min-w-0">
<svg
- className="w-4 h-4 text-coral-400 flex-shrink-0"
+ className="w-4 h-4 text-coral-400 shrink-0"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -2074,7 +2074,7 @@ const Conversations = ({
: t('chat.budgetComplete')}
</p>
</div>
- <div className="flex flex-shrink-0 items-center gap-2">
+ <div className="flex shrink-0 items-center gap-2">
<button
type="button"
data-analytics-id="chat-budget-openrouter-free"
@@ -2145,7 +2145,7 @@ const Conversations = ({
data-chat-send-error-code={displayedSendError.code}>
{displayedSendError.message}
</p>
- <div className="flex items-center gap-2 flex-shrink-0 ml-2">
+ <div className="flex items-center gap-2 shrink-0 ml-2">
{(displayedSendError.code === 'stt_not_ready' ||
displayedSendError.code === 'voice_transcription' ||
displayedSendError.code === 'tts_not_ready' ||
@@ -2456,7 +2456,7 @@ const Conversations = ({
void dispatch(loadThreadMessages(selectedThreadParent.id));
navigate(chatThreadPath(selectedThreadParent.id));
}}
- className="mt-2 flex items-center gap-1 rounded px-1 text-[11px] font-medium text-primary-600 hover:text-primary-700 hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-300"
+ className="mt-2 flex items-center gap-1 rounded px-1 text-[11px] font-medium text-primary-600 hover:text-primary-700 hover:underline focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-300"
data-testid="worker-thread-back-to-parent">
<span aria-hidden="true">←</span>
<span className="max-w-[16rem] truncate">
@@ -2478,7 +2478,7 @@ const Conversations = ({
<ThreadGoalFooterTrigger ctl={threadGoal} />
</div>
{!isSidebar && (
- <div className="flex flex-shrink-0 items-center gap-2">
+ <div className="flex shrink-0 items-center gap-2">
<div
className="flex h-7 items-center rounded-full border border-line bg-surface-subtle p-0.5"
role="radiogroup"
@@ -2491,7 +2491,7 @@ const Conversations = ({
onClick={() => void handleSelectAgentProfile('default')}
className={`rounded-full px-2.5 py-0.5 text-xs font-medium transition-all ${
selectedAgentProfileId === 'default'
- ? 'bg-surface text-content shadow-sm'
+ ? 'bg-surface text-content shadow-xs'
: 'text-content-muted hover:text-content-secondary'
}`}>
{t('chat.agentProfile.quick')}
@@ -2504,7 +2504,7 @@ const Conversations = ({
onClick={() => void handleSelectAgentProfile('reasoning')}
className={`rounded-full px-2.5 py-0.5 text-xs font-medium transition-all ${
selectedAgentProfileId === 'reasoning'
- ? 'bg-surface text-content shadow-sm'
+ ? 'bg-surface text-content shadow-xs'
: 'text-content-muted hover:text-content-secondary'
}`}>
{t('chat.agentProfile.reasoning')}
diff --git a/app/src/features/conversations/components/AgentMessageBubble.test.tsx b/app/src/features/conversations/components/AgentMessageBubble.test.tsx
index 86b02af8f1..f6ca4a0869 100644
--- a/app/src/features/conversations/components/AgentMessageBubble.test.tsx
+++ b/app/src/features/conversations/components/AgentMessageBubble.test.tsx
@@ -49,8 +49,8 @@ describe('AgentMessageBubble markdown links', () => {
);
const link = screen.getByRole('link');
- expect(link.className).toContain('[overflow-wrap:anywhere]');
- expect(link.className).toContain('break-words');
+ expect(link.className).toContain('wrap-anywhere');
+ expect(link.className).toContain('wrap-break-word');
});
test('opens workspace links through the Tauri workspace path command', async () => {
diff --git a/app/src/features/conversations/components/AgentMessageBubble.tsx b/app/src/features/conversations/components/AgentMessageBubble.tsx
index 99faffad28..1eccfc1781 100644
--- a/app/src/features/conversations/components/AgentMessageBubble.tsx
+++ b/app/src/features/conversations/components/AgentMessageBubble.tsx
@@ -76,7 +76,7 @@ function MarkdownAnchor({ href, children }: { href?: string; children?: ReactNod
// Ignore launcher errors from OS URL handler failures.
});
}}
- className="cursor-pointer underline break-words [overflow-wrap:anywhere]">
+ className="cursor-pointer underline wrap-break-word wrap-anywhere">
{children}
</a>
);
@@ -209,7 +209,7 @@ export function AgentMessageBubble({
return (
<AgentMarkdownTable
table={table}
- className={`w-full max-w-full overflow-hidden border border-line bg-surface/90 shadow-sm ${bubbleChrome}`}
+ className={`w-full max-w-full overflow-hidden border border-line bg-surface/90 shadow-xs ${bubbleChrome}`}
/>
);
}
diff --git a/app/src/features/conversations/components/AgentProcessSourcePanel.tsx b/app/src/features/conversations/components/AgentProcessSourcePanel.tsx
index 404a76b2be..4c5c94e5ff 100644
--- a/app/src/features/conversations/components/AgentProcessSourcePanel.tsx
+++ b/app/src/features/conversations/components/AgentProcessSourcePanel.tsx
@@ -178,7 +178,7 @@ export function AgentProcessSourcePanel({
scopedEntry.subagent ? (
<SubagentActivityBlock subagent={scopedEntry.subagent} />
) : scopedDetail ? (
- <pre className="max-h-[60vh] overflow-y-auto rounded-lg bg-surface-muted px-3 py-2 text-[12px] whitespace-pre-wrap break-words text-content-secondary">
+ <pre className="max-h-[60vh] overflow-y-auto rounded-lg bg-surface-muted px-3 py-2 text-[12px] whitespace-pre-wrap wrap-break-word text-content-secondary">
{scopedDetail}
</pre>
) : (
diff --git a/app/src/features/conversations/components/ChatThreadView.tsx b/app/src/features/conversations/components/ChatThreadView.tsx
index 0881b5c9dd..cad8695de0 100644
--- a/app/src/features/conversations/components/ChatThreadView.tsx
+++ b/app/src/features/conversations/components/ChatThreadView.tsx
@@ -497,7 +497,7 @@ export const ChatThreadView = forwardRef<ChatThreadViewHandle, ChatThreadViewPro
) : hasContent ? (
<ConversationContent
data-testid="chat-message-list"
- className={`mx-auto max-w-[48.75rem] space-y-3 px-5 pt-4 ${isSidebar ? 'pb-4' : ''}`}
+ className={`mx-auto max-w-195 space-y-3 px-5 pt-4 ${isSidebar ? 'pb-4' : ''}`}
// Page variant: reserve room for the absolutely-positioned floating
// composer footer so its tail stays visible. Tracks the footer's
// measured height (+16px gap) instead of a static `pb-32`, so the
diff --git a/app/src/features/conversations/components/CitationChips.tsx b/app/src/features/conversations/components/CitationChips.tsx
index 7c292f04b8..ee119191e5 100644
--- a/app/src/features/conversations/components/CitationChips.tsx
+++ b/app/src/features/conversations/components/CitationChips.tsx
@@ -29,7 +29,7 @@ export function CitationChips({ citations }: { citations: MessageCitation[] }) {
{citation.namespace ?? citation.key}
{scoreLabel}
</summary>
- <div className="mt-1 max-w-md rounded-md border border-line bg-surface px-2 py-1 text-[11px] text-content-secondary shadow-sm">
+ <div className="mt-1 max-w-md rounded-md border border-line bg-surface px-2 py-1 text-[11px] text-content-secondary shadow-xs">
{citation.snippet}
</div>
</details>
diff --git a/app/src/features/conversations/components/InterruptedAnswer.tsx b/app/src/features/conversations/components/InterruptedAnswer.tsx
index bbcbce56d0..e306363f79 100644
--- a/app/src/features/conversations/components/InterruptedAnswer.tsx
+++ b/app/src/features/conversations/components/InterruptedAnswer.tsx
@@ -31,7 +31,7 @@ export function InterruptedAnswer({ content, thinking }: { content: string; thin
</span>
<span>{t('chat.thinking')}</span>
</summary>
- <pre className="mt-1.5 font-sans text-[11px] break-words whitespace-pre-wrap text-content-muted">
+ <pre className="mt-1.5 font-sans text-[11px] wrap-break-word whitespace-pre-wrap text-content-muted">
{trimmedThinking}
</pre>
</details>
diff --git a/app/src/features/conversations/components/PlanReviewCard.tsx b/app/src/features/conversations/components/PlanReviewCard.tsx
index 875b5433c8..4cd3ba4d3e 100644
--- a/app/src/features/conversations/components/PlanReviewCard.tsx
+++ b/app/src/features/conversations/components/PlanReviewCard.tsx
@@ -79,14 +79,14 @@ export const PlanReviewCard: React.FC<Props> = ({ threadId, review }) => {
<p className="font-semibold text-primary-900 dark:text-primary-100">
{t('conversations.planReview.title')}
</p>
- <p className="mt-1 break-words text-primary-800/90 dark:text-primary-200/90">
+ <p className="mt-1 wrap-break-word text-primary-800/90 dark:text-primary-200/90">
{review.summary?.trim() || t('conversations.planReview.subtitle')}
</p>
{review.steps.length > 0 && (
<ol className="mt-2 max-h-56 list-decimal overflow-y-auto pl-6 text-content-secondary">
{review.steps.map((step, i) => (
- <li key={i} className="break-words">
+ <li key={i} className="wrap-break-word">
{step}
</li>
))}
@@ -138,7 +138,7 @@ export const PlanReviewCard: React.FC<Props> = ({ threadId, review }) => {
rows={2}
disabled={deciding !== null}
placeholder={t('conversations.planReview.feedbackPlaceholder')}
- className="w-full resize-y rounded-lg border border-primary-200 bg-surface px-2.5 py-1.5 text-sm text-ink shadow-inner outline-none focus:border-primary-400 disabled:opacity-50 dark:border-primary-800 dark:bg-surface-canvas dark:text-content"
+ className="w-full resize-y rounded-lg border border-primary-200 bg-surface px-2.5 py-1.5 text-sm text-ink shadow-inner outline-hidden focus:border-primary-400 disabled:opacity-50 dark:border-primary-800 dark:bg-surface-canvas dark:text-content"
/>
<div className="mt-1.5 flex justify-end">
<Button
diff --git a/app/src/features/conversations/components/ProcessingTranscriptView.tsx b/app/src/features/conversations/components/ProcessingTranscriptView.tsx
index 6a28324c17..4d2a680d01 100644
--- a/app/src/features/conversations/components/ProcessingTranscriptView.tsx
+++ b/app/src/features/conversations/components/ProcessingTranscriptView.tsx
@@ -55,7 +55,7 @@ export function ProcessingTranscriptView({
<p
key={block.key}
data-testid="processing-narration"
- className="text-[13px] leading-relaxed break-words whitespace-pre-wrap text-content-secondary">
+ className="text-[13px] leading-relaxed wrap-break-word whitespace-pre-wrap text-content-secondary">
{block.text}
</p>
);
@@ -96,7 +96,7 @@ function ThinkingBlock({ text }: { text: string }) {
▶
</span>
</summary>
- <p className="mt-1 text-[12px] leading-relaxed break-words whitespace-pre-wrap text-content-secondary">
+ <p className="mt-1 text-[12px] leading-relaxed wrap-break-word whitespace-pre-wrap text-content-secondary">
{clean}
</p>
</details>
diff --git a/app/src/features/conversations/components/SubagentActivityBlock.tsx b/app/src/features/conversations/components/SubagentActivityBlock.tsx
index 2cfc59f08a..a907f19351 100644
--- a/app/src/features/conversations/components/SubagentActivityBlock.tsx
+++ b/app/src/features/conversations/components/SubagentActivityBlock.tsx
@@ -144,7 +144,7 @@ export function ThoughtBlock({ text }: { text: string }) {
return (
<div
data-testid="subagent-thought"
- className="my-0.5 break-words [&_.prose]:text-[12px] [&_.prose]:leading-relaxed [&_.prose]:text-content-muted [&_.prose_strong]:text-content-muted [&_.prose_:is(h1,h2,h3,h4,h5,h6)]:text-[12px] [&_.prose_:is(h1,h2,h3,h4,h5,h6)]:text-content-muted">
+ className="my-0.5 wrap-break-word [&_.prose]:text-[12px] [&_.prose]:leading-relaxed [&_.prose]:text-content-muted [&_.prose_strong]:text-content-muted [&_.prose_:is(h1,h2,h3,h4,h5,h6)]:text-[12px] [&_.prose_:is(h1,h2,h3,h4,h5,h6)]:text-content-muted">
<BubbleMarkdown content={clean} />
</div>
);
diff --git a/app/src/features/conversations/components/SubagentDrawer.tsx b/app/src/features/conversations/components/SubagentDrawer.tsx
index f02c402151..328c7feaf3 100644
--- a/app/src/features/conversations/components/SubagentDrawer.tsx
+++ b/app/src/features/conversations/components/SubagentDrawer.tsx
@@ -294,7 +294,7 @@ export function SubagentDrawer({
<div className="mb-0.5 text-[10px] font-semibold uppercase tracking-wide text-content-inverted/70">
{t('conversations.subagent.parent')}
</div>
- <div className="whitespace-pre-wrap break-words">{promptText}</div>
+ <div className="whitespace-pre-wrap wrap-break-word">{promptText}</div>
</div>
</div>
) : null}
@@ -341,7 +341,7 @@ export function SubagentDrawer({
/>
{t('conversations.subagent.thinking')}
</div>
- <pre className="whitespace-pre-wrap break-words font-sans text-[12px] leading-relaxed text-content-secondary">
+ <pre className="whitespace-pre-wrap wrap-break-word font-sans text-[12px] leading-relaxed text-content-secondary">
{stripToolCallEnvelopes(item.text).trim()}
</pre>
</div>
diff --git a/app/src/features/conversations/components/SubagentToolCallRow.tsx b/app/src/features/conversations/components/SubagentToolCallRow.tsx
index 6454e801ac..a1da25ec8b 100644
--- a/app/src/features/conversations/components/SubagentToolCallRow.tsx
+++ b/app/src/features/conversations/components/SubagentToolCallRow.tsx
@@ -78,7 +78,7 @@ export function formatArgs(args: unknown): string | null {
}
const DETAIL_PRE =
- 'max-h-60 overflow-auto whitespace-pre-wrap break-words rounded bg-surface px-2 py-1.5 ' +
+ 'max-h-60 overflow-auto whitespace-pre-wrap wrap-break-word rounded bg-surface px-2 py-1.5 ' +
'font-mono text-[11px] leading-relaxed text-content-secondary';
const DETAIL_LABEL = 'mb-1 text-[10px] font-semibold uppercase tracking-wide text-content-faint';
diff --git a/app/src/features/conversations/components/TaskBoardCardArticle.tsx b/app/src/features/conversations/components/TaskBoardCardArticle.tsx
index 3cc99befc1..3caf25f092 100644
--- a/app/src/features/conversations/components/TaskBoardCardArticle.tsx
+++ b/app/src/features/conversations/components/TaskBoardCardArticle.tsx
@@ -82,11 +82,11 @@ export function TaskBoardCardArticle({
<article
draggable={isDraggable}
onDragStart={isDraggable ? handleDragStart : undefined}
- className={`rounded-lg border border-line bg-surface px-2.5 py-2 shadow-sm transition-opacity ${
+ className={`rounded-lg border border-line bg-surface px-2.5 py-2 shadow-xs transition-opacity ${
mutating ? 'opacity-50' : 'opacity-100'
} ${isDraggable ? 'cursor-grab active:cursor-grabbing' : ''}`}>
<div className="flex items-start gap-2">
- <p className="min-w-0 flex-1 break-words text-xs font-medium leading-snug text-content">
+ <p className="min-w-0 flex-1 wrap-break-word text-xs font-medium leading-snug text-content">
{card.title}
</p>
{card.sessionThreadId && onViewSession ? (
@@ -95,12 +95,12 @@ export function TaskBoardCardArticle({
size="xs"
title={t('conversations.taskKanban.viewWork')}
onClick={() => onViewSession(card)}
- className="flex-shrink-0 gap-1 px-1.5 text-[10px] text-primary-700 dark:text-primary-200">
+ className="shrink-0 gap-1 px-1.5 text-[10px] text-primary-700 dark:text-primary-200">
<LuExternalLink className="h-3 w-3 flex-none" />
{t('conversations.taskKanban.viewWork')}
</Button>
) : card.status === 'awaiting_approval' && onDecidePlan ? (
- <div className="flex flex-shrink-0 items-center gap-1">
+ <div className="flex shrink-0 items-center gap-1">
<Button
variant="primary"
size="xs"
@@ -127,14 +127,14 @@ export function TaskBoardCardArticle({
title={t('conversations.taskKanban.workTask')}
disabled={disabled || working}
onClick={() => onWorkTask(card)}
- className="flex-shrink-0 gap-1 px-1.5 text-[10px]">
+ className="shrink-0 gap-1 px-1.5 text-[10px]">
<LuPlay className="h-3 w-3" />
{working
? t('conversations.taskKanban.startingTask')
: t('conversations.taskKanban.workTask')}
</Button>
) : onMove && isColumnStatus(columnFor(card.status)) ? (
- <div className="flex flex-shrink-0 items-center gap-0.5">
+ <div className="flex shrink-0 items-center gap-0.5">
<Button
iconOnly
variant="tertiary"
@@ -226,16 +226,16 @@ export function TaskBoardCardArticle({
)}
</div>
{card.objective && (
- <p className="mt-1 break-words text-[11px] leading-snug text-content-muted">
+ <p className="mt-1 wrap-break-word text-[11px] leading-snug text-content-muted">
{card.objective}
</p>
)}
{card.notes && (
- <p className="mt-1 break-words text-[11px] leading-snug text-content-muted">{card.notes}</p>
+ <p className="mt-1 wrap-break-word text-[11px] leading-snug text-content-muted">{card.notes}</p>
)}
{/* Blocker text: always shown for blocked cards (column or status) */}
{card.blocker && (card.status === 'blocked' || columnStatus === 'blocked') && (
- <p className="mt-1 break-words text-[11px] leading-snug text-coral-600">{card.blocker}</p>
+ <p className="mt-1 wrap-break-word text-[11px] leading-snug text-coral-600">{card.blocker}</p>
)}
{(hasBriefActions ||
card.plan?.length ||
diff --git a/app/src/features/conversations/components/TaskBriefDialog.tsx b/app/src/features/conversations/components/TaskBriefDialog.tsx
index bedd5beb92..6e34ef2158 100644
--- a/app/src/features/conversations/components/TaskBriefDialog.tsx
+++ b/app/src/features/conversations/components/TaskBriefDialog.tsx
@@ -121,7 +121,7 @@ export function TaskBriefDialog({
{/* `asChild` keeps the historical h3 so `getByRole('heading')` still
resolves the card title. */}
<DialogTitle asChild>
- <h3 className="break-words text-base font-semibold text-content">{card.title}</h3>
+ <h3 className="wrap-break-word text-base font-semibold text-content">{card.title}</h3>
</DialogTitle>
</div>
<Button
@@ -351,7 +351,7 @@ function SourceBriefField({
return (
<div className="min-w-0">
<dt className="text-[11px] font-semibold text-primary-700 dark:text-primary-200">{label}</dt>
- <dd className={`mt-0.5 break-words text-xs text-content ${mono ? 'font-mono' : ''}`}>
+ <dd className={`mt-0.5 wrap-break-word text-xs text-content ${mono ? 'font-mono' : ''}`}>
{value}
</dd>
</div>
@@ -413,7 +413,7 @@ function BriefText({
<div>
<h4 className="mb-1 text-xs font-semibold text-content-muted">{label}</h4>
<p
- className={`break-words text-sm ${
+ className={`wrap-break-word text-sm ${
mono ? 'font-mono' : ''
} ${tone === 'danger' ? 'text-coral-600' : 'text-content'}`}>
{value}
@@ -443,7 +443,7 @@ function BriefList({
ordered ? 'list-decimal' : 'list-disc'
} list-inside text-sm text-content ${mono ? 'font-mono' : ''}`}>
{values.map((value, index) => (
- <li key={index} className="break-words">
+ <li key={index} className="wrap-break-word">
{value}
</li>
))}
diff --git a/app/src/features/conversations/components/ThreadGoalChip.tsx b/app/src/features/conversations/components/ThreadGoalChip.tsx
index e201d614d6..b6c064b494 100644
--- a/app/src/features/conversations/components/ThreadGoalChip.tsx
+++ b/app/src/features/conversations/components/ThreadGoalChip.tsx
@@ -309,7 +309,7 @@ export function ThreadGoalEditorPanel({
}}
placeholder={t('conversations.threadGoal.placeholder')}
aria-label={t('conversations.threadGoal.placeholder')}
- className="w-full border-0 bg-transparent text-sm text-content outline-none focus:outline-none focus:ring-0 placeholder:text-content-faint"
+ className="w-full border-0 bg-transparent text-sm text-content outline-hidden focus:outline-hidden focus:ring-0 placeholder:text-content-faint"
/>
</div>
);
diff --git a/app/src/features/conversations/components/ThreadTodoStrip.tsx b/app/src/features/conversations/components/ThreadTodoStrip.tsx
index 98041fc0b4..9cab2b55a5 100644
--- a/app/src/features/conversations/components/ThreadTodoStrip.tsx
+++ b/app/src/features/conversations/components/ThreadTodoStrip.tsx
@@ -109,7 +109,7 @@ export const ThreadTodoStrip: React.FC<Props> = ({
return (
<div
- className="mb-2 rounded-xl border border-line bg-surface-muted text-xs shadow-sm"
+ className="mb-2 rounded-xl border border-line bg-surface-muted text-xs shadow-xs"
data-testid="thread-todo-strip">
<button
type="button"
@@ -134,7 +134,7 @@ export const ThreadTodoStrip: React.FC<Props> = ({
{activeCards.map(card => (
<li
key={card.id}
- className={`flex items-start gap-1.5 break-words ${statusColorClass(card.status)}`}>
+ className={`flex items-start gap-1.5 wrap-break-word ${statusColorClass(card.status)}`}>
<span aria-hidden className="font-mono">
{statusGlyph(card.status)}
</span>
@@ -151,12 +151,12 @@ export const ThreadTodoStrip: React.FC<Props> = ({
type="button"
title={t('conversations.taskKanban.viewWork')}
onClick={() => onViewSession(card)}
- className="flex-shrink-0 rounded-md border border-line px-1.5 py-0.5 text-[10px] font-medium text-content-secondary transition-colors hover:bg-surface-hover">
+ className="shrink-0 rounded-md border border-line px-1.5 py-0.5 text-[10px] font-medium text-content-secondary transition-colors hover:bg-surface-hover">
{t('conversations.taskKanban.viewWork')}
</button>
)}
{card.status === 'awaiting_approval' && onDecidePlan && (
- <span className="flex flex-shrink-0 items-center gap-1">
+ <span className="flex shrink-0 items-center gap-1">
<button
type="button"
title={t('chat.approval.approve')}
diff --git a/app/src/features/conversations/components/ToolTimelineBlock.tsx b/app/src/features/conversations/components/ToolTimelineBlock.tsx
index b8b1a0ce6f..61a8e54e68 100644
--- a/app/src/features/conversations/components/ToolTimelineBlock.tsx
+++ b/app/src/features/conversations/components/ToolTimelineBlock.tsx
@@ -78,7 +78,7 @@ function LiveResponseBlock({ text }: { text: string }) {
</span>
</CollapsibleTrigger>
<CollapsibleContent size="sm" className="px-0 pb-0">
- <p className="mt-0.5 text-[12px] leading-snug break-words whitespace-pre-wrap text-content-secondary">
+ <p className="mt-0.5 text-[12px] leading-snug wrap-break-word whitespace-pre-wrap text-content-secondary">
{clean.length > RESPONSE_PREVIEW_CHARS ? (
<span className="text-content-faint">…</span>
) : null}
@@ -506,7 +506,7 @@ export function ToolTimelineBlock({
count={count}>
{workerRef ? (
<div
- className={`mt-1 rounded-xl rounded-tl-md px-2.5 py-2 text-[13px] whitespace-pre-wrap break-words text-content-secondary ${BODY_SURFACE}`}>
+ className={`mt-1 rounded-xl rounded-tl-md px-2.5 py-2 text-[13px] whitespace-pre-wrap wrap-break-word text-content-secondary ${BODY_SURFACE}`}>
{workerRef.before}
<WorkerThreadRefCard
ref={workerRef.ref}
@@ -516,7 +516,7 @@ export function ToolTimelineBlock({
</div>
) : formatted.detail ? (
<div
- className={`mt-1 rounded-xl rounded-tl-md px-2.5 py-2 text-[13px] whitespace-pre-wrap break-words text-content-secondary ${BODY_SURFACE}`}>
+ className={`mt-1 rounded-xl rounded-tl-md px-2.5 py-2 text-[13px] whitespace-pre-wrap wrap-break-word text-content-secondary ${BODY_SURFACE}`}>
{formatted.detail}
</div>
) : detailContent ? (
diff --git a/app/src/features/conversations/components/TranscriptRow.tsx b/app/src/features/conversations/components/TranscriptRow.tsx
index 2de6d9276a..4955ebb2c8 100644
--- a/app/src/features/conversations/components/TranscriptRow.tsx
+++ b/app/src/features/conversations/components/TranscriptRow.tsx
@@ -294,13 +294,13 @@ function ReactionRail({
type="button"
data-analytics-id="chat-message-reaction-remove"
onClick={() => onReact(messageId, emoji)}
- className="flex items-center rounded-full border border-primary-200 bg-primary-100 px-1.5 text-xs leading-[1.5] shadow-sm transition-colors hover:bg-primary-200 dark:border-primary-400/40 dark:bg-primary-500/25"
+ className="flex items-center rounded-full border border-primary-200 bg-primary-100 px-1.5 text-xs leading-normal shadow-xs transition-colors hover:bg-primary-200 dark:border-primary-400/40 dark:bg-primary-500/25"
title={t('chat.removeReaction').replace('{emoji}', emoji)}>
{emoji}
</button>
))}
{pickerOpen ? (
- <div className="flex items-center gap-0.5 rounded-full bg-surface px-1 py-0.5 shadow-sm ring-1 ring-line dark:ring-line-strong">
+ <div className="flex items-center gap-0.5 rounded-full bg-surface px-1 py-0.5 shadow-xs ring-1 ring-line dark:ring-line-strong">
{REACTION_EMOJI.map(emoji => (
<button
key={emoji}
@@ -329,7 +329,7 @@ function ReactionRail({
type="button"
data-analytics-id="chat-message-reaction-open"
onClick={() => onOpenReactionPicker(messageId)}
- className="flex h-[18px] items-center rounded-full bg-surface px-1.5 text-xs leading-none text-content-muted opacity-0 shadow-sm ring-1 ring-line transition-opacity hover:bg-surface-hover hover:text-content-secondary group-hover/msg:opacity-100 dark:ring-line-strong"
+ className="flex h-[18px] items-center rounded-full bg-surface px-1.5 text-xs leading-none text-content-muted opacity-0 shadow-xs ring-1 ring-line transition-opacity hover:bg-surface-hover hover:text-content-secondary group-hover/msg:opacity-100 dark:ring-line-strong"
title={t('chat.addReaction')}
aria-label={t('chat.addReaction')}>
+
diff --git a/app/src/features/conversations/components/UserTurnBody.tsx b/app/src/features/conversations/components/UserTurnBody.tsx
index c9d815c23d..a06005b7be 100644
--- a/app/src/features/conversations/components/UserTurnBody.tsx
+++ b/app/src/features/conversations/components/UserTurnBody.tsx
@@ -101,11 +101,11 @@ export function UserTurnBody({ msg, displayText, fallbackDataUris, showTime }: U
key={i}
className="relative flex items-center gap-2 rounded-lg border border-line bg-surface-muted px-2.5 py-1.5 text-xs text-content-secondary max-w-[220px]">
{video.poster ? (
- <div className="relative w-10 h-10 flex-shrink-0">
+ <div className="relative w-10 h-10 shrink-0">
<img src={video.poster} alt="" className="w-10 h-10 rounded object-cover" />
<span className="absolute inset-0 flex items-center justify-center">
<svg
- className="w-4 h-4 text-content-inverted drop-shadow"
+ className="w-4 h-4 text-content-inverted drop-shadow-sm"
fill="currentColor"
viewBox="0 0 24 24">
<path d="M8 5v14l11-7z" />
@@ -114,7 +114,7 @@ export function UserTurnBody({ msg, displayText, fallbackDataUris, showTime }: U
</div>
) : (
<svg
- className="w-4 h-4 flex-shrink-0 text-content-muted"
+ className="w-4 h-4 shrink-0 text-content-muted"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -138,7 +138,7 @@ export function UserTurnBody({ msg, displayText, fallbackDataUris, showTime }: U
key={i}
className="flex items-center gap-2 rounded-lg border border-line bg-surface-muted px-2.5 py-1.5 text-xs text-content-secondary max-w-[220px]">
<svg
- className="w-4 h-4 flex-shrink-0 text-content-muted"
+ className="w-4 h-4 shrink-0 text-content-muted"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24">
@@ -161,7 +161,7 @@ export function UserTurnBody({ msg, displayText, fallbackDataUris, showTime }: U
</div>
)}
{(displayText || showTime) && (
- <div className="rounded-2xl px-4 py-2.5 bg-primary-500 text-content-inverted rounded-br-md break-words [overflow-wrap:anywhere] overflow-hidden">
+ <div className="rounded-2xl px-4 py-2.5 bg-primary-500 text-content-inverted rounded-br-md wrap-break-word wrap-anywhere overflow-hidden">
{displayText && <BubbleMarkdown content={displayText} tone="user" />}
{showTime && (
<p className={`${displayText ? 'mt-1' : ''} text-[10px] text-content-inverted/60`}>
diff --git a/app/src/features/conversations/components/aui/StreamingPreview.tsx b/app/src/features/conversations/components/aui/StreamingPreview.tsx
index 0d306374c4..7b792ee130 100644
--- a/app/src/features/conversations/components/aui/StreamingPreview.tsx
+++ b/app/src/features/conversations/components/aui/StreamingPreview.tsx
@@ -20,7 +20,7 @@ function PreviewBubble({ content, bordered }: { content: string; bordered?: bool
className={`rounded-2xl rounded-bl-md px-3 py-1.5 bg-surface-strong/80 dark:bg-surface-muted text-content ${
bordered ? 'border-l-2 border-primary-400/60' : ''
}`}>
- <p className="text-xs text-content-secondary font-mono whitespace-pre-wrap break-words leading-snug">
+ <p className="text-xs text-content-secondary font-mono whitespace-pre-wrap wrap-break-word leading-snug">
{content.length > STREAMING_PREVIEW_CHARS && <span className="text-content-faint">…</span>}
<AuiPlainText
text={content.slice(-STREAMING_PREVIEW_CHARS)}
diff --git a/app/src/features/conversations/components/aui/TranscriptStates.tsx b/app/src/features/conversations/components/aui/TranscriptStates.tsx
index b9e0a4b016..2e03cc6da3 100644
--- a/app/src/features/conversations/components/aui/TranscriptStates.tsx
+++ b/app/src/features/conversations/components/aui/TranscriptStates.tsx
@@ -3,7 +3,7 @@ import { useT } from '../../../../lib/i18n/I18nContext';
/** Placeholder bubbles shown while a thread's messages are being fetched. */
export function TranscriptSkeleton() {
return (
- <div className="mx-auto w-full max-w-[48.75rem] space-y-4 px-5 py-4">
+ <div className="mx-auto w-full max-w-195 space-y-4 px-5 py-4">
{Array.from({ length: 4 }).map((_, i) => (
<div key={i} className={`flex ${i % 2 === 0 ? 'justify-start' : 'justify-end'}`}>
<div
diff --git a/app/src/features/conversations/threadList/ThreadList.tsx b/app/src/features/conversations/threadList/ThreadList.tsx
index 4749563d63..76d14ca3ed 100644
--- a/app/src/features/conversations/threadList/ThreadList.tsx
+++ b/app/src/features/conversations/threadList/ThreadList.tsx
@@ -55,7 +55,7 @@ export function ThreadList({
{/* Section header: a muted group label with the "new" affordance docked on
the right, replacing the old full-width centered button. Mirrors the
grouped-nav idiom the settings sidebar already uses. */}
- <div className="flex flex-shrink-0 items-center justify-between px-4 pb-1.5 pt-4">
+ <div className="flex shrink-0 items-center justify-between px-4 pb-1.5 pt-4">
<span className="text-[10px] font-semibold uppercase tracking-wider text-content-muted">
{t('chat.conversationsHeading')}
</span>
@@ -130,7 +130,7 @@ export function ThreadList({
onBlur={() => onBlurTitle(thread.id)}
aria-label={t('chat.editThreadTitle')}
data-testid={`thread-title-input-${thread.id}`}
- className="h-5 min-w-0 flex-1 border-b border-primary-400 bg-transparent py-0 text-xs font-medium leading-none text-content-secondary outline-none"
+ className="h-5 min-w-0 flex-1 border-b border-primary-400 bg-transparent py-0 text-xs font-medium leading-none text-content-secondary outline-hidden"
autoFocus
/>
) : (
diff --git a/app/src/features/human/MicComposer.tsx b/app/src/features/human/MicComposer.tsx
index 014ccd3998..f863436c7f 100644
--- a/app/src/features/human/MicComposer.tsx
+++ b/app/src/features/human/MicComposer.tsx
@@ -905,7 +905,7 @@ function MicComposer({
<span className="flex-1 min-w-0 truncate">{d.label}</span>
{selected && (
<svg
- className="w-3.5 h-3.5 text-primary-500 flex-shrink-0"
+ className="w-3.5 h-3.5 text-primary-500 shrink-0"
fill="none"
stroke="currentColor"
strokeWidth={2.5}
diff --git a/app/src/features/human/SubMascotLayer.tsx b/app/src/features/human/SubMascotLayer.tsx
index db118e9bc1..fce97812c1 100644
--- a/app/src/features/human/SubMascotLayer.tsx
+++ b/app/src/features/human/SubMascotLayer.tsx
@@ -154,7 +154,7 @@ export const SubMascotLayer: FC<SubMascotLayerProps> = ({ entries }) => {
aria-label={`${model.label} subagent ${model.status}`}
data-testid="sub-mascot"
data-status={model.status}
- className="flex flex-col items-center w-[72px] flex-shrink-0">
+ className="flex flex-col items-center w-[72px] shrink-0">
<div
className={[
'relative w-[56px] h-[56px] transition-opacity duration-500',
diff --git a/app/src/features/human/chatMascot/ChatMascotDock.tsx b/app/src/features/human/chatMascot/ChatMascotDock.tsx
index 70f54929b9..4e4138f338 100644
--- a/app/src/features/human/chatMascot/ChatMascotDock.tsx
+++ b/app/src/features/human/chatMascot/ChatMascotDock.tsx
@@ -52,7 +52,7 @@ const ChatMascotDock = () => {
// `bottom-full` puts the slot's base exactly on the input box's top
// edge; the negative margin above drops it a few px so the mascot
// reads as standing *on* the box rather than floating above it.
- className="h-full w-full rounded-full transition-transform hover:scale-105 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 motion-reduce:transition-none"
+ className="h-full w-full rounded-full transition-transform hover:scale-105 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 motion-reduce:transition-none"
aria-label={t('chat.mascot.expand')}
title={t('chat.mascot.expand')}
aria-expanded={false}
@@ -66,7 +66,7 @@ const ChatMascotDock = () => {
where there is no hover to trigger. */}
<button
type="button"
- className="absolute -right-1 -top-1 flex h-4 w-4 items-center justify-center rounded-full border border-line bg-surface text-content-faint opacity-0 shadow-soft transition-opacity hover:text-content focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 group-focus-within:opacity-100 group-hover:opacity-100 motion-reduce:transition-none"
+ className="absolute -right-1 -top-1 flex h-4 w-4 items-center justify-center rounded-full border border-line bg-surface text-content-faint opacity-0 shadow-soft transition-opacity hover:text-content focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500 group-focus-within:opacity-100 group-hover:opacity-100 motion-reduce:transition-none"
aria-label={t('chat.mascot.dismiss')}
title={t('chat.mascot.dismiss')}
data-testid="chat-mascot-dismiss"
diff --git a/app/src/features/privacy/WhatLeavesLink.tsx b/app/src/features/privacy/WhatLeavesLink.tsx
index 757429bdde..392542b1fc 100644
--- a/app/src/features/privacy/WhatLeavesLink.tsx
+++ b/app/src/features/privacy/WhatLeavesLink.tsx
@@ -19,7 +19,7 @@ const WhatLeavesLink = ({ label, className }: WhatLeavesLinkProps) => {
const [open, setOpen] = useState(false);
const base =
'text-sm text-content-muted underline underline-offset-2 hover:text-content-secondary ' +
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/25 ' +
+ 'focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/25 ' +
'focus-visible:ring-offset-2 rounded-sm';
return (
<>
diff --git a/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx b/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx
index 47c95ec20e..02b9319e06 100644
--- a/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx
+++ b/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx
@@ -42,7 +42,7 @@ const WhatLeavesMyComputerSheet = ({ open, onClose }: WhatLeavesMyComputerSheetP
role="dialog"
aria-modal="true"
aria-labelledby="what-leaves-title"
- className="relative w-full max-w-lg bg-surface rounded-2xl shadow-large border border-line p-6 animate-fade-up outline-none">
+ className="relative w-full max-w-lg bg-surface rounded-2xl shadow-large border border-line p-6 animate-fade-up outline-hidden">
<div className="flex items-start justify-between gap-4 mb-4">
<div>
<h2 id="what-leaves-title" className="font-title text-2xl text-content leading-tight">
diff --git a/app/src/features/share/ShareCardModal.tsx b/app/src/features/share/ShareCardModal.tsx
index c216b8806d..d86de978d1 100644
--- a/app/src/features/share/ShareCardModal.tsx
+++ b/app/src/features/share/ShareCardModal.tsx
@@ -207,7 +207,7 @@ export function ShareCardModal({ content, agentName, threadId, onClose }: ShareC
rows={3}
disabled={drafting}
placeholder={t('share.captionPlaceholder')}
- className="w-full resize-none rounded-xl border border-line bg-surface px-3 py-2 text-sm text-content placeholder:text-content-faint focus:outline-none focus:ring-2 focus:ring-primary-500/40 disabled:opacity-50"
+ className="w-full resize-none rounded-xl border border-line bg-surface px-3 py-2 text-sm text-content placeholder:text-content-faint focus:outline-hidden focus:ring-2 focus:ring-primary-500/40 disabled:opacity-50"
/>
</div>
diff --git a/app/src/index.css b/app/src/index.css
index 5d6d5e6b26..628c681ee6 100644
--- a/app/src/index.css
+++ b/app/src/index.css
@@ -2,16 +2,412 @@
which meant this offline-capable desktop app rendered in a system fallback
face on any cold start without a network. Regenerate with
`node scripts/fetch-fonts.mjs`. */
-@import './styles/fonts.css';
+@import './styles/fonts.css' layer(base);
/* Canonical theme tokens (colour + font-role CSS variables). Must precede the
Tailwind layers so the var-backed utility colours resolve. */
-@import './styles/tokens.css';
+@import './styles/tokens.css' layer(base);
/* Tailwind CSS imports */
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import 'tailwindcss';
+
+@plugin '@tailwindcss/forms';
+@plugin '@tailwindcss/typography';
+
+@custom-variant dark (&:is(.dark *));
+
+@theme {
+ --font-body: var(--font-body);
+ --font-heading: var(--font-heading);
+ --font-title: var(--font-title);
+ --font-sans: var(--font-body);
+ --font-display: var(--font-title);
+ --font-mono: var(--font-mono);
+ --font-serif: var(--font-serif);
+
+ --color-cmd-surface: var(--cmd-surface);
+ --color-cmd-surface-elevated: var(--cmd-surface-elevated);
+ --color-cmd-foreground: var(--cmd-foreground);
+ --color-cmd-foreground-muted: var(--cmd-foreground-muted);
+ --color-cmd-border: var(--cmd-border);
+ --color-cmd-ring: var(--cmd-ring);
+ --color-cmd-accent: var(--cmd-accent);
+ --color-cmd-overlay: var(--cmd-overlay);
+
+ --color-surface: rgb(var(--surface));
+ --color-surface-canvas: rgb(var(--surface-canvas));
+ --color-surface-muted: rgb(var(--surface-muted));
+ --color-surface-subtle: rgb(var(--surface-subtle));
+ --color-surface-strong: rgb(var(--surface-strong));
+ --color-surface-hover: rgb(var(--surface-hover));
+ --color-surface-overlay: rgb(var(--surface-overlay));
+ --color-surface-chrome: rgb(var(--surface-chrome));
+
+ --color-content: rgb(var(--content));
+ --color-content-secondary: rgb(var(--content-secondary));
+ --color-content-muted: rgb(var(--content-muted));
+ --color-content-faint: rgb(var(--content-faint));
+ --color-content-inverted: rgb(var(--content-inverted));
+
+ --color-line: rgb(var(--line));
+ --color-line-strong: rgb(var(--line-strong));
+ --color-line-subtle: rgb(var(--line-subtle));
+ --color-line-chrome: rgb(var(--line-chrome));
+
+ --color-neutral-0: #ffffff;
+ --color-neutral-50: #fafafa;
+ --color-neutral-100: #f5f5f5;
+ --color-neutral-200: #e5e5e5;
+ --color-neutral-300: #d4d4d4;
+ --color-neutral-400: #a3a3a3;
+ --color-neutral-500: #737373;
+ --color-neutral-600: #525252;
+ --color-neutral-700: #404040;
+ --color-neutral-800: #262626;
+ --color-neutral-900: #171717;
+ --color-neutral-950: #0a0a0a;
+
+ --color-canvas-50: #fafafa;
+ --color-canvas-100: #f5f5f5;
+ --color-canvas-150: #efefef;
+ --color-canvas-200: #e5e5e5;
+ --color-canvas-300: #d4d4d4;
+
+ --color-primary-50: rgb(var(--primary-50));
+ --color-primary-100: rgb(var(--primary-100));
+ --color-primary-200: rgb(var(--primary-200));
+ --color-primary-300: rgb(var(--primary-300));
+ --color-primary-400: rgb(var(--primary-400));
+ --color-primary-500: rgb(var(--primary-500));
+ --color-primary-600: rgb(var(--primary-600));
+ --color-primary-700: rgb(var(--primary-700));
+ --color-primary-800: rgb(var(--primary-800));
+ --color-primary-900: rgb(var(--primary-900));
+ --color-primary-950: rgb(var(--primary-950));
+
+ --color-sage-50: rgb(var(--sage-50));
+ --color-sage-100: rgb(var(--sage-100));
+ --color-sage-200: rgb(var(--sage-200));
+ --color-sage-300: rgb(var(--sage-300));
+ --color-sage-400: rgb(var(--sage-400));
+ --color-sage-500: rgb(var(--sage-500));
+ --color-sage-600: rgb(var(--sage-600));
+ --color-sage-700: rgb(var(--sage-700));
+ --color-sage-800: rgb(var(--sage-800));
+ --color-sage-900: rgb(var(--sage-900));
+ --color-sage-950: rgb(var(--sage-950));
+
+ --color-amber-50: rgb(var(--amber-50));
+ --color-amber-100: rgb(var(--amber-100));
+ --color-amber-200: rgb(var(--amber-200));
+ --color-amber-300: rgb(var(--amber-300));
+ --color-amber-400: rgb(var(--amber-400));
+ --color-amber-500: rgb(var(--amber-500));
+ --color-amber-600: rgb(var(--amber-600));
+ --color-amber-700: rgb(var(--amber-700));
+ --color-amber-800: rgb(var(--amber-800));
+ --color-amber-900: rgb(var(--amber-900));
+ --color-amber-950: rgb(var(--amber-950));
+
+ --color-coral-50: rgb(var(--coral-50));
+ --color-coral-100: rgb(var(--coral-100));
+ --color-coral-200: rgb(var(--coral-200));
+ --color-coral-300: rgb(var(--coral-300));
+ --color-coral-400: rgb(var(--coral-400));
+ --color-coral-500: rgb(var(--coral-500));
+ --color-coral-600: rgb(var(--coral-600));
+ --color-coral-700: rgb(var(--coral-700));
+ --color-coral-800: rgb(var(--coral-800));
+ --color-coral-900: rgb(var(--coral-900));
+ --color-coral-950: rgb(var(--coral-950));
+
+ --color-stone-50: #fafafa;
+ --color-stone-100: #f5f5f5;
+ --color-stone-200: #e5e5e5;
+ --color-stone-300: #d4d4d4;
+ --color-stone-400: #a3a3a3;
+ --color-stone-500: #737373;
+ --color-stone-600: #525252;
+ --color-stone-700: #404040;
+ --color-stone-800: #262626;
+ --color-stone-900: #171717;
+ --color-stone-950: #0a0a0a;
+
+ --color-slate-50: #f8fafc;
+ --color-slate-100: #f1f5f9;
+ --color-slate-200: #e2e8f0;
+ --color-slate-300: #cbd5e1;
+ --color-slate-400: #94a3b8;
+ --color-slate-500: #64748b;
+ --color-slate-600: #475569;
+ --color-slate-700: #334155;
+ --color-slate-800: #1e293b;
+ --color-slate-900: #0f172a;
+ --color-slate-950: #020617;
+
+ --color-market-bullish: #4dc46f;
+ --color-market-bearish: #f56565;
+ --color-market-neutral: #94a3b8;
+ --color-market-bitcoin: #f7931a;
+ --color-market-ethereum: #627eea;
+ --color-market-stablecoin: #5b9bf3;
+
+ --color-accent-lavender: #9b8afb;
+ --color-accent-mint: #6ee7b7;
+ --color-accent-sky: #7dd3fc;
+ --color-accent-rose: #fda4af;
+ --color-accent-gold: #fcd34d;
+
+ --text-micro: 0.625rem;
+ --text-micro--line-height: 0.75rem;
+ --text-micro--letter-spacing: 0.02em;
+ --text-xs: 0.75rem;
+ --text-xs--line-height: 1rem;
+ --text-xs--letter-spacing: 0.01em;
+ --text-sm: 0.875rem;
+ --text-sm--line-height: 1.25rem;
+ --text-sm--letter-spacing: 0;
+ --text-base: 1rem;
+ --text-base--line-height: 1.5rem;
+ --text-base--letter-spacing: -0.01em;
+ --text-lg: 1.125rem;
+ --text-lg--line-height: 1.75rem;
+ --text-lg--letter-spacing: -0.01em;
+ --text-xl: 1.25rem;
+ --text-xl--line-height: 1.875rem;
+ --text-xl--letter-spacing: -0.02em;
+ --text-2xl: 1.5rem;
+ --text-2xl--line-height: 2rem;
+ --text-2xl--letter-spacing: -0.02em;
+ --text-3xl: 1.875rem;
+ --text-3xl--line-height: 2.25rem;
+ --text-3xl--letter-spacing: -0.02em;
+ --text-4xl: 2.25rem;
+ --text-4xl--line-height: 2.5rem;
+ --text-4xl--letter-spacing: -0.03em;
+ --text-5xl: 3rem;
+ --text-5xl--line-height: 3.5rem;
+ --text-5xl--letter-spacing: -0.03em;
+ --text-6xl: 3.75rem;
+ --text-6xl--line-height: 4rem;
+ --text-6xl--letter-spacing: -0.04em;
+ --text-7xl: 4.5rem;
+ --text-7xl--line-height: 4.75rem;
+ --text-7xl--letter-spacing: -0.04em;
+
+ --radius-xs: 0.25rem;
+ --radius-sm: 0.375rem;
+ --radius-md: 0.5rem;
+ --radius-lg: 0.625rem;
+ --radius-xl: 0.75rem;
+ --radius-2xl: 1rem;
+ --radius-3xl: 1.25rem;
+ --radius-4xl: 1.5rem;
+ --radius-5xl: 2rem;
+
+ --shadow-glow: 0 0 20px rgba(91, 155, 243, 0.15);
+ --shadow-glow-lg: 0 0 40px rgba(91, 155, 243, 0.2);
+ --shadow-inner-glow: inset 0 0 20px rgba(91, 155, 243, 0.08);
+ --shadow-subtle:
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 3px 0 rgba(0, 0, 0, 0.04);
+ --shadow-soft:
+ 0 2px 8px -2px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
+ --shadow-medium:
+ 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
+ --shadow-large:
+ 0 8px 24px -4px rgba(0, 0, 0, 0.1), 0 16px 32px -8px rgba(0, 0, 0, 0.1);
+ --shadow-float:
+ 0 12px 32px -8px rgba(0, 0, 0, 0.12), 0 24px 48px -12px rgba(0, 0, 0, 0.12);
+ --shadow-crisp: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.08);
+ --shadow-cmd-palette: var(--cmd-shadow-palette);
+ --shadow-content-edge:
+ inset 0 0 0 1px rgb(var(--line-chrome) / 0.45),
+ inset 0 -1px 0 rgb(var(--line-chrome) / 0.7);
+
+ --animate-fade-in: fadeIn 0.2s ease-out forwards;
+ --animate-fade-up: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
+ --animate-dialog-in: dialogIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
+ --animate-slide-in: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+ --animate-slide-right: slideRight 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
+ --animate-scale-in: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
+ --animate-shimmer: shimmer 2s linear infinite;
+ --animate-glow-pulse: glowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
+ --animate-float: float 3s ease-in-out infinite;
+ --animate-ticker: ticker 30s linear infinite;
+ --animate-wiggle: wiggle 0.5s ease-in-out;
+
+ --backdrop-blur-xs: 2px;
+ --backdrop-blur-sm: 4px;
+ --backdrop-blur-md: 8px;
+ --backdrop-blur-lg: 12px;
+ --backdrop-blur-xl: 16px;
+ --backdrop-blur-2xl: 24px;
+ --backdrop-blur-3xl: 40px;
+
+ --background-image-gradient-radial: radial-gradient(var(--tw-gradient-stops));
+ --background-image-gradient-conic: conic-gradient(
+ from 180deg at 50% 50%,
+ var(--tw-gradient-stops)
+ );
+ --background-image-gradient-mesh: linear-gradient(
+ to right,
+ #5b9bf3 0%,
+ #9b8afb 25%,
+ #6ee7b7 50%,
+ #7dd3fc 75%,
+ #5b9bf3 100%
+ );
+ --background-image-noise: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /%3E%3C/filter%3E%3Crect width="100" height="100" filter="url(%23noise)" opacity="0.03" /%3E%3C/svg%3E');
+
+ --transition-duration-300: 300ms;
+ --transition-duration-400: 400ms;
+
+ @keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+ }
+ @keyframes fadeUp {
+ 0% {
+ opacity: 0;
+ transform: translateY(10px);
+ }
+ 100% {
+ opacity: 1;
+ transform: translateY(0);
+ }
+ }
+ @keyframes dialogIn {
+ 0% {
+ opacity: 0;
+ transform: translate(-50%, calc(-50% + 10px));
+ }
+ 100% {
+ opacity: 1;
+ transform: translate(-50%, -50%);
+ }
+ }
+ @keyframes slideIn {
+ 0% {
+ transform: translateX(-100%);
+ }
+ 100% {
+ transform: translateX(0);
+ }
+ }
+ @keyframes slideRight {
+ 0% {
+ opacity: 0;
+ transform: translateX(100%);
+ }
+ 100% {
+ opacity: 1;
+ transform: translateX(0);
+ }
+ }
+ @keyframes scaleIn {
+ 0% {
+ transform: scale(0.95);
+ opacity: 0;
+ }
+ 100% {
+ transform: scale(1);
+ opacity: 1;
+ }
+ }
+ @keyframes shimmer {
+ 0% {
+ background-position: -200% 0;
+ }
+ 100% {
+ background-position: 200% 0;
+ }
+ }
+ @keyframes glowPulse {
+ 0%,
+ 100% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.5;
+ }
+ }
+ @keyframes float {
+ 0%,
+ 100% {
+ transform: translateY(0);
+ }
+ 50% {
+ transform: translateY(-10px);
+ }
+ }
+ @keyframes ticker {
+ 0% {
+ transform: translateX(0);
+ }
+ 100% {
+ transform: translateX(-50%);
+ }
+ }
+ @keyframes wiggle {
+ 0%,
+ 100% {
+ transform: rotate(0deg);
+ }
+ 25% {
+ transform: rotate(-9deg);
+ }
+ 75% {
+ transform: rotate(9deg);
+ }
+ }
+}
+
+/*
+ The default border color has changed to `currentcolor` in Tailwind CSS v4,
+ so we've added these compatibility styles to make sure everything still
+ looks the same as it did with Tailwind CSS v3.
+
+ If we ever want to remove these styles, we need to add an explicit border
+ color utility to any element that depends on these defaults.
+*/
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: var(--color-gray-200, currentcolor);
+ }
+}
+
+/* Utility layer - Custom utilities */
+
+@utility scrollbar-hide {
+ /* NOTE: a `.scrollbar-thin` utility used to live here. It had zero call
+ sites, and being in `@layer utilities` it outranked the base-layer
+ auto-hide rules above — so the moment anyone reached for it, that pane
+ would have kept a permanently visible grey thumb and silently ignored
+ `data-scrolling`. Deleted rather than kept as a trap; scrollbars are thin
+ and theme-tinted app-wide now, so nothing needs to opt in. */
+
+ /* Hide scrollbar while keeping scroll behavior.
+ Kept as hand-written CSS deliberately: `scrollbar-width: none` has a
+ Tailwind utility (`scrollbar-none` isn't in core, but the property is
+ expressible), yet the matching `::-webkit-scrollbar { display: none }`
+ pseudo-element rule is not something a utility class can express — there
+ is no `webkit-scrollbar` variant in Tailwind. Both halves are required
+ together (Firefox honours the first, Chromium/CEF the second), so this
+ one rule stays as CSS rather than a partial migration. */
+ scrollbar-width: none;
+ -ms-overflow-style: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+}
/* Base layer - Typography and fundamental styles */
@layer base {
@@ -255,32 +651,6 @@
============================================ */
}
-/* Utility layer - Custom utilities */
-@layer utilities {
- /* NOTE: a `.scrollbar-thin` utility used to live here. It had zero call
- sites, and being in `@layer utilities` it outranked the base-layer
- auto-hide rules above — so the moment anyone reached for it, that pane
- would have kept a permanently visible grey thumb and silently ignored
- `data-scrolling`. Deleted rather than kept as a trap; scrollbars are thin
- and theme-tinted app-wide now, so nothing needs to opt in. */
-
- /* Hide scrollbar while keeping scroll behavior.
- Kept as hand-written CSS deliberately: `scrollbar-width: none` has a
- Tailwind utility (`scrollbar-none` isn't in core, but the property is
- expressible), yet the matching `::-webkit-scrollbar { display: none }`
- pseudo-element rule is not something a utility class can express — there
- is no `webkit-scrollbar` variant in Tailwind. Both halves are required
- together (Firefox honours the first, Chromium/CEF the second), so this
- one rule stays as CSS rather than a partial migration. */
- .scrollbar-hide {
- scrollbar-width: none;
- -ms-overflow-style: none;
- }
- .scrollbar-hide::-webkit-scrollbar {
- display: none;
- }
-}
-
/* Light mode (default) */
:root {
color-scheme: light;
diff --git a/app/src/lib/cn.test.ts b/app/src/lib/cn.test.ts
index 32d7b524af..ef90183953 100644
--- a/app/src/lib/cn.test.ts
+++ b/app/src/lib/cn.test.ts
@@ -56,7 +56,7 @@ describe('cn', () => {
expect(out).toContain('text-content');
});
- it('treats the custom shadows as shadows, so a later shadow replaces them', () => {
+ it('treats the custom shadows as shadows, so a later shadow-sm replaces them', () => {
expect(cn('shadow-content-edge', 'shadow-xl')).toBe('shadow-xl');
expect(cn('shadow-cmd-palette', 'shadow-soft')).toBe('shadow-soft');
});
@@ -71,7 +71,7 @@ describe('cn', () => {
expect(cn('rounded-xs', 'rounded-5xl')).toBe('rounded-5xl');
});
- it('resolves the custom backdrop blur scale', () => {
+ it('resolves the custom backdrop blur-sm scale', () => {
expect(cn('backdrop-blur-xs', 'backdrop-blur-3xl')).toBe('backdrop-blur-3xl');
});
});
diff --git a/app/src/lib/flows/nodeKindIcons.test.tsx b/app/src/lib/flows/nodeKindIcons.test.tsx
index abb4a0e293..e89a67bbd7 100644
--- a/app/src/lib/flows/nodeKindIcons.test.tsx
+++ b/app/src/lib/flows/nodeKindIcons.test.tsx
@@ -67,7 +67,7 @@ describe('NodeKindTile', () => {
it('renders the kind gradient and its glyph together', () => {
const { container } = render(<NodeKindTile kind="http_request" testId="tile" />);
const tile = container.querySelector('[data-testid="tile"]');
- expect(tile?.className).toContain('bg-gradient-to-br');
+ expect(tile?.className).toContain('bg-linear-to-br');
expect(tile?.className).toContain('h-8 w-8');
expect(tile?.querySelector('svg')).not.toBeNull();
});
diff --git a/app/src/lib/flows/nodeKindIcons.tsx b/app/src/lib/flows/nodeKindIcons.tsx
index 147ad2e85d..193a2bbef0 100644
--- a/app/src/lib/flows/nodeKindIcons.tsx
+++ b/app/src/lib/flows/nodeKindIcons.tsx
@@ -137,32 +137,32 @@ export function NodeKindGlyph({
*/
export const NODE_KIND_TILE: Record<NodeKind, string> = {
// Start — the spark that begins a run.
- trigger: 'bg-gradient-to-br from-amber-400 to-amber-600',
+ trigger: 'bg-linear-to-br from-amber-400 to-amber-600',
// Intelligence — model-backed kinds.
- agent: 'bg-gradient-to-br from-accent-lavender to-primary-600',
- memory: 'bg-gradient-to-br from-accent-lavender to-primary-700',
+ agent: 'bg-linear-to-br from-accent-lavender to-primary-600',
+ memory: 'bg-linear-to-br from-accent-lavender to-primary-700',
// Reaching outside the graph.
- tool_call: 'bg-gradient-to-br from-primary-400 to-primary-600',
- http_request: 'bg-gradient-to-br from-accent-sky to-primary-500',
- sub_workflow: 'bg-gradient-to-br from-primary-500 to-primary-700',
+ tool_call: 'bg-linear-to-br from-primary-400 to-primary-600',
+ http_request: 'bg-linear-to-br from-accent-sky to-primary-500',
+ sub_workflow: 'bg-linear-to-br from-primary-500 to-primary-700',
// Control flow that splits.
- condition: 'bg-gradient-to-br from-amber-400 to-coral-500',
- switch: 'bg-gradient-to-br from-amber-500 to-coral-600',
+ condition: 'bg-linear-to-br from-amber-400 to-coral-500',
+ switch: 'bg-linear-to-br from-amber-500 to-coral-600',
// Control flow that recombines / fans out.
- merge: 'bg-gradient-to-br from-sage-400 to-sage-600',
- split_out: 'bg-gradient-to-br from-sage-500 to-sage-700',
+ merge: 'bg-linear-to-br from-sage-400 to-sage-600',
+ split_out: 'bg-linear-to-br from-sage-500 to-sage-700',
// Data shaping — deliberately the quietest family.
- code: 'bg-gradient-to-br from-slate-500 to-slate-700',
- transform: 'bg-gradient-to-br from-accent-lavender to-accent-rose',
- output_parser: 'bg-gradient-to-br from-slate-400 to-slate-600',
- dedup: 'bg-gradient-to-br from-slate-500 to-slate-600',
+ code: 'bg-linear-to-br from-slate-500 to-slate-700',
+ transform: 'bg-linear-to-br from-accent-lavender to-accent-rose',
+ output_parser: 'bg-linear-to-br from-slate-400 to-slate-600',
+ dedup: 'bg-linear-to-br from-slate-500 to-slate-600',
// Control flow that repeats — sage like the other recombining kinds, since a
// loop head is where the body's output flows back in.
- loop: 'bg-gradient-to-br from-sage-400 to-sage-700',
+ loop: 'bg-linear-to-br from-sage-400 to-sage-700',
};
/** Neutral tile for a kind this build does not recognise. See {@link nodeKindIcon}. */
-const UNKNOWN_KIND_TILE = 'bg-gradient-to-br from-stone-400 to-stone-600';
+const UNKNOWN_KIND_TILE = 'bg-linear-to-br from-stone-400 to-stone-600';
/** Tile fill for a possibly-unknown kind. */
export function nodeKindTile(kind: NodeKind | string): string {
@@ -217,7 +217,7 @@ export function NodeKindTile({
<span
aria-hidden="true"
data-testid={testId}
- className={`flex shrink-0 items-center justify-center text-white shadow-sm ring-1 ring-inset ring-white/15 ${tile} ${nodeKindTile(kind)} ${className}`}>
+ className={`flex shrink-0 items-center justify-center text-white shadow-xs ring-1 ring-inset ring-white/15 ${tile} ${nodeKindTile(kind)} ${className}`}>
<NodeKindGlyph kind={kind} icon={icon} className={glyph} />
</span>
);
diff --git a/app/src/lib/meshGradient.js b/app/src/lib/meshGradient.js
index d0db6d1e2b..d733ce17c2 100644
--- a/app/src/lib/meshGradient.js
+++ b/app/src/lib/meshGradient.js
@@ -548,7 +548,7 @@ class Gradient {
vertex:
'varying vec3 v_color;\n\nvoid main() {\n float time = u_time * u_global.noiseSpeed;\n\n vec2 noiseCoord = resolution * uvNorm * u_global.noiseFreq;\n\n vec2 st = 1. - uvNorm.xy;\n\n //\n // Tilting the plane\n //\n\n // Front-to-back tilt\n float tilt = resolution.y / 2.0 * uvNorm.y;\n\n // Left-to-right angle\n float incline = resolution.x * uvNorm.x / 2.0 * u_vertDeform.incline;\n\n // Up-down shift to offset incline\n float offset = resolution.x / 2.0 * u_vertDeform.incline * mix(u_vertDeform.offsetBottom, u_vertDeform.offsetTop, uv.y);\n\n //\n // Vertex noise\n //\n\n float noise = snoise(vec3(\n noiseCoord.x * u_vertDeform.noiseFreq.x + time * u_vertDeform.noiseFlow,\n noiseCoord.y * u_vertDeform.noiseFreq.y,\n time * u_vertDeform.noiseSpeed + u_vertDeform.noiseSeed\n )) * u_vertDeform.noiseAmp;\n\n // Fade noise to zero at edges\n noise *= 1.0 - pow(abs(uvNorm.y), 2.0);\n\n // Clamp to 0\n noise = max(0.0, noise);\n\n vec3 pos = vec3(\n position.x,\n position.y + tilt + incline + noise - offset,\n position.z\n );\n\n //\n // Vertex color, to be passed to fragment shader\n //\n\n if (u_active_colors[0] == 1.) {\n v_color = u_baseColor;\n }\n\n for (int i = 0; i < u_waveLayers_length; i++) {\n if (u_active_colors[i + 1] == 1.) {\n WaveLayers layer = u_waveLayers[i];\n\n float noise = smoothstep(\n layer.noiseFloor,\n layer.noiseCeil,\n snoise(vec3(\n noiseCoord.x * layer.noiseFreq.x + time * layer.noiseFlow,\n noiseCoord.y * layer.noiseFreq.y,\n time * layer.noiseSpeed + layer.noiseSeed\n )) / 2.0 + 0.5\n );\n\n v_color = blendNormal(v_color, layer.color, pow(noise, 4.));\n }\n }\n\n //\n // Finish\n //\n\n gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);\n}',
noise:
- '//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : stegu\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n// https://github.com/stegu/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n{\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n}',
+ '//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : stegu\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n// https://github.com/stegu/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n{\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring-3 size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n}',
blend:
'//\n// https://github.com/jamieowen/glsl-blend\n//\n\n// Normal\n\nvec3 blendNormal(vec3 base, vec3 blend) {\n\treturn blend;\n}\n\nvec3 blendNormal(vec3 base, vec3 blend, float opacity) {\n\treturn (blendNormal(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Screen\n\nfloat blendScreen(float base, float blend) {\n\treturn 1.0-((1.0-base)*(1.0-blend));\n}\n\nvec3 blendScreen(vec3 base, vec3 blend) {\n\treturn vec3(blendScreen(base.r,blend.r),blendScreen(base.g,blend.g),blendScreen(base.b,blend.b));\n}\n\nvec3 blendScreen(vec3 base, vec3 blend, float opacity) {\n\treturn (blendScreen(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Multiply\n\nvec3 blendMultiply(vec3 base, vec3 blend) {\n\treturn base*blend;\n}\n\nvec3 blendMultiply(vec3 base, vec3 blend, float opacity) {\n\treturn (blendMultiply(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Overlay\n\nfloat blendOverlay(float base, float blend) {\n\treturn base<0.5?(2.0*base*blend):(1.0-2.0*(1.0-base)*(1.0-blend));\n}\n\nvec3 blendOverlay(vec3 base, vec3 blend) {\n\treturn vec3(blendOverlay(base.r,blend.r),blendOverlay(base.g,blend.g),blendOverlay(base.b,blend.b));\n}\n\nvec3 blendOverlay(vec3 base, vec3 blend, float opacity) {\n\treturn (blendOverlay(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Hard light\n\nvec3 blendHardLight(vec3 base, vec3 blend) {\n\treturn blendOverlay(blend,base);\n}\n\nvec3 blendHardLight(vec3 base, vec3 blend, float opacity) {\n\treturn (blendHardLight(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Soft light\n\nfloat blendSoftLight(float base, float blend) {\n\treturn (blend<0.5)?(2.0*base*blend+base*base*(1.0-2.0*blend)):(sqrt(base)*(2.0*blend-1.0)+2.0*base*(1.0-blend));\n}\n\nvec3 blendSoftLight(vec3 base, vec3 blend) {\n\treturn vec3(blendSoftLight(base.r,blend.r),blendSoftLight(base.g,blend.g),blendSoftLight(base.b,blend.b));\n}\n\nvec3 blendSoftLight(vec3 base, vec3 blend, float opacity) {\n\treturn (blendSoftLight(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Color dodge\n\nfloat blendColorDodge(float base, float blend) {\n\treturn (blend==1.0)?blend:min(base/(1.0-blend),1.0);\n}\n\nvec3 blendColorDodge(vec3 base, vec3 blend) {\n\treturn vec3(blendColorDodge(base.r,blend.r),blendColorDodge(base.g,blend.g),blendColorDodge(base.b,blend.b));\n}\n\nvec3 blendColorDodge(vec3 base, vec3 blend, float opacity) {\n\treturn (blendColorDodge(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Color burn\n\nfloat blendColorBurn(float base, float blend) {\n\treturn (blend==0.0)?blend:max((1.0-((1.0-base)/blend)),0.0);\n}\n\nvec3 blendColorBurn(vec3 base, vec3 blend) {\n\treturn vec3(blendColorBurn(base.r,blend.r),blendColorBurn(base.g,blend.g),blendColorBurn(base.b,blend.b));\n}\n\nvec3 blendColorBurn(vec3 base, vec3 blend, float opacity) {\n\treturn (blendColorBurn(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Vivid Light\n\nfloat blendVividLight(float base, float blend) {\n\treturn (blend<0.5)?blendColorBurn(base,(2.0*blend)):blendColorDodge(base,(2.0*(blend-0.5)));\n}\n\nvec3 blendVividLight(vec3 base, vec3 blend) {\n\treturn vec3(blendVividLight(base.r,blend.r),blendVividLight(base.g,blend.g),blendVividLight(base.b,blend.b));\n}\n\nvec3 blendVividLight(vec3 base, vec3 blend, float opacity) {\n\treturn (blendVividLight(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Lighten\n\nfloat blendLighten(float base, float blend) {\n\treturn max(blend,base);\n}\n\nvec3 blendLighten(vec3 base, vec3 blend) {\n\treturn vec3(blendLighten(base.r,blend.r),blendLighten(base.g,blend.g),blendLighten(base.b,blend.b));\n}\n\nvec3 blendLighten(vec3 base, vec3 blend, float opacity) {\n\treturn (blendLighten(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Linear burn\n\nfloat blendLinearBurn(float base, float blend) {\n\t// Note : Same implementation as BlendSubtractf\n\treturn max(base+blend-1.0,0.0);\n}\n\nvec3 blendLinearBurn(vec3 base, vec3 blend) {\n\t// Note : Same implementation as BlendSubtract\n\treturn max(base+blend-vec3(1.0),vec3(0.0));\n}\n\nvec3 blendLinearBurn(vec3 base, vec3 blend, float opacity) {\n\treturn (blendLinearBurn(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Linear dodge\n\nfloat blendLinearDodge(float base, float blend) {\n\t// Note : Same implementation as BlendAddf\n\treturn min(base+blend,1.0);\n}\n\nvec3 blendLinearDodge(vec3 base, vec3 blend) {\n\t// Note : Same implementation as BlendAdd\n\treturn min(base+blend,vec3(1.0));\n}\n\nvec3 blendLinearDodge(vec3 base, vec3 blend, float opacity) {\n\treturn (blendLinearDodge(base, blend) * opacity + base * (1.0 - opacity));\n}\n\n// Linear light\n\nfloat blendLinearLight(float base, float blend) {\n\treturn blend<0.5?blendLinearBurn(base,(2.0*blend)):blendLinearDodge(base,(2.0*(blend-0.5)));\n}\n\nvec3 blendLinearLight(vec3 base, vec3 blend) {\n\treturn vec3(blendLinearLight(base.r,blend.r),blendLinearLight(base.g,blend.g),blendLinearLight(base.b,blend.b));\n}\n\nvec3 blendLinearLight(vec3 base, vec3 blend, float opacity) {\n\treturn (blendLinearLight(base, blend) * opacity + base * (1.0 - opacity));\n}',
fragment:
diff --git a/app/src/pages/Feedback.tsx b/app/src/pages/Feedback.tsx
index b203d8330d..e944b4114e 100644
--- a/app/src/pages/Feedback.tsx
+++ b/app/src/pages/Feedback.tsx
@@ -210,7 +210,7 @@ const Feedback = () => {
)}
</h2>
- <div className="inline-flex rounded-xl border border-line bg-surface-muted p-0.5 dark:border-line-strong dark:bg-white/[0.03]">
+ <div className="inline-flex rounded-xl border border-line bg-surface-muted p-0.5 dark:border-line-strong dark:bg-white/3">
{SORTS.map(option => (
<button
key={option}
@@ -219,7 +219,7 @@ const Feedback = () => {
aria-pressed={sort === option}
className={`rounded-lg px-3 py-1 text-xs font-medium transition-all ${
sort === option
- ? 'bg-surface text-content shadow-sm'
+ ? 'bg-surface text-content shadow-xs'
: 'text-content-muted hover:text-content-secondary dark:hover:text-content-secondary'
}`}>
{t(SORT_LABEL_KEYS[option])}
diff --git a/app/src/pages/FlowCanvasPage.tsx b/app/src/pages/FlowCanvasPage.tsx
index 541a87af07..77b07a9071 100644
--- a/app/src/pages/FlowCanvasPage.tsx
+++ b/app/src/pages/FlowCanvasPage.tsx
@@ -1170,7 +1170,7 @@ function FlowEditor({
only). The app sidebar is hidden on this route (chromeless), so this
can't use the shell `SidebarContent` slot — render it in-page. */}
{!isDraft && flowId && (
- <div className="hidden h-full w-60 flex-shrink-0 border-r border-line lg:flex">
+ <div className="hidden h-full w-60 shrink-0 border-r border-line lg:flex">
<FlowRunsSidebar flowId={flowId} />
</div>
)}
@@ -1224,7 +1224,7 @@ function FlowEditor({
aria-label={t('common.dismiss')}
title={t('common.dismiss')}
data-testid="flow-canvas-run-error-dismiss"
- className="flex-shrink-0 text-coral-500 hover:bg-transparent hover:text-coral-700 dark:text-coral-300 dark:hover:text-coral-100">
+ className="shrink-0 text-coral-500 hover:bg-transparent hover:text-coral-700 dark:text-coral-300 dark:hover:text-coral-100">
<svg
className="h-3.5 w-3.5"
fill="none"
diff --git a/app/src/pages/Home.tsx b/app/src/pages/Home.tsx
index 70f2ac5927..eddbdfded1 100644
--- a/app/src/pages/Home.tsx
+++ b/app/src/pages/Home.tsx
@@ -132,7 +132,7 @@ const Home = () => {
return (
<div className="min-h-full flex flex-col items-center justify-center p-4">
{/* Welcome title */}
- <h1 className="min-h-[3.5rem] text-32l font-bold text-content text-center">
+ <h1 className="min-h-14 text-32l font-bold text-content text-center">
{typedWelcome}
<span aria-hidden="true" className="ml-0.5 inline-block text-primary-500 animate-pulse">
|
diff --git a/app/src/pages/Invites.tsx b/app/src/pages/Invites.tsx
index bf7df11bde..9ee3266d91 100644
--- a/app/src/pages/Invites.tsx
+++ b/app/src/pages/Invites.tsx
@@ -169,7 +169,7 @@ const Invites = () => {
onChange={e => setRedeemInput(e.target.value.toUpperCase())}
onKeyDown={e => e.key === 'Enter' && handleRedeem()}
placeholder={t('common.search')}
- className="flex-1 px-4 py-2.5 bg-surface/5 border border-white/10 rounded-xl font-mono text-sm tracking-wider placeholder:text-stone-500 placeholder:tracking-normal placeholder:font-sans focus:outline-none focus:ring-2 focus:ring-primary-500/50 focus:border-primary-500/50 transition-all"
+ className="flex-1 px-4 py-2.5 bg-surface/5 border border-white/10 rounded-xl font-mono text-sm tracking-wider placeholder:text-stone-500 placeholder:tracking-normal placeholder:font-sans focus:outline-hidden focus:ring-2 focus:ring-primary-500/50 focus:border-primary-500/50 transition-all"
disabled={redeemStatus === 'loading'}
/>
<Button
diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsx
index db845f2ffe..87e7c00711 100644
--- a/app/src/pages/Skills.tsx
+++ b/app/src/pages/Skills.tsx
@@ -221,7 +221,7 @@ function ComposioConnectorTile({
{isPreview && (
<span
data-testid={`composio-preview-badge-${meta.slug}`}
- className="absolute right-1.5 top-1.5 max-w-[4.5rem] truncate rounded-full border border-amber-200 bg-amber-100 px-1.5 py-0.5 text-[9px] font-semibold uppercase leading-none text-amber-800 dark:border-amber-500/40 dark:bg-amber-500/15 dark:text-amber-200"
+ className="absolute right-1.5 top-1.5 max-w-18 truncate rounded-full border border-amber-200 bg-amber-100 px-1.5 py-0.5 text-[9px] font-semibold uppercase leading-none text-amber-800 dark:border-amber-500/40 dark:bg-amber-500/15 dark:text-amber-200"
title={t('composio.previewTooltip')}>
{t('composio.previewBadge')}
</span>
@@ -233,7 +233,7 @@ function ComposioConnectorTile({
{activeConnectionCount}
</span>
)}
- <div className="relative flex h-12 w-12 flex-shrink-0 items-center justify-center text-content-secondary [&_img]:max-h-10 [&_img]:max-w-10 [&_svg]:h-8 [&_svg]:w-8">
+ <div className="relative flex h-12 w-12 shrink-0 items-center justify-center text-content-secondary [&_img]:max-h-10 [&_img]:max-w-10 [&_svg]:h-8 [&_svg]:w-8">
{meta.icon}
</div>
<div className="flex w-full min-w-0 flex-col items-center justify-start gap-0.5">
@@ -325,7 +325,7 @@ function ChannelTile({
title={`${def.display_name} — ${def.description}`}
aria-label={`${def.display_name}, ${statusLabel}. ${ctaLabel}.`}
className="h-auto w-full justify-start gap-3 rounded-xl p-0 text-left">
- <div className="relative flex h-10 w-10 flex-shrink-0 items-center justify-center text-content-secondary [&>span]:h-10 [&>span]:w-10 [&>span]:rounded-2xl [&_svg]:h-6 [&_svg]:w-6">
+ <div className="relative flex h-10 w-10 shrink-0 items-center justify-center text-content-secondary [&>span]:h-10 [&>span]:w-10 [&>span]:rounded-2xl [&_svg]:h-6 [&_svg]:w-6">
{icon}
</div>
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
@@ -339,7 +339,7 @@ function ChannelTile({
</Button>
{showDefaultControl && (
// Aligns under the name/status text (icon 2.5rem + gap 0.75rem).
- <div className="pl-[3.25rem]">
+ <div className="pl-13">
{isDefault ? (
<Badge
data-testid={setDefaultTestId}
@@ -1136,17 +1136,17 @@ export default function Skills() {
package.
</p>
</div>
- <div className="flex flex-shrink-0 items-center gap-2">
+ <div className="flex shrink-0 items-center gap-2">
<button
type="button"
onClick={() => setInstallDialogOpen(true)}
- className="rounded-lg border border-line bg-surface px-3 py-2 text-xs font-medium text-content-secondary shadow-soft transition-colors hover:bg-surface-hover focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-1">
+ className="rounded-lg border border-line bg-surface px-3 py-2 text-xs font-medium text-content-secondary shadow-soft transition-colors hover:bg-surface-hover focus:outline-hidden focus:ring-2 focus:ring-primary-500 focus:ring-offset-1">
Install from URL
</button>
<button
type="button"
onClick={() => setCreateModalOpen(true)}
- className="rounded-lg bg-primary-500 px-3 py-2 text-xs font-semibold text-content-inverted shadow-soft transition-colors hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-1">
+ className="rounded-lg bg-primary-500 px-3 py-2 text-xs font-semibold text-content-inverted shadow-soft transition-colors hover:bg-primary-600 focus:outline-hidden focus:ring-2 focus:ring-primary-500 focus:ring-offset-1">
New skill
</button>
</div>
diff --git a/app/src/pages/Welcome.tsx b/app/src/pages/Welcome.tsx
index 6eb80749ff..c07ae18b16 100644
--- a/app/src/pages/Welcome.tsx
+++ b/app/src/pages/Welcome.tsx
@@ -209,7 +209,7 @@ const Welcome = () => {
<OAuthProviderButton
key={provider.id}
provider={provider}
- className="!rounded-full !px-4 !py-2"
+ className="rounded-full! px-4! py-2!"
/>
))}
</div>
diff --git a/app/src/pages/WorkflowRunsPage.tsx b/app/src/pages/WorkflowRunsPage.tsx
index 9035f53a6c..914e7b488f 100644
--- a/app/src/pages/WorkflowRunsPage.tsx
+++ b/app/src/pages/WorkflowRunsPage.tsx
@@ -110,12 +110,12 @@ export default function WorkflowRunsPage() {
<FlowRunStatus
status={displayStatus}
label={statusLabel(displayStatus)}
- className="flex-shrink-0 text-[11px]"
+ className="shrink-0 text-[11px]"
/>
<span className="min-w-0 flex-1 truncate text-sm font-medium text-content">
{flowNames[run.flow_id] ?? t('flows.allRuns.unknownWorkflow')}
</span>
- <span className="flex-shrink-0 text-[11px] text-content-faint">
+ <span className="shrink-0 text-[11px] text-content-faint">
{new Date(run.started_at).toLocaleString()}
</span>
</button>
diff --git a/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx b/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
index c3a7c06650..78adb56a7e 100644
--- a/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
+++ b/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
@@ -6,12 +6,12 @@
* Conversations. Its composer footer stacks the upsell/error banners, the
* actionable error CTAs (e.g. the voice-transcription "Setup" link), and the
* composer itself in a single block inside the `overflow-hidden` mainPanel.
- * The footer used to be a plain `flex-shrink-0` block, so on a short window its
+ * The footer used to be a plain `shrink-0` block, so on a short window its
* natural height exceeded the panel and its bottom was clipped with no scroll
* affordance — the composer and the fix button became unreachable.
*
* The fix lets the footer SHRINK and scroll instead of staying rigid: dropping
- * `flex-shrink-0` and adding `min-h-0 overflow-y-auto` makes the flex algorithm
+ * `shrink-0` and adding `min-h-0 overflow-y-auto` makes the flex algorithm
* cap it to the available height and scroll it internally. jsdom does not lay
* out, so we assert the footer is class-wise scroll-capable + shrinkable, which
* is what prevents the silent clipping from coming back.
@@ -260,7 +260,7 @@ describe('Conversations — sidebar composer footer overflow (#3785)', () => {
expect(footer).toHaveClass('overflow-y-auto');
expect(footer).toHaveClass('min-h-0');
// It must be allowed to shrink (no flex-shrink-0) so it can give way + scroll.
- expect(footer).not.toHaveClass('flex-shrink-0');
+ expect(footer).not.toHaveClass('shrink-0');
});
it('keeps the floating page-variant composer absolutely positioned (no regression)', async () => {
diff --git a/app/src/pages/ios/MascotScreen.tsx b/app/src/pages/ios/MascotScreen.tsx
index 8d5dfffb05..efdcd25c75 100644
--- a/app/src/pages/ios/MascotScreen.tsx
+++ b/app/src/pages/ios/MascotScreen.tsx
@@ -458,7 +458,7 @@ export const MascotScreen: FC = () => {
disabled={isSending}
placeholder={isSending ? t('iosMascot.thinking') : t('iosMascot.typeMessage')}
className="flex-1 bg-surface/10 text-white placeholder-white/30 rounded-xl
- px-4 py-3 text-sm outline-none border border-white/10
+ px-4 py-3 text-sm outline-hidden border border-white/10
focus:border-[#4A83DD]/60 transition-colors
disabled:opacity-50"
/>
diff --git a/app/src/pages/onboarding/components/BetaBanner.tsx b/app/src/pages/onboarding/components/BetaBanner.tsx
index edd21929d9..c728d5cd5a 100644
--- a/app/src/pages/onboarding/components/BetaBanner.tsx
+++ b/app/src/pages/onboarding/components/BetaBanner.tsx
@@ -45,7 +45,7 @@ const BetaBanner = () => {
type="button"
aria-label={t('common.dismiss')}
onClick={handleDismiss}
- className="mt-0.5 flex-shrink-0 text-content-faint hover:text-content-secondary dark:text-content-secondary transition-colors">
+ className="mt-0.5 shrink-0 text-content-faint hover:text-content-secondary dark:text-content-secondary transition-colors">
<svg
className="h-3.5 w-3.5"
fill="none"
diff --git a/app/src/pages/onboarding/components/OnboardingNextButton.tsx b/app/src/pages/onboarding/components/OnboardingNextButton.tsx
index ae67eb846f..2999152f6a 100644
--- a/app/src/pages/onboarding/components/OnboardingNextButton.tsx
+++ b/app/src/pages/onboarding/components/OnboardingNextButton.tsx
@@ -27,7 +27,7 @@ const OnboardingNextButton = ({
aria-busy={loading}
onClick={onClick}
disabled={disabled || loading}
- className="w-full py-2.5 bg-primary-500 hover:bg-primary-600 active:bg-primary-700 text-content-inverted text-sm font-medium rounded-xl transition-colors disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 dark:focus:ring-offset-neutral-900">
+ className="w-full py-2.5 bg-primary-500 hover:bg-primary-600 active:bg-primary-700 text-content-inverted text-sm font-medium rounded-xl transition-colors disabled:opacity-50 disabled:cursor-not-allowed focus:outline-hidden focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 dark:focus:ring-offset-neutral-900">
{loading ? effectiveLoadingLabel : effectiveLabel}
</button>
);
diff --git a/app/src/pages/onboarding/steps/ApiKeysStep.tsx b/app/src/pages/onboarding/steps/ApiKeysStep.tsx
index 84b01ae3f6..47addb9d19 100644
--- a/app/src/pages/onboarding/steps/ApiKeysStep.tsx
+++ b/app/src/pages/onboarding/steps/ApiKeysStep.tsx
@@ -190,7 +190,7 @@ const ApiKeysStep = ({ onNext, onSkip }: ApiKeysStepProps) => {
setOauthCallbackUrl(e.target.value);
setError(null);
}}
- className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-xs text-content placeholder-content-faint focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"
+ className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-xs text-content placeholder-content-faint focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500"
/>
<button
type="button"
@@ -221,7 +221,7 @@ const ApiKeysStep = ({ onNext, onSkip }: ApiKeysStepProps) => {
setOpenai(e.target.value);
setError(null);
}}
- className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"
+ className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500"
/>
</div>
@@ -243,7 +243,7 @@ const ApiKeysStep = ({ onNext, onSkip }: ApiKeysStepProps) => {
setAnthropic(e.target.value);
setError(null);
}}
- className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"
+ className="rounded-lg border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder-content-faint focus:border-primary-500 focus:outline-hidden focus:ring-1 focus:ring-primary-500"
/>
</div>
diff --git a/app/src/pages/onboarding/steps/ContextGatheringStep.tsx b/app/src/pages/onboarding/steps/ContextGatheringStep.tsx
index d0e4011729..d98cd5563e 100644
--- a/app/src/pages/onboarding/steps/ContextGatheringStep.tsx
+++ b/app/src/pages/onboarding/steps/ContextGatheringStep.tsx
@@ -430,7 +430,7 @@ const ContextGatheringStep = ({
<div className="rounded-2xl border border-line bg-surface p-8 shadow-soft animate-fade-up">
<div className="flex flex-col items-center justify-center gap-6 py-8">
{/* Pulsing avatar silhouette */}
- <div className="w-20 h-20 rounded-full bg-gradient-to-r from-stone-300 via-stone-100 to-stone-300 bg-[length:200%_100%] animate-shimmer" />
+ <div className="w-20 h-20 rounded-full bg-linear-to-r from-stone-300 via-stone-100 to-stone-300 bg-size-[200%_100%] animate-shimmer" />
{/* Title */}
<h1
@@ -446,9 +446,9 @@ const ContextGatheringStep = ({
{/* Skeleton bars */}
<div className="w-64 flex flex-col gap-3 mt-2">
- <div className="h-3 rounded-full bg-gradient-to-r from-stone-300 via-stone-100 to-stone-300 bg-[length:200%_100%] animate-shimmer" />
- <div className="h-3 w-3/4 rounded-full bg-gradient-to-r from-stone-300 via-stone-100 to-stone-300 bg-[length:200%_100%] animate-shimmer [animation-delay:150ms]" />
- <div className="h-3 w-1/2 rounded-full bg-gradient-to-r from-stone-300 via-stone-100 to-stone-300 bg-[length:200%_100%] animate-shimmer [animation-delay:300ms]" />
+ <div className="h-3 rounded-full bg-linear-to-r from-stone-300 via-stone-100 to-stone-300 bg-size-[200%_100%] animate-shimmer" />
+ <div className="h-3 w-3/4 rounded-full bg-linear-to-r from-stone-300 via-stone-100 to-stone-300 bg-size-[200%_100%] animate-shimmer [animation-delay:150ms]" />
+ <div className="h-3 w-1/2 rounded-full bg-linear-to-r from-stone-300 via-stone-100 to-stone-300 bg-size-[200%_100%] animate-shimmer [animation-delay:300ms]" />
</div>
{/* Alive indicator — only while still-working state is active AND
diff --git a/app/src/pages/onboarding/steps/CustomWizardStep.tsx b/app/src/pages/onboarding/steps/CustomWizardStep.tsx
index 6b8651cddd..6edc73c21f 100644
--- a/app/src/pages/onboarding/steps/CustomWizardStep.tsx
+++ b/app/src/pages/onboarding/steps/CustomWizardStep.tsx
@@ -27,8 +27,8 @@ const ChoiceCard = ({
}: ChoiceCardProps) => {
const selectedClasses =
accent === 'sage'
- ? '!border-sage-500 bg-sage-50 dark:bg-sage-500/10 shadow-sm'
- : '!border-primary-500 bg-primary-50 dark:bg-primary-500/15 shadow-sm';
+ ? 'border-sage-500! bg-sage-50 dark:bg-sage-500/10 shadow-xs'
+ : 'border-primary-500! bg-primary-50 dark:bg-primary-500/15 shadow-xs';
return (
<button
type="button"
@@ -36,10 +36,10 @@ const ChoiceCard = ({
disabled={disabled}
aria-pressed={selected}
data-testid={testId}
- className={`flex h-full w-full flex-col rounded-2xl border-2 p-5 text-left transition-colors focus:outline-none disabled:cursor-not-allowed disabled:opacity-60 ${
+ className={`flex h-full w-full flex-col rounded-2xl border-2 p-5 text-left transition-colors focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-60 ${
selected
? selectedClasses
- : '!border-stone-200 dark:!border-neutral-700 bg-surface hover:!border-stone-300 dark:hover:!border-neutral-600 hover:bg-surface-hover'
+ : 'border-stone-200! dark:border-neutral-700! bg-surface hover:border-stone-300! dark:hover:border-neutral-600! hover:bg-surface-hover'
}`}>
<h3 className="text-base font-semibold text-content">{title}</h3>
<p className="mt-1 text-xs text-content-secondary leading-relaxed">{description}</p>
diff --git a/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx b/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
index 2e32488dd6..c9de9ab1c4 100644
--- a/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
+++ b/app/src/pages/onboarding/steps/RuntimeChoiceStep.tsx
@@ -27,14 +27,14 @@ const ACCENT_CLASSES: Record<
{ selected: string; dot: string; badge: string; highlight: string }
> = {
sage: {
- selected: '!border-sage-500 bg-sage-50 dark:bg-sage-500/10 shadow-sm',
+ selected: 'border-sage-500! bg-sage-50 dark:bg-sage-500/10 shadow-xs',
dot: 'bg-sage-500',
badge: 'bg-sage-500/10 text-sage-700 dark:text-sage-300',
highlight:
'border-sage-300 dark:border-sage-500/40 bg-sage-100 dark:bg-sage-500/20 text-sage-800 dark:text-sage-200',
},
primary: {
- selected: '!border-primary-500 bg-primary-50 dark:bg-primary-500/15 shadow-sm',
+ selected: 'border-primary-500! bg-primary-50 dark:bg-primary-500/15 shadow-xs',
dot: 'bg-primary-500',
badge: 'bg-primary-500/10 text-primary-600 dark:text-primary-300',
highlight:
@@ -60,10 +60,10 @@ const ChoiceCard = ({
onClick={onClick}
aria-pressed={selected}
data-testid={testId}
- className={`flex h-full w-full flex-col rounded-2xl border-2 p-5 text-left transition-colors focus:outline-none ${
+ className={`flex h-full w-full flex-col rounded-2xl border-2 p-5 text-left transition-colors focus:outline-hidden ${
selected
? accentClasses.selected
- : '!border-stone-200 dark:!border-neutral-700 bg-surface hover:!border-stone-300 dark:hover:!border-neutral-600 hover:bg-surface-hover'
+ : 'border-stone-200! dark:border-neutral-700! bg-surface hover:border-stone-300! dark:hover:border-neutral-600! hover:bg-surface-hover'
}`}>
<div className="flex items-start justify-between gap-3">
<h3 className="text-base font-semibold text-content">{title}</h3>
diff --git a/app/src/pages/onboarding/steps/SkillsStep.tsx b/app/src/pages/onboarding/steps/SkillsStep.tsx
index 6906672723..6c988ca5d2 100644
--- a/app/src/pages/onboarding/steps/SkillsStep.tsx
+++ b/app/src/pages/onboarding/steps/SkillsStep.tsx
@@ -123,7 +123,7 @@ const SkillsStep = ({ onNext, onBack: _onBack }: SkillsStepProps) => {
onClick={() => setActiveToolkit(gmailMeta)}
data-testid="onboarding-skills-gmail-button"
className="w-full flex items-center gap-3 rounded-xl border border-line-subtle bg-surface p-3 transition-colors hover:bg-surface-hover text-left">
- <div className="flex h-8 w-8 flex-shrink-0 items-center justify-center text-lg">
+ <div className="flex h-8 w-8 shrink-0 items-center justify-center text-lg">
{gmailMeta.icon}
</div>
@@ -135,9 +135,9 @@ const SkillsStep = ({ onNext, onBack: _onBack }: SkillsStepProps) => {
{statusLabel(gmailState, t) && (
<>
<div
- className={`h-1.5 w-1.5 flex-shrink-0 rounded-full ${statusDotClass(gmailConnection)}`}
+ className={`h-1.5 w-1.5 shrink-0 rounded-full ${statusDotClass(gmailConnection)}`}
/>
- <span className={`flex-shrink-0 text-xs ${statusColor(gmailState)}`}>
+ <span className={`shrink-0 text-xs ${statusColor(gmailState)}`}>
{statusLabel(gmailState, t)}
</span>
</>
@@ -149,7 +149,7 @@ const SkillsStep = ({ onNext, onBack: _onBack }: SkillsStepProps) => {
</div>
<span
- className={`flex-shrink-0 rounded-lg border px-3 py-1.5 text-[11px] font-medium transition-colors ${
+ className={`shrink-0 rounded-lg border px-3 py-1.5 text-[11px] font-medium transition-colors ${
gmailConnected
? 'border-sage-200 dark:border-sage-500/30 bg-sage-50 dark:bg-sage-500/10 text-sage-700 dark:text-sage-300'
: gmailState === 'pending'
diff --git a/app/src/pages/settings/voice/PttSettingsPanel.tsx b/app/src/pages/settings/voice/PttSettingsPanel.tsx
index 7af1ec246b..7f7efc9258 100644
--- a/app/src/pages/settings/voice/PttSettingsPanel.tsx
+++ b/app/src/pages/settings/voice/PttSettingsPanel.tsx
@@ -194,7 +194,7 @@ const PttSettingsPanel = () => {
aria-label={t('pttSettings.shortcutLabel')}
onKeyDown={handleShortcutKeyDown}
onFocus={() => setCaptureError(null)}
- className="w-full rounded-md border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder:text-neutral-400 dark:placeholder:text-neutral-500 focus:outline-none focus:ring-1 focus:ring-primary-400"
+ className="w-full rounded-md border border-line-strong bg-surface px-3 py-2 text-sm text-content placeholder:text-neutral-400 dark:placeholder:text-neutral-500 focus:outline-hidden focus:ring-1 focus:ring-primary-400"
/>
{!shortcut && !captureError && (
<p
diff --git a/app/tailwind.config.js b/app/tailwind.config.js
deleted file mode 100644
index b0e3765924..0000000000
--- a/app/tailwind.config.js
+++ /dev/null
@@ -1,390 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- darkMode: 'class',
- content: [
- "./src/index.html",
- "./src/**/*.{js,ts,jsx,tsx}",
- ],
- theme: {
- extend: {
- // Font roles — each maps to a CSS variable (defined in styles/tokens.css)
- // so themes can swap any role at runtime. The historical aliases
- // (sans/display) point at the matching role var for backwards compat.
- fontFamily: {
- 'body': ['var(--font-body)'],
- 'heading': ['var(--font-heading)'],
- 'title': ['var(--font-title)'],
- 'sans': ['var(--font-body)'],
- 'display': ['var(--font-title)'],
- 'mono': ['var(--font-mono)'],
- 'serif': ['var(--font-serif)'],
- },
-
- // Elevated color system - Clean, light, professional
- colors: {
- // Command surface tokens — scoped to the ⌘K palette / help overlay.
- // Expand this set only with intent; the full reskin design system
- // is a separate decision.
- 'cmd-surface': 'var(--cmd-surface)',
- 'cmd-surface-elevated': 'var(--cmd-surface-elevated)',
- 'cmd-foreground': 'var(--cmd-foreground)',
- 'cmd-foreground-muted': 'var(--cmd-foreground-muted)',
- 'cmd-border': 'var(--cmd-border)',
- 'cmd-ring': 'var(--cmd-ring)',
- 'cmd-accent': 'var(--cmd-accent)',
- 'cmd-overlay': 'var(--cmd-overlay)',
-
- // ── Semantic theme tokens (var-backed, themeable at runtime) ─────────
- // Backed by channel vars in styles/tokens.css via rgb(... / <alpha-value>)
- // so opacity modifiers (bg-surface/50) keep working. These are the
- // canonical surface/text/border names the app migrates onto.
- surface: {
- DEFAULT: 'rgb(var(--surface) / <alpha-value>)',
- canvas: 'rgb(var(--surface-canvas) / <alpha-value>)',
- muted: 'rgb(var(--surface-muted) / <alpha-value>)',
- subtle: 'rgb(var(--surface-subtle) / <alpha-value>)',
- strong: 'rgb(var(--surface-strong) / <alpha-value>)',
- hover: 'rgb(var(--surface-hover) / <alpha-value>)',
- overlay: 'rgb(var(--surface-overlay) / <alpha-value>)',
- chrome: 'rgb(var(--surface-chrome) / <alpha-value>)',
- },
- content: {
- DEFAULT: 'rgb(var(--content) / <alpha-value>)',
- secondary: 'rgb(var(--content-secondary) / <alpha-value>)',
- muted: 'rgb(var(--content-muted) / <alpha-value>)',
- faint: 'rgb(var(--content-faint) / <alpha-value>)',
- inverted: 'rgb(var(--content-inverted) / <alpha-value>)',
- },
- line: {
- DEFAULT: 'rgb(var(--line) / <alpha-value>)',
- strong: 'rgb(var(--line-strong) / <alpha-value>)',
- subtle: 'rgb(var(--line-subtle) / <alpha-value>)',
- chrome: 'rgb(var(--line-chrome) / <alpha-value>)',
- },
-
- // Neutral - Light theme grayscale (from Figma design tokens)
- neutral: {
- 0: '#FFFFFF', // Base / surface
- 50: '#FAFAFA',
- 100: '#F5F5F5', // App background
- 200: '#E5E5E5',
- 300: '#D4D4D4',
- 400: '#A3A3A3',
- 500: '#737373',
- 600: '#525252',
- 700: '#404040',
- 800: '#262626',
- 900: '#171717',
- 950: '#0A0A0A',
- },
-
- // Canvas - Background layers (mapped to neutral for compat)
- canvas: {
- 50: '#FAFAFA', // Base background
- 100: '#F5F5F5', // Secondary background
- 150: '#EFEFEF', // Tertiary background
- 200: '#E5E5E5', // Card background
- 300: '#D4D4D4', // Hover states
- },
-
- // Primary - Complementary blue from Figma. Var-backed (styles/tokens.css)
- // so the whole accent ramp is themeable without touching any classes.
- primary: {
- 50: 'rgb(var(--primary-50) / <alpha-value>)',
- 100: 'rgb(var(--primary-100) / <alpha-value>)',
- 200: 'rgb(var(--primary-200) / <alpha-value>)',
- 300: 'rgb(var(--primary-300) / <alpha-value>)',
- 400: 'rgb(var(--primary-400) / <alpha-value>)',
- 500: 'rgb(var(--primary-500) / <alpha-value>)',
- 600: 'rgb(var(--primary-600) / <alpha-value>)',
- 700: 'rgb(var(--primary-700) / <alpha-value>)',
- 800: 'rgb(var(--primary-800) / <alpha-value>)',
- 900: 'rgb(var(--primary-900) / <alpha-value>)',
- 950: 'rgb(var(--primary-950) / <alpha-value>)',
- },
-
- // Sage - Success (from Figma: #34C759)
- sage: {
- 50: 'rgb(var(--sage-50) / <alpha-value>)',
- 100: 'rgb(var(--sage-100) / <alpha-value>)',
- 200: 'rgb(var(--sage-200) / <alpha-value>)',
- 300: 'rgb(var(--sage-300) / <alpha-value>)',
- 400: 'rgb(var(--sage-400) / <alpha-value>)',
- 500: 'rgb(var(--sage-500) / <alpha-value>)',
- 600: 'rgb(var(--sage-600) / <alpha-value>)',
- 700: 'rgb(var(--sage-700) / <alpha-value>)',
- 800: 'rgb(var(--sage-800) / <alpha-value>)',
- 900: 'rgb(var(--sage-900) / <alpha-value>)',
- 950: 'rgb(var(--sage-950) / <alpha-value>)',
- },
-
- // Amber - Attention and caution (from Figma: #E8A728)
- amber: {
- 50: 'rgb(var(--amber-50) / <alpha-value>)',
- 100: 'rgb(var(--amber-100) / <alpha-value>)',
- 200: 'rgb(var(--amber-200) / <alpha-value>)',
- 300: 'rgb(var(--amber-300) / <alpha-value>)',
- 400: 'rgb(var(--amber-400) / <alpha-value>)',
- 500: 'rgb(var(--amber-500) / <alpha-value>)',
- 600: 'rgb(var(--amber-600) / <alpha-value>)',
- 700: 'rgb(var(--amber-700) / <alpha-value>)',
- 800: 'rgb(var(--amber-800) / <alpha-value>)',
- 900: 'rgb(var(--amber-900) / <alpha-value>)',
- 950: 'rgb(var(--amber-950) / <alpha-value>)',
- },
-
- // Coral - Errors and dangers (from Figma: #EF4444)
- coral: {
- 50: 'rgb(var(--coral-50) / <alpha-value>)',
- 100: 'rgb(var(--coral-100) / <alpha-value>)',
- 200: 'rgb(var(--coral-200) / <alpha-value>)',
- 300: 'rgb(var(--coral-300) / <alpha-value>)',
- 400: 'rgb(var(--coral-400) / <alpha-value>)',
- 500: 'rgb(var(--coral-500) / <alpha-value>)',
- 600: 'rgb(var(--coral-600) / <alpha-value>)',
- 700: 'rgb(var(--coral-700) / <alpha-value>)',
- 800: 'rgb(var(--coral-800) / <alpha-value>)',
- 900: 'rgb(var(--coral-900) / <alpha-value>)',
- 950: 'rgb(var(--coral-950) / <alpha-value>)',
- },
-
- // Stone - Neutral scale (keeping for backward compat, mapped to neutral)
- stone: {
- 50: '#FAFAFA',
- 100: '#F5F5F5',
- 200: '#E5E5E5',
- 300: '#D4D4D4',
- 400: '#A3A3A3',
- 500: '#737373',
- 600: '#525252',
- 700: '#404040',
- 800: '#262626',
- 900: '#171717',
- 950: '#0A0A0A',
- },
-
- // Slate - Cool grays for data and charts
- slate: {
- 50: '#F8FAFC',
- 100: '#F1F5F9',
- 200: '#E2E8F0',
- 300: '#CBD5E1',
- 400: '#94A3B8',
- 500: '#64748B',
- 600: '#475569',
- 700: '#334155',
- 800: '#1E293B',
- 900: '#0F172A',
- 950: '#020617',
- },
-
- // Market colors - For crypto specific UI
- market: {
- bullish: '#4DC46F', // Green for gains
- bearish: '#F56565', // Red for losses
- neutral: '#94A3B8', // Gray for no change
- bitcoin: '#F7931A', // Bitcoin orange
- ethereum: '#627EEA', // Ethereum purple
- stablecoin: '#5B9BF3', // Blue for stables
- },
-
- // Accent colors for special elements
- accent: {
- lavender: '#9B8AFB', // Premium features
- mint: '#6EE7B7', // Achievements
- sky: '#7DD3FC', // Notifications
- rose: '#FDA4AF', // Alerts
- gold: '#FCD34D', // Rewards
- }
- },
-
- // Refined spacing scale for elegant layouts
- spacing: {
- '4.5': '1.125rem',
- '13': '3.25rem',
- '15': '3.75rem',
- '17': '4.25rem',
- '18': '4.5rem',
- '22': '5.5rem',
- '30': '7.5rem',
- '34': '8.5rem',
- '42': '10.5rem',
- '68': '17rem',
- '76': '19rem',
- '84': '21rem',
- '88': '22rem',
- '92': '23rem',
- '128': '32rem',
- '144': '36rem',
- },
-
- // Sophisticated typography scale
- fontSize: {
- 'micro': ['0.625rem', { lineHeight: '0.75rem', letterSpacing: '0.02em' }],
- 'xs': ['0.75rem', { lineHeight: '1rem', letterSpacing: '0.01em' }],
- 'sm': ['0.875rem', { lineHeight: '1.25rem', letterSpacing: '0' }],
- 'base': ['1rem', { lineHeight: '1.5rem', letterSpacing: '-0.01em' }],
- 'lg': ['1.125rem', { lineHeight: '1.75rem', letterSpacing: '-0.01em' }],
- 'xl': ['1.25rem', { lineHeight: '1.875rem', letterSpacing: '-0.02em' }],
- '2xl': ['1.5rem', { lineHeight: '2rem', letterSpacing: '-0.02em' }],
- '3xl': ['1.875rem', { lineHeight: '2.25rem', letterSpacing: '-0.02em' }],
- '4xl': ['2.25rem', { lineHeight: '2.5rem', letterSpacing: '-0.03em' }],
- '5xl': ['3rem', { lineHeight: '3.5rem', letterSpacing: '-0.03em' }],
- '6xl': ['3.75rem', { lineHeight: '4rem', letterSpacing: '-0.04em' }],
- '7xl': ['4.5rem', { lineHeight: '4.75rem', letterSpacing: '-0.04em' }],
- },
-
- // Smooth border radius system
- borderRadius: {
- 'xs': '0.25rem',
- 'sm': '0.375rem',
- 'md': '0.5rem',
- 'lg': '0.625rem',
- 'xl': '0.75rem',
- '2xl': '1rem',
- '3xl': '1.25rem',
- '4xl': '1.5rem',
- '5xl': '2rem',
- },
-
- // Sophisticated shadow system for depth
- boxShadow: {
- 'glow': '0 0 20px rgba(91, 155, 243, 0.15)',
- 'glow-lg': '0 0 40px rgba(91, 155, 243, 0.2)',
- 'inner-glow': 'inset 0 0 20px rgba(91, 155, 243, 0.08)',
- 'subtle': '0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 3px 0 rgba(0, 0, 0, 0.04)',
- 'soft': '0 2px 8px -2px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.08)',
- 'medium': '0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.08)',
- 'large': '0 8px 24px -4px rgba(0, 0, 0, 0.10), 0 16px 32px -8px rgba(0, 0, 0, 0.10)',
- 'float': '0 12px 32px -8px rgba(0, 0, 0, 0.12), 0 24px 48px -12px rgba(0, 0, 0, 0.12)',
- 'crisp': '0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.08)',
- 'cmd-palette': 'var(--cmd-shadow-palette)',
- // Full four-sided, zero-blur inset seam for the routed content card.
- // The extra bottom inset is intentional: scroll/fade layers sit above
- // the lower edge in several pages, so it needs a little more contrast
- // than the general hairline to remain visibly closed.
- 'content-edge':
- 'inset 0 0 0 1px rgb(var(--line-chrome) / 0.45), inset 0 -1px 0 rgb(var(--line-chrome) / 0.7)',
- },
-
- // Premium animations for polished interactions
- animation: {
- // Was ALSO hand-written in index.css as `.animate-fade-in`, which shadowed
- // this one in the shipped bundle (verified in dist: `.2s ease-out forwards`).
- // The CSS copy is gone; these are its values, so the 8 call sites are unchanged.
- 'fade-in': 'fadeIn 0.2s ease-out forwards',
- 'fade-up': 'fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1)',
- // Entrance for a transform-CENTERED dialog. See `dialogIn` below for
- // why it cannot just use `fade-up`. 0.2s, not fade-up's 0.5s: the
- // dialog is now positioned correctly for the whole animation, so its
- // full duration is visible rather than something to sit through.
- 'dialog-in': 'dialogIn 0.2s cubic-bezier(0.4, 0, 0.2, 1)',
- 'slide-in': 'slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
- 'slide-right': 'slideRight 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)',
- 'scale-in': 'scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
- 'shimmer': 'shimmer 2s linear infinite',
- 'glow-pulse': 'glowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
- 'float': 'float 3s ease-in-out infinite',
- 'ticker': 'ticker 30s linear infinite',
- 'wiggle': 'wiggle 0.5s ease-in-out',
- },
-
- keyframes: {
- fadeIn: {
- '0%': { opacity: '0' },
- '100%': { opacity: '1' },
- },
- fadeUp: {
- '0%': { opacity: '0', transform: 'translateY(10px)' },
- '100%': { opacity: '1', transform: 'translateY(0)' },
- },
- /*
- * THE CENTERING OFFSET IS PART OF THE KEYFRAME, DELIBERATELY.
- *
- * `DialogContent` and `AlertDialogContent` center themselves with
- * `fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2`: the
- * inset puts their top-left corner at the viewport centre and the
- * transform pulls them back by half their own size.
- *
- * They used `fade-up`, whose keyframes set `transform: translateY(…)`.
- * An animated property REPLACES the same property from a normal
- * declaration for the animation's whole duration, so the utility
- * `-translate-x-1/2 -translate-y-1/2` was dropped the moment the
- * animation started: the dialog painted with its corner at the centre
- * (down and to the right), then snapped back when the animation
- * released it 0.5s later.
- *
- * So a dialog's entrance keyframe has to carry the centering itself.
- * The 100% frame is exactly the utility transform, so nothing moves
- * when the animation ends and hands the element back.
- */
- dialogIn: {
- '0%': { opacity: '0', transform: 'translate(-50%, calc(-50% + 10px))' },
- '100%': { opacity: '1', transform: 'translate(-50%, -50%)' },
- },
- slideIn: {
- '0%': { transform: 'translateX(-100%)' },
- '100%': { transform: 'translateX(0)' },
- },
- slideRight: {
- '0%': { opacity: '0', transform: 'translateX(100%)' },
- '100%': { opacity: '1', transform: 'translateX(0)' },
- },
- scaleIn: {
- '0%': { transform: 'scale(0.95)', opacity: '0' },
- '100%': { transform: 'scale(1)', opacity: '1' },
- },
- shimmer: {
- '0%': { backgroundPosition: '-200% 0' },
- '100%': { backgroundPosition: '200% 0' },
- },
- glowPulse: {
- '0%, 100%': { opacity: '1' },
- '50%': { opacity: '0.5' },
- },
- float: {
- '0%, 100%': { transform: 'translateY(0)' },
- '50%': { transform: 'translateY(-10px)' },
- },
- ticker: {
- '0%': { transform: 'translateX(0)' },
- '100%': { transform: 'translateX(-50%)' },
- },
- wiggle: {
- '0%, 100%': { transform: 'rotate(0deg)' },
- '25%': { transform: 'rotate(-9deg)' },
- '75%': { transform: 'rotate(9deg)' },
- },
- },
-
- // Backdrop blur for glass morphism
- backdropBlur: {
- 'xs': '2px',
- 'sm': '4px',
- 'md': '8px',
- 'lg': '12px',
- 'xl': '16px',
- '2xl': '24px',
- '3xl': '40px',
- },
-
- // Background patterns and gradients
- backgroundImage: {
- 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
- 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
- 'gradient-mesh': 'linear-gradient(to right, #5B9BF3 0%, #9B8AFB 25%, #6EE7B7 50%, #7DD3FC 75%, #5B9BF3 100%)',
- 'noise': "url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"100\"%3E%3Cfilter id=\"noise\"%3E%3CfeTurbulence type=\"fractalNoise\" baseFrequency=\"0.9\" numOctaves=\"4\" /%3E%3C/filter%3E%3Crect width=\"100\" height=\"100\" filter=\"url(%23noise)\" opacity=\"0.03\" /%3E%3C/svg%3E')",
- },
-
- // Extended transition duration for smooth animations
- transitionDuration: {
- '300': '300ms',
- '400': '400ms',
- },
- },
- },
- plugins: [
- require('@tailwindcss/forms'),
- require('@tailwindcss/typography'),
- ],
-};
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1ef66f210e..c332350dcf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -216,10 +216,13 @@ importers:
version: 2.23.1
'@tailwindcss/forms':
specifier: ^0.5.11
+ version: 0.5.11([email protected])
+ '@tailwindcss/postcss':
+ specifier: ^4.3.3
+ version: 4.3.3
'@tailwindcss/typography':
specifier: ^0.5.19
+ version: 0.5.19([email protected])
'@tauri-apps/cli':
specifier: 2.11.4
version: 2.11.4
@@ -261,13 +264,13 @@ importers:
version: 3.0.13
'@typescript-eslint/eslint-plugin':
specifier: ^8.54.0
'@typescript-eslint/parser':
specifier: ^8.54.0
'@vitejs/plugin-react':
specifier: ^6.0.1
'@vitest/coverage-v8':
specifier: ^4.0.18
version: 4.1.5([email protected])
@@ -292,27 +295,24 @@ importers:
'@wdio/types':
specifier: ^9.24.0
version: 9.27.0
- autoprefixer:
- specifier: ^10.4.23
- version: 10.5.0([email protected])
cross-env:
specifier: ^10.1.0
version: 10.1.0
eslint:
specifier: ^9.39.2
- version: 9.39.4([email protected])
+ version: 9.39.4([email protected])
eslint-config-prettier:
specifier: ^10.1.8
eslint-plugin-import:
specifier: ^2.32.0
eslint-plugin-react:
specifier: ^7.37.5
eslint-plugin-react-hooks:
specifier: ^7.0.1
husky:
specifier: ^9.1.7
version: 9.1.7
@@ -335,20 +335,20 @@ importers:
specifier: ^3.0.6
version: 3.0.6
tailwindcss:
- specifier: ^3.4.19
+ specifier: ^4.3.3
+ version: 4.3.3
typescript:
specifier: ~5.8.3
version: 5.8.3
vite:
specifier: ^8.0.0
vite-plugin-node-polyfills:
specifier: ^0.26.0
vitest:
specifier: ^4.0.18
webdriverio:
specifier: ^9.24.0
version: 9.27.0
@@ -1067,18 +1067,6 @@ packages:
'@nodable/[email protected]':
resolution: {integrity: sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==}
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
- engines: {node: '>= 8'}
-
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
- engines: {node: '>= 8'}
-
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
- engines: {node: '>= 8'}
-
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-0LC7ye4hvqbIKxAzThzvswgHLFu2AURKzYLeSVvLdu2TBOYWQDmHnTqPLeA597BcUCxiLqLsS4CJ5uoI5WYWCQ==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -2444,6 +2432,94 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1'
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==}
+ engines: {node: '>= 20'}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg==}
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-w31dd8HOx3k9vPtcQh5QHP9GwKcgbMp87j58qi6xgiBnFFtKEAgCWnDw4qUT8aHwkCp8bKvb/KGKWWHedP0AAg==}
peerDependencies:
@@ -3024,9 +3100,6 @@ packages:
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
-
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
@@ -3039,9 +3112,6 @@ packages:
resolution: {integrity: sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==}
engines: {node: '>= 14'}
- resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
-
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -3130,13 +3200,6 @@ packages:
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
- resolution: {integrity: sha512-FMhOoZV4+qR6aTUALKX2rEqGG+oyATvwBt9IIzVR5rMa2HRWPkxf+P+PAJLD1I/H5/II+HuZcBJYEFBpq39ong==}
- engines: {node: ^10 || ^12 || >=14}
- hasBin: true
- peerDependencies:
- postcss: ^8.1.0
-
resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
engines: {node: '>= 0.4'}
@@ -3322,10 +3385,6 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
engines: {node: '>=10'}
@@ -3440,10 +3499,6 @@ packages:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
engines: {node: '>= 12'}
@@ -3721,9 +3776,6 @@ packages:
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
-
resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -3739,9 +3791,6 @@ packages:
resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==}
- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
-
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
@@ -3832,6 +3881,10 @@ packages:
resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==}
engines: {node: '>=10.0.0'}
+ resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==}
+ engines: {node: '>=10.13.0'}
+
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
engines: {node: '>=0.12'}
@@ -4090,10 +4143,6 @@ packages:
resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==}
- resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
- engines: {node: '>=8.6.0'}
-
resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
@@ -4107,9 +4156,6 @@ packages:
resolution: {integrity: sha512-8Cc3f8GUGUULg34pBch/KGyPLglS+OFs05deyOlY7fL2MTagYPKrVQNmR1fLF/yJ9PH5ZSTd3YDF6pnmeZU+zA==}
hasBin: true
- resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==}
-
resolution: {integrity: sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ==}
@@ -4175,9 +4221,6 @@ packages:
engines: {node: '>=18.3.0'}
hasBin: true
- resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}
-
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
@@ -4749,14 +4792,14 @@ packages:
resolution: {integrity: sha512-/jZDa00a3Sz7rdyu55NLrQCIrbyIkbBxareejQI315f/i8HjYN+ZWsDLLpoQSiUIEIyZF/R8fDg3BmB8AtHttg==}
engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
- resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==}
- hasBin: true
-
resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
hasBin: true
+ resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}
+ hasBin: true
+
resolution: {integrity: sha512-Bsdjwm3Qsd/P0jR+BHDe3LytDfY7WBq2HmCCLIwuVRHMuEC9ae7/R474GIUdF1NgCyZjzVo/A9DOiOBtXq8ZoQ==}
@@ -4909,13 +4952,6 @@ packages:
resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
engines: {node: '>= 12.0.0'}
- resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
- engines: {node: '>=14'}
-
- resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
-
resolution: {integrity: sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -5079,10 +5115,6 @@ packages:
resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}
- resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
- engines: {node: '>= 8'}
-
resolution: {integrity: sha512-Vix+QlA1YYT3FwmBBZ+49cE5y/b+pRrcXKqGpS5ouh33d3lSp2PoTpCw19E0cKDFWalembrHnIaZetf27a+W2g==}
@@ -5173,10 +5205,6 @@ packages:
resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==}
- resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
- engines: {node: '>=8.6'}
-
resolution: {integrity: sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==}
hasBin: true
@@ -5244,14 +5272,16 @@ packages:
resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==}
engines: {node: ^18.17.0 || >=20.5.0}
- resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
-
resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
+ resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
resolution: {integrity: sha512-3wVS3i51pE2pi1k5FFL/95BGfVS0kSsvDVuGXHOtxox/TywUmtgq+3qiTOTbs9J7KfHaXPiN171k/A6dBnaXFw==}
engines: {node: ^22 || ^24 || >=26}
@@ -5307,10 +5337,6 @@ packages:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -5491,14 +5517,6 @@ packages:
resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
- engines: {node: '>=0.10.0'}
-
- resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-6LUPWYgulZhp/w4kam2XHXB0QedISZIqrJbRdHLLQ3csn5a38uzKxAp6B5j6s89QFYaIJbg95kvgTRcbgpO1ow==}
@@ -5520,57 +5538,18 @@ packages:
resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- postcss: ^8.0.0
-
- resolution: {integrity: sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==}
- engines: {node: ^12 || ^14 || >= 16}
- peerDependencies:
- postcss: ^8.4.21
-
- resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
- engines: {node: '>= 18'}
- peerDependencies:
- jiti: '>=1.21.0'
- postcss: '>=8.0.9'
- tsx: ^4.8.1
- yaml: ^2.4.2
- peerDependenciesMeta:
- jiti:
- optional: true
- postcss:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
- resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
-
resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
- engines: {node: '>=4'}
-
- resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
-
resolution: {integrity: sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==}
engines: {node: ^10 || ^12 || >=14}
+ resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==}
+ engines: {node: ^10 || ^12 || >=14}
+
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
@@ -5649,9 +5628,6 @@ packages:
resolution: {integrity: sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==}
engines: {node: '>=0.4.x'}
- resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
-
resolution: {integrity: sha512-QBdhh1arIEUvPC0dQ5+nwWAxt7+N+oP/9jPwjJkGFoSk/sqxg32gJtSXGtFh8frAIcS6oC9cx2Q+7KYCQLOAeA==}
peerDependencies:
@@ -5789,9 +5765,6 @@ packages:
resolution: {integrity: sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
-
resolution: {integrity: sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==}
engines: {node: '>=16'}
@@ -5925,10 +5898,6 @@ packages:
resolution: {integrity: sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
- engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
-
resolution: {integrity: sha512-22MOP1Rh7sAo1BZpDG6R5RFYzR2lYEgwq7HEmyW2qcsOqR2lQKmn+O//xV3YG/0rrhMC6KVX2hU+ZXuaw9a5bw==}
@@ -5950,9 +5919,6 @@ packages:
resolution: {integrity: sha512-IoDlSLTs3Yq593mb3ZoKWKXMNu3UpObxhgA/Xuid5p4bbfi2jdY1Hj0m1K+0/tEuQTxIGMhQDqGjKb7RuxGpAQ==}
engines: {node: '>=0.12.0'}
- resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
-
resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
@@ -6242,11 +6208,6 @@ packages:
resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}
- resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==}
- engines: {node: '>=16 || 14 >=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
@@ -6265,10 +6226,12 @@ packages:
resolution: {integrity: sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==}
- resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==}
- engines: {node: '>=14.0.0'}
- hasBin: true
+ resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}
+
+ resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
+ engines: {node: '>=6'}
resolution: {integrity: sha512-QGxxTxxyleAdyM3kpFs14ymbYmNFrfY+pHj7Z8FgtbZ7w2//VAgLMac7sT6nRpIHjppXO2AwwEOg0bPFVRcmXw==}
@@ -6287,13 +6250,6 @@ packages:
resolution: {integrity: sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==}
- resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
- engines: {node: '>=0.8'}
-
- resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
-
resolution: {integrity: sha512-di3BsL2FEQ1PA7Hcvn4fyJOlxRRgFYBpMTcyOgkwJIaDOdJMebEFPA+t98EvjuljDx4hNulAGwF6KIjtwI5jgQ==}
@@ -6372,9 +6328,6 @@ packages:
resolution: {integrity: sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg==}
- resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
-
resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
@@ -7296,9 +7249,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
dependencies:
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
@@ -7614,18 +7567,6 @@ snapshots:
'@nodable/[email protected]': {}
- '@nodelib/[email protected]':
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- run-parallel: 1.2.0
-
- '@nodelib/[email protected]': {}
-
- '@nodelib/[email protected]':
- dependencies:
- '@nodelib/fs.scandir': 2.1.5
- fastq: 1.20.1
-
'@oxc-parser/[email protected]':
optional: true
@@ -8857,15 +8798,84 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
mini-svg-data-uri: 1.4.4
- tailwindcss: 3.4.19([email protected])([email protected])
+ tailwindcss: 4.3.3
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.24.5
+ jiti: 2.7.0
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.1
+ tailwindcss: 4.3.3
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-x64': 4.3.3
+ '@tailwindcss/oxide-freebsd-x64': 4.3.3
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-musl': 4.3.3
+ '@tailwindcss/oxide-linux-x64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-x64-musl': 4.3.3
+ '@tailwindcss/oxide-wasm32-wasi': 4.3.3
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3
+ '@tailwindcss/oxide-win32-x64-msvc': 4.3.3
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@alloc/quick-lru': 5.2.0
+ '@tailwindcss/node': 4.3.3
+ '@tailwindcss/oxide': 4.3.3
+ postcss: 8.5.26
+ tailwindcss: 4.3.3
+
dependencies:
postcss-selector-parser: 6.0.10
- tailwindcss: 3.4.19([email protected])([email protected])
+ tailwindcss: 4.3.3
'@tauri-apps/[email protected]': {}
@@ -9154,15 +9164,15 @@ snapshots:
'@types/node': 25.6.0
optional: true
dependencies:
'@eslint-community/regexpp': 4.12.2
- '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
'@typescript-eslint/scope-manager': 8.59.0
- '@typescript-eslint/type-utils': 8.59.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
'@typescript-eslint/visitor-keys': 8.59.0
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
ignore: 7.0.5
natural-compare: 1.4.0
ts-api-utils: 2.5.0([email protected])
@@ -9170,14 +9180,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.59.0
'@typescript-eslint/types': 8.59.0
'@typescript-eslint/typescript-estree': 8.59.0([email protected])
'@typescript-eslint/visitor-keys': 8.59.0
debug: 4.4.3([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -9200,13 +9210,13 @@ snapshots:
dependencies:
typescript: 5.8.3
dependencies:
'@typescript-eslint/types': 8.59.0
'@typescript-eslint/typescript-estree': 8.59.0([email protected])
- '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
debug: 4.4.3([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
ts-api-utils: 2.5.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
@@ -9229,13 +9239,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.59.0
'@typescript-eslint/types': 8.59.0
'@typescript-eslint/typescript-estree': 8.59.0([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -9247,10 +9257,10 @@ snapshots:
'@ungap/[email protected]': {}
dependencies:
'@rolldown/pluginutils': 1.0.0-rc.7
dependencies:
@@ -9264,7 +9274,7 @@ snapshots:
obug: 2.1.1
std-env: 4.1.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -9275,13 +9285,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.5
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -9588,8 +9598,6 @@ snapshots:
-
dependencies:
normalize-path: 3.0.0
@@ -9619,8 +9627,6 @@ snapshots:
- bare-buffer
- react-native-b4a
-
@@ -9745,15 +9751,6 @@ snapshots:
- dependencies:
- browserslist: 4.28.2
- caniuse-lite: 1.0.30001790
- fraction.js: 5.3.4
- picocolors: 1.1.1
- postcss: 8.5.10
- postcss-value-parser: 4.2.0
-
dependencies:
possible-typed-array-names: 1.1.0
@@ -9937,8 +9934,6 @@ snapshots:
-
@@ -10065,8 +10060,6 @@ snapshots:
optional: true
-
@@ -10365,8 +10358,6 @@ snapshots:
dependencies:
dequal: 2.0.3
-
@@ -10379,8 +10370,6 @@ snapshots:
miller-rabin: 4.0.1
randombytes: 2.1.0
-
dependencies:
esutils: 2.0.3
@@ -10495,6 +10484,11 @@ snapshots:
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.3.3
+
@@ -10655,9 +10649,9 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
dependencies:
@@ -10667,17 +10661,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
- eslint: 9.39.4([email protected])
+ '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
+ eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
transitivePeerDependencies:
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -10686,9 +10680,9 @@ snapshots:
array.prototype.flatmap: 1.3.3
debug: 3.2.7
doctrine: 2.1.0
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.3
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -10700,24 +10694,24 @@ snapshots:
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@babel/core': 7.29.0
'@babel/parser': 7.29.2
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
hermes-parser: 0.25.1
zod: 4.3.6
zod-validation-error: 4.0.2([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
array-includes: 3.1.9
array.prototype.findlast: 1.2.5
@@ -10725,7 +10719,7 @@ snapshots:
array.prototype.tosorted: 1.1.4
doctrine: 2.1.0
es-iterator-helpers: 1.3.2
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
estraverse: 5.3.0
hasown: 2.0.3
jsx-ast-utils: 3.3.5
@@ -10750,9 +10744,9 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.2
'@eslint/config-array': 0.21.2
'@eslint/config-helpers': 0.4.2
@@ -10787,7 +10781,7 @@ snapshots:
natural-compare: 1.4.0
optionator: 0.9.4
optionalDependencies:
- jiti: 1.21.7
+ jiti: 2.7.0
transitivePeerDependencies:
- supports-color
@@ -10896,14 +10890,6 @@ snapshots:
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- '@nodelib/fs.walk': 1.2.8
- glob-parent: 5.1.2
- merge2: 1.4.1
- micromatch: 4.0.8
-
@@ -10919,10 +10905,6 @@ snapshots:
path-expression-matcher: 1.5.0
strnum: 2.2.3
- dependencies:
- reusify: 1.1.0
-
dependencies:
walk-up-path: 4.0.0
@@ -10985,8 +10967,6 @@ snapshots:
dependencies:
fd-package-json: 2.0.0
-
@@ -11639,10 +11619,10 @@ snapshots:
graceful-fs: 4.2.11
picomatch: 4.0.4
-
+
@@ -11802,10 +11782,6 @@ snapshots:
lightningcss-win32-arm64-msvc: 1.32.0
lightningcss-win32-x64-msvc: 1.32.0
-
-
@@ -12084,8 +12060,6 @@ snapshots:
-
@@ -12289,11 +12263,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- braces: 3.0.3
- picomatch: 2.3.2
-
dependencies:
bn.js: 4.12.3
@@ -12364,14 +12333,10 @@ snapshots:
- dependencies:
- any-promise: 1.3.0
- object-assign: 4.1.1
- thenify-all: 1.6.0
-
+
@@ -12446,8 +12411,6 @@ snapshots:
-
@@ -12702,10 +12665,6 @@ snapshots:
-
-
dependencies:
'@pixi/colord': 2.9.6
@@ -12733,50 +12692,23 @@ snapshots:
- dependencies:
- postcss: 8.5.10
- postcss-value-parser: 4.2.0
- read-cache: 1.0.0
- resolve: 1.22.12
-
- dependencies:
- camelcase-css: 2.0.1
- postcss: 8.5.10
-
- dependencies:
- lilconfig: 3.1.3
- optionalDependencies:
- jiti: 1.21.7
- postcss: 8.5.10
- tsx: 4.21.0
- yaml: 2.8.3
-
- dependencies:
- postcss: 8.5.10
- postcss-selector-parser: 6.1.2
-
dependencies:
cssesc: 3.0.0
util-deprecate: 1.0.2
- dependencies:
- cssesc: 3.0.0
- util-deprecate: 1.0.2
-
-
dependencies:
nanoid: 3.3.11
picocolors: 1.1.1
source-map-js: 1.2.1
+ dependencies:
+ nanoid: 3.3.18
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+
@@ -12862,8 +12794,6 @@ snapshots:
-
dependencies:
'@radix-ui/primitive': 1.1.7
@@ -13069,10 +12999,6 @@ snapshots:
- dependencies:
- pify: 2.3.0
-
dependencies:
find-up: 6.3.0
@@ -13275,8 +13201,6 @@ snapshots:
-
@@ -13339,10 +13263,6 @@ snapshots:
- dependencies:
- queue-microtask: 1.2.3
-
dependencies:
tslib: 2.8.1
@@ -13681,16 +13601,6 @@ snapshots:
dependencies:
inline-style-parser: 0.2.7
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- commander: 4.1.1
- lines-and-columns: 1.2.4
- mz: 2.7.0
- pirates: 4.0.7
- tinyglobby: 0.2.16
- ts-interface-checker: 0.1.13
-
dependencies:
has-flag: 4.0.0
@@ -13705,33 +13615,9 @@ snapshots:
- dependencies:
- '@alloc/quick-lru': 5.2.0
- arg: 5.0.2
- chokidar: 3.6.0
- didyoumean: 1.2.2
- dlv: 1.1.3
- fast-glob: 3.3.3
- glob-parent: 6.0.2
- is-glob: 4.0.3
- jiti: 1.21.7
- lilconfig: 3.1.3
- micromatch: 4.0.8
- normalize-path: 3.0.0
- object-hash: 3.0.0
- picocolors: 1.1.1
- postcss: 8.5.10
- postcss-import: 15.1.0([email protected])
- postcss-js: 4.1.0([email protected])
- postcss-nested: 6.2.0([email protected])
- postcss-selector-parser: 6.1.2
- resolve: 1.22.12
- sucrase: 3.35.1
- transitivePeerDependencies:
- - tsx
- - yaml
+
dependencies:
@@ -13777,14 +13663,6 @@ snapshots:
transitivePeerDependencies:
- react-native-b4a
- dependencies:
- thenify: 3.3.1
-
- dependencies:
- any-promise: 1.3.0
-
@@ -13846,8 +13724,6 @@ snapshots:
-
dependencies:
'@types/json5': 0.0.29
@@ -14088,15 +13964,15 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
dependencies:
'@rollup/plugin-inject': 5.0.5([email protected])
node-stdlib-browser: 1.3.1
transitivePeerDependencies:
- rollup
dependencies:
lightningcss: 1.32.0
picomatch: 4.0.4
@@ -14107,15 +13983,15 @@ snapshots:
'@types/node': 25.6.0
esbuild: 0.27.7
fsevents: 2.3.3
- jiti: 1.21.7
+ jiti: 2.7.0
terser: 5.46.2
tsx: 4.21.0
yaml: 2.8.3
dependencies:
'@vitest/expect': 4.1.5
'@vitest/pretty-format': 4.1.5
'@vitest/runner': 4.1.5
'@vitest/snapshot': 4.1.5
@@ -14132,7 +14008,7 @@ snapshots:
tinyexec: 1.1.1
tinyglobby: 0.2.16
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 25.6.0