diff --git a/apps/compliance-portal/src/components/LocaleMismatchCallout/LocaleMismatchCallout.tsx b/apps/compliance-portal/src/components/LocaleMismatchCallout/LocaleMismatchCallout.tsx index da5789037..4b6b29861 100644 --- a/apps/compliance-portal/src/components/LocaleMismatchCallout/LocaleMismatchCallout.tsx +++ b/apps/compliance-portal/src/components/LocaleMismatchCallout/LocaleMismatchCallout.tsx @@ -109,61 +109,63 @@ export function LocaleMismatchCallout({ identityKey }: LocaleMismatchCalloutProp return ( ); diff --git a/apps/compliance-portal/src/components/LocaleMismatchCallout/variants.ts b/apps/compliance-portal/src/components/LocaleMismatchCallout/variants.ts index 21a4e92db..4c2c20a54 100644 --- a/apps/compliance-portal/src/components/LocaleMismatchCallout/variants.ts +++ b/apps/compliance-portal/src/components/LocaleMismatchCallout/variants.ts @@ -21,12 +21,16 @@ import { tv } from "tailwind-variants/lite"; // Full-bleed locale-mismatch banner under the TopBar: message row + actions, -// stacking on small screens. +// stacking on small screens. Sky (info) so it reads apart from the amber +// unsigned-NDA callout when both are visible. Content column matches TopBar / +// page layout (px-8 + centered max-w-5xl). export const localeMismatchCallout = tv({ slots: { - root: "flex w-full items-center gap-3 bg-gold-3 px-8 py-2.5 max-md:flex-col max-md:items-stretch max-md:gap-3 max-md:px-4 max-md:py-3", + root: "w-full bg-sky-3 px-8 py-2.5 max-md:px-4 max-md:py-3", + inner: + "mx-auto flex w-full max-w-5xl items-center gap-3 max-md:flex-col max-md:items-stretch max-md:gap-3", content: "flex min-w-0 flex-1 items-start gap-2", - icon: "mt-0.5 size-4 shrink-0 text-gold-11", + icon: "mt-0.5 size-4 shrink-0 text-sky-11", message: "min-w-0 flex-1", dismissMobile: "md:hidden", actions: "flex shrink-0 items-center gap-2 max-md:flex-col max-md:items-stretch", diff --git a/apps/compliance-portal/src/components/UnsignedNDACallout/UnsignedNDACallout.tsx b/apps/compliance-portal/src/components/UnsignedNDACallout/UnsignedNDACallout.tsx index 21a25f62f..6990a2f5c 100644 --- a/apps/compliance-portal/src/components/UnsignedNDACallout/UnsignedNDACallout.tsx +++ b/apps/compliance-portal/src/components/UnsignedNDACallout/UnsignedNDACallout.tsx @@ -66,42 +66,44 @@ export function UnsignedNDACallout({ compliancePortalKey }: UnsignedNDACalloutPr return ( ); diff --git a/apps/compliance-portal/src/components/UnsignedNDACallout/variants.ts b/apps/compliance-portal/src/components/UnsignedNDACallout/variants.ts index d51a0dfb6..28058f986 100644 --- a/apps/compliance-portal/src/components/UnsignedNDACallout/variants.ts +++ b/apps/compliance-portal/src/components/UnsignedNDACallout/variants.ts @@ -21,12 +21,16 @@ import { tv } from "tailwind-variants/lite"; // Full-bleed unsigned-NDA banner under the TopBar: message row + CTA/dismiss, -// stacking on small screens like the locale-mismatch callout. +// stacking on small screens. Amber (warning) so it reads apart from the sky +// locale-mismatch callout when both are visible. Content column matches TopBar / +// page layout (px-8 + centered max-w-5xl). export const unsignedNDACallout = tv({ slots: { - root: "flex w-full items-center gap-3 bg-gold-3 px-8 py-2.5 max-md:flex-col max-md:items-stretch max-md:gap-3 max-md:px-4 max-md:py-3", + root: "w-full bg-amber-3 px-8 py-2.5 max-md:px-4 max-md:py-3", + inner: + "mx-auto flex w-full max-w-5xl items-center gap-3 max-md:flex-col max-md:items-stretch max-md:gap-3", content: "flex min-w-0 flex-1 items-start gap-2", - icon: "mt-0.5 size-4 shrink-0 text-gold-11", + icon: "mt-0.5 size-4 shrink-0 text-amber-11", message: "min-w-0 flex-1", dismissMobile: "md:hidden", actions: "flex shrink-0 items-center gap-2 max-md:flex-col max-md:items-stretch",