diff --git a/package.json b/package.json index 3a0aa17b3..f551996ca 100644 --- a/package.json +++ b/package.json @@ -170,6 +170,9 @@ "nextra": "patches/nextra.patch", "nextra-theme-docs": "patches/nextra-theme-docs.patch", "@graphql-codegen/schema-ast": "patches/@graphql-codegen__schema-ast.patch" - } + }, + "onlyBuiltDependencies": [ + "msw" + ] } } diff --git a/packages/web/app/src/components/navigation/header.tsx b/packages/web/app/src/components/navigation/header.tsx index 5bc812a48..4ebde4d58 100644 --- a/packages/web/app/src/components/navigation/header.tsx +++ b/packages/web/app/src/components/navigation/header.tsx @@ -4,7 +4,7 @@ type HeaderProps = { export function Header({ children }: HeaderProps) { return ( -
+
{children}
); diff --git a/packages/web/app/src/components/navigation/secondary-navigation.tsx b/packages/web/app/src/components/navigation/secondary-navigation.tsx index 23816fa04..6f6d23797 100644 --- a/packages/web/app/src/components/navigation/secondary-navigation.tsx +++ b/packages/web/app/src/components/navigation/secondary-navigation.tsx @@ -4,7 +4,7 @@ type SecondaryNavigationProps = { export function SecondaryNavigation({ children }: SecondaryNavigationProps) { return ( -
+
{children}
); diff --git a/packages/web/app/src/components/target/history/errors-and-changes.tsx b/packages/web/app/src/components/target/history/errors-and-changes.tsx index b72aceac0..a6bb066cd 100644 --- a/packages/web/app/src/components/target/history/errors-and-changes.tsx +++ b/packages/web/app/src/components/target/history/errors-and-changes.tsx @@ -155,7 +155,7 @@ export function ChangesBlock( ): ReactElement | null { return (
-

{props.title}

+

{props.title}

{props.changesWithUsage?.map((change, key) => ( (({ className, ...props }, ref) => ( )); diff --git a/packages/web/app/src/components/ui/popover.tsx b/packages/web/app/src/components/ui/popover.tsx index f606b7654..b5a2fb47e 100644 --- a/packages/web/app/src/components/ui/popover.tsx +++ b/packages/web/app/src/components/ui/popover.tsx @@ -16,7 +16,7 @@ const PopoverContent = React.forwardRef< align={align} sideOffset={sideOffset} className={cn( - 'bg-neutral-4 border-neutral-5 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 z-50 w-72 rounded-md border p-4 shadow-md outline-none', + 'bg-neutral-1 border-neutral-4 dark:bg-neutral-4 dark:border-neutral-5 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 z-50 w-72 rounded-md border p-4 shadow-md outline-none', className, )} {...props} @@ -29,7 +29,22 @@ const PopoverArrow = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( - + + + + + + )); PopoverArrow.displayName = PopoverPrimitive.Arrow.displayName; diff --git a/packages/web/app/src/components/ui/select.tsx b/packages/web/app/src/components/ui/select.tsx index 5f1751b7c..50c4701fc 100644 --- a/packages/web/app/src/components/ui/select.tsx +++ b/packages/web/app/src/components/ui/select.tsx @@ -16,7 +16,7 @@ const selectVariants = cva( variants: { variant: { default: - 'hover:text-neutral-12 text-neutral-11 hover:bg-neutral-5 bg-neutral-4 hover:border-neutral-6 border-neutral-5 border ring-offset-neutral-2 placeholder:text-neutral-10 focus:outline-none focus:ring-1 focus:ring-ring focus:ring-offset-1', + 'hover:text-neutral-12 text-neutral-11 hover:bg-neutral-3 dark:hover:bg-neutral-5 bg-neutral-2 dark:bg-neutral-4 hover:border-neutral-6 border-neutral-5 border ring-offset-neutral-2 placeholder:text-neutral-10 focus:outline-none focus:ring-1 focus:ring-ring focus:ring-offset-1', ghost: '', }, }, @@ -54,7 +54,7 @@ const SelectContent = React.forwardRef< Profile settings - <> - - - + + diff --git a/packages/web/app/src/index.css b/packages/web/app/src/index.css index 38903909a..129d7990d 100644 --- a/packages/web/app/src/index.css +++ b/packages/web/app/src/index.css @@ -295,13 +295,9 @@ @apply border-neutral-5; } - #root { - background-color: var(--color-neutral-2); - color: var(--color-neutral-11); - } - + #root, body { - @apply text-neutral-11 bg-neutral-2; + @apply text-neutral-11 dark:bg-neutral-2 bg-neutral-3; } button, diff --git a/packages/web/app/src/laboratory/components/ui/tabs.tsx b/packages/web/app/src/laboratory/components/ui/tabs.tsx index 6925edcb4..bccd540eb 100644 --- a/packages/web/app/src/laboratory/components/ui/tabs.tsx +++ b/packages/web/app/src/laboratory/components/ui/tabs.tsx @@ -16,7 +16,7 @@ function TabsList({ className, ...props }: React.ComponentProps ) : (
-
+
diff --git a/packages/web/app/src/pages/organization-members.tsx b/packages/web/app/src/pages/organization-members.tsx index f64f09cce..e0dd9ab7a 100644 --- a/packages/web/app/src/pages/organization-members.tsx +++ b/packages/web/app/src/pages/organization-members.tsx @@ -79,7 +79,7 @@ function PageContent(props: { variant="ghost" className={cn( props.page === subPage.key - ? 'bg-neutral-3 hover:bg-neutral-3' + ? 'bg-neutral-4 hover:bg-neutral-4 dark:bg-neutral-3 dark:hover:bg-neutral-3' : 'hover:bg-transparent hover:underline', 'justify-start', )} diff --git a/packages/web/app/src/pages/organization-subscription-manage.tsx b/packages/web/app/src/pages/organization-subscription-manage.tsx index 44b2d8cfd..d3f595c5d 100644 --- a/packages/web/app/src/pages/organization-subscription-manage.tsx +++ b/packages/web/app/src/pages/organization-subscription-manage.tsx @@ -333,7 +333,7 @@ function Inner(props: { Choose Your Plan {missingBillingUpdatePermissions ? ( -
+
You lack the necessary permission 'billing:update' to update the subscription plan.
) : null} diff --git a/packages/web/app/src/pages/organization.tsx b/packages/web/app/src/pages/organization.tsx index c44243705..cee431b4c 100644 --- a/packages/web/app/src/pages/organization.tsx +++ b/packages/web/app/src/pages/organization.tsx @@ -415,12 +415,12 @@ function OrganizationPageContent( placeholder="Search..." defaultValue={props.search} onChange={onSearchChange} - className="bg-neutral-3 w-full rounded-lg pl-8 md:w-[200px] lg:w-[336px]" + className="dark:bg-neutral-3 bg-neutral-2 w-full rounded-lg pl-8 md:w-[200px] lg:w-[336px]" />